ResearchBy

RepoClean benchmark finds coding agents struggle to remove obsolete code

In an arXiv preprint, Hongyixuan Yuan and colleagues introduce RepoClean, a benchmark with 200 cleanup tasks from 34 open-source Python repositories. The authors restored previously deleted code in newer repository versions and kept cases where the restored code caused existing tests to fail. Coding agents had to identify obsolete code and remove it while preserving current behavior. Of the seven models evaluated, GPT-6 Astra scored highest, solving 23% of the tasks. The authors also found that agents removed substantially less obsolete code when the prompt gave them no explicit cleanup instruction.

Sources

Written by AIToolMaps from the source above and checked against it sentence by sentence.

Comments

No comments yet