Tag
This paper introduces CanItDelete, a benchmark of 200 real-world deletion-only code editing tasks, and measures how LLMs avoid deleting code. It finds that frontier models frequently leave obsolete code in place, producing passable but not merge-ready patches, and that adding deletion-focused training data improves performance.