RepoClean
A benchmark measuring the ability of coding agents to safely remove deprecated or outdated code in real open-source repositories. It contains 200 cleanup tasks spanning 34 popular open-source Python repositories.
Timeline (last 90 days)
RepoClean is a benchmark specifically measuring agents' ability to safely remove deprecated code in real open-source repositories.
RepoClean contains 200 cleanup tasks covering 34 popular open-source Python repositories.
RepoClean is constructed by automatically extracting deleted code from real repository history and reintroducing it into newer versions, while retaining the test cases that originally passed but fail due to the reintroduced code.
On the RepoClean benchmark, the best-performing model, GPT-6 Astra, solved only 23% of the tasks.
When cleanup is not explicitly requested, the amount of outdated code removed by agents drops substantially, i.e., agents do not proactively clean up in the absence of explicit instructions.
In RepoClean, the resolution rate is judged by test passing: after the agent completes its modifications, the relevant tests that originally failed due to the reappearance of historical code must pass again, while other existing tests in the repository must not regress.
The paper evaluated seven models, but does not list all model names in the text.
All Facts (7)
RepoClean is a benchmark specifically measuring agents' ability to safely remove deprecated code in real open-source repositories.
50%UnverifiedRepoClean contains 200 cleanup tasks covering 34 popular open-source Python repositories.
50%UnverifiedRepoClean is constructed by automatically extracting deleted code from real repository history and reintroducing it into newer versions, while retaining the test cases that originally passed but fail due to the reintroduced code.
50%UnverifiedOn the RepoClean benchmark, the best-performing model, GPT-6 Astra, solved only 23% of the tasks.
50%UnverifiedWhen cleanup is not explicitly requested, the amount of outdated code removed by agents drops substantially, i.e., agents do not proactively clean up in the absence of explicit instructions.
50%UnverifiedIn RepoClean, the resolution rate is judged by test passing: after the agent completes its modifications, the relevant tests that originally failed due to the reappearance of historical code must pass again, while other existing tests in the repository must not regress.
50%UnverifiedThe paper evaluated seven models, but does not list all model names in the text.
50%