Even state-of-the-art LLM agents struggle with autonomous code cleanup (best model achieves only 23% success), revealing a significant gap in repository-level code understanding and the need for better approaches to safe, autonomous software maintenance.
RepoClean is a benchmark with 200 code cleanup tasks from real Python repositories that tests whether LLM agents can safely identify and remove obsolete code while preserving working functionality.