RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup
minor signal 16
RepoClean is introduced as a benchmark of 200 repository-level obsolete-code cleanup tasks drawn from 34 popular open-source Python repositories, built by reintroducing deleted code from real histories into newer versions. Of seven evaluated models, the best resolved only 23% of tasks, and agents removed substantially less obsolete code when cleanup was not explicitly requested.
Action: Use RepoClean as an evaluation set if you are tuning coding agents for repository maintenance, and make cleanup an explicit instruction in your prompts.
Migration effort: none
Cited
RepoClean: Evaluating Coding Agents on Repository-Level Obsolete Code Cleanup arxiv-ai · community · 2026-11-23