A new study published on arXiv examines the impact of deduplication techniques on code training corpora, particularly when using the full history of software repositories rather than just snapshots. The research reveals that code histories are highly repetitive, akin to a pangenome, with typical repositories containing the equivalent of 19 copies of their current code. Standard exact-match deduplication fails to remove these historical copies because no two versions are identical. While grouping near-identical files and keeping one reduces repetition, a common implementation of this method, when applied across versions, often retains older file versions due to its date-agnostic selection process. The study proposes sorting versions by date before deduplication to ensure the most recent versions are kept, and suggests a separate step to handle benchmark-specific fixes that persist across many later versions. AI
IMPACT This research highlights critical data processing challenges for code LLMs, potentially impacting model performance and benchmark evaluation.
RANK_REASON This is a research paper published on arXiv discussing technical aspects of code training data. [lever_c_demoted from research: ic=1 ai=1.0]
AI-generated summary · Google Gemini · from 1 sources. How we write summaries →