deletion-avoidance

Tag

Cards List
#deletion-avoidance

To Add Is Machine, To Delete Is Human: Measuring and Mitigating Deletion Avoidance in LLM Code Editing

Hugging Face Daily Papers ↗ · 2026-07-30 Cached

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.

0 favorites 0 likes
← Back to home

Submit Feedback