DRAGON: Robust Classification for Very Large Collections of Software Repositories

Fuente: arXiv
Guardado en:
Detalles Bibliográficos
Autores principales: Balla, Stefano, Zacchiroli, Stefano, Degueule, Thomas, Falleri, Jean-Rémy, Robbes, Romain
Formato: Preprint
Publicado: 2026
Materias:
Acceso en línea:
Etiquetas: Agregar Etiqueta
Sin Etiquetas, Sea el primero en etiquetar este registro!
_version_ 1866912891581497344
author Balla, Stefano
Zacchiroli, Stefano
Degueule, Thomas
Falleri, Jean-Rémy
Robbes, Romain
author_facet Balla, Stefano
Zacchiroli, Stefano
Degueule, Thomas
Falleri, Jean-Rémy
Robbes, Romain
contents The ability to automatically classify source code repositories with ''topics'' that reflect their content and purpose is very useful, especially when navigating or searching through large software collections. However, existing approaches often rely heavily on README files and other metadata, which are frequently missing, limiting their applicability in real-world large-scale settings. We present DRAGON, a repository classifier designed for very large and diverse software collections. It operates entirely on lightweight signals commonly stored in version control systems: file and directory names, and optionally the README when available. In repository classification at scale, DRAGON improves F1@5 from 54.8% to 60.8%, surpassing the state of the art. DRAGON remains effective even when README files are absent, with performance degrading by only 6% w.r.t. when they are present. This robustness makes it practical for real-world settings where documentation is sparse or inconsistent. Furthermore, many of the remaining classification errors are near misses, where predicted labels are semantically close to the correct topics. This property increases the practical value of the predictions in real-world software collections, where suggesting a few related topics can still guide search and discovery. As a byproduct of developing DRAGON, we also release the largest open dataset to date for repository classification, consisting of 825 thousand repositories with associated ground-truth topics, sourced from the Software Heritage archive, providing a foundation for future large-scale and language-agnostic research on software repository understanding.
format Preprint
id arxiv_https___arxiv_org_abs_2602_09071
institution arXiv
publishDate 2026
record_format arxiv
spellingShingle DRAGON: Robust Classification for Very Large Collections of Software Repositories
Balla, Stefano
Zacchiroli, Stefano
Degueule, Thomas
Falleri, Jean-Rémy
Robbes, Romain
Software Engineering
Artificial Intelligence
Machine Learning
The ability to automatically classify source code repositories with ''topics'' that reflect their content and purpose is very useful, especially when navigating or searching through large software collections. However, existing approaches often rely heavily on README files and other metadata, which are frequently missing, limiting their applicability in real-world large-scale settings. We present DRAGON, a repository classifier designed for very large and diverse software collections. It operates entirely on lightweight signals commonly stored in version control systems: file and directory names, and optionally the README when available. In repository classification at scale, DRAGON improves F1@5 from 54.8% to 60.8%, surpassing the state of the art. DRAGON remains effective even when README files are absent, with performance degrading by only 6% w.r.t. when they are present. This robustness makes it practical for real-world settings where documentation is sparse or inconsistent. Furthermore, many of the remaining classification errors are near misses, where predicted labels are semantically close to the correct topics. This property increases the practical value of the predictions in real-world software collections, where suggesting a few related topics can still guide search and discovery. As a byproduct of developing DRAGON, we also release the largest open dataset to date for repository classification, consisting of 825 thousand repositories with associated ground-truth topics, sourced from the Software Heritage archive, providing a foundation for future large-scale and language-agnostic research on software repository understanding.
title DRAGON: Robust Classification for Very Large Collections of Software Repositories
topic Software Engineering
Artificial Intelligence
Machine Learning
url https://arxiv.org/abs/2602.09071