# On the Creation of Representative Samples of Software Repositories

arXiv: https://arxiv.org/abs/2410.00639 · HTML: https://mlsanity.com/paper/2410.00639/

## Key facts

- Cited by 1 papers in the map (data through 24 Nov 2026).
- Submitted 1 Oct 2024.

## Built on by (most cited first, 1 of 1)

- [Copilot or Culprit? How AI Is Changing Open-Source Bug Reporting and Maintenance](https://mlsanity.com/paper/2611.25605/) (2026)

## Abstract (arXiv)

Software repositories is one of the sources of data in Empirical Software Engineering, primarily in the Mining Software Repositories field, aimed at extracting knowledge from the dynamics and practice of software projects. With the emergence of social coding platforms such as GitHub, researchers have now access to millions of software repositories to use as source data for their studies. With this massive amount of data, sampling techniques are needed to create more manageable datasets. The creation of these datasets is a crucial step, and researchers have to carefully select the repositories to create representative samples according to a set of variables of interest. However, current sampling methods are often based on random selection or rely on variables which may not be related to the research study (e.g., popularity or activity). In this paper, we present a methodology for creating representative samples of software repositories, where such representativeness is properly aligned with both the characteristics of the population of repositories and the requirements of the empirical study. We illustrate our approach with use cases based on Hugging Face repositories.
