[Paper Review] A Dataset for GitHub Repository Deduplication: Extended Description
This paper introduces a dataset of 10.6 million GitHub projects identified as duplicates through fork or clone operations, with each linked to its ultimate parent via a denoised graph of 18.2 million nodes and 12 million edges. The method uses six metrics and pattern-matching heuristics to filter clumps and compute connected components, revealing 30,000 duplicates in a major reference dataset, with strong overlap but also differences when compared to an independent dataset.
GitHub projects can be easily replicated through the site's fork<br> process or through a Git clone-push sequence. This is a problem for<br> empirical software engineering, because it can lead to skewed results<br> or mistrained machine learning models. We provide a dataset of 10.6<br> million GitHub projects that are copies of others, and link each record<br> with the project's ultimate parent. The ultimate parents were derived<br> from a ranking along six metrics. The related projects were calculated<br> as the connected components of an 18.2 million node and 12 million<br> edge denoised graph created by directing edges to ultimate parents.<br> The graph was created by filtering out more than 30 hand-picked and 2.3<br> million pattern-matched clumping projects. Projects that introduced<br> unwanted clumping were identified by repeatedly visualizing shortest path<br> distances between unrelated important projects. Our dataset identified<br> 30 thousand duplicate projects in an existing popular reference dataset<br> of 1.8 million projects. An evaluation of our dataset against another<br> created independently with different methods found a significant overlap,<br> but also differences attributed to the operational definition of what<br> projects are considered as related.
Motivation & Objective
- To address the problem of duplicated GitHub repositories skewing empirical software engineering studies and machine learning models.
- To identify and link 10.6 million duplicate projects to their ultimate parent repositories using a graph-based approach.
- To reduce noise from clumped projects by filtering 30 hand-picked and 2.3 million pattern-matched clumps.
- To validate the dataset’s accuracy by detecting 30,000 duplicates in an existing 1.8M-project reference dataset.
- To compare the dataset’s results with an independently created dataset to assess consistency and operational definition differences.
Proposed method
- Constructed a 18.2 million node, 12 million edge graph by directing edges from projects to their ultimate parents based on six ranking metrics.
- Identified and filtered out 30 hand-picked and 2.3 million pattern-matched clumping projects to reduce noise in the graph.
- Used shortest path distance visualization between unrelated, important projects to detect and remove unwanted clumps.
- Computed connected components in the denoised graph to group projects that share the same ultimate parent.
- Applied a multi-metric ranking system to determine the ultimate parent of each project based on project characteristics.
- Validated the dataset by detecting 30,000 duplicates in an existing 1.8 million-project reference dataset.
Experimental results
Research questions
- RQ1How many GitHub projects are duplicates of others through forking or cloning, and what proportion are present in existing reference datasets?
- RQ2To what extent does the proposed graph-based deduplication method reduce false positives from project clumping?
- RQ3How consistent are the deduplication results when compared to an independently created dataset using different operational definitions?
- RQ4What is the impact of filtering hand-picked and pattern-matched clumps on the accuracy of ultimate parent identification?
- RQ5How well does the dataset detect duplicates in a large-scale, real-world reference dataset of 1.8 million projects?
Key findings
- The dataset identified 30,000 duplicate projects within a widely used reference dataset of 1.8 million projects, indicating a significant duplication rate.
- A substantial overlap was found between this dataset and an independently created dataset, suggesting robustness in identifying duplicate relationships.
- Despite the overlap, differences were observed due to divergent operational definitions of what constitutes a related project.
- The filtering of 2.3 million pattern-matched and 30 hand-picked clumps significantly reduced noise in the deduplication process.
- The graph-based approach successfully linked 10.6 million projects to their ultimate parents through a denoised, metric-informed network of relationships.
- Visualization of shortest path distances between unrelated, important projects proved effective in identifying and removing spurious clumps.
Read this paper
Open the full text in the Nubint reader and ask about any passage as you read.
Read this paper on NubintThis review was generated by AI from the original paper. Please check the paper before citing it.