Deduplication Index for Big Code Datasets
Code duplicates in large code corpora have adverse effects on the evaluation and use of machine learning models that rely on them. Most existing corpora suffer from this problem to some extent. This dataset contains a "duplication" index for some of the existing corpora in Big Code research. The method for collecting this dataset is described in "The Adverse Effects of Code Duplication in Machine Learning Models of Code" by Allamanis [ArXiV, to appear in SPLASH 2019].
For each of the existing datasets, a single .json file is provided. Each JSON file has the following format:
[ duplicate_group_1, duplicate_group_2, ...]
where each duplicate group is a list of filenames of that dataset that are near duplicates.
For the corpora that were given as a single file (e.g. Hashimoto et al.) the line number of the original record is given.