arXiv '26
How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches
We trace and test individual edits in coding-agent patches to measure unneeded changes and investigate where they come from.
We introduce Delta Residue Attribution, a method that traces each unit of an agent’s final patch to the step that wrote it, then reverts and tests the unit to assess whether it is needed.
Across resolved GitHub Copilot CLI trajectories on SWE-bench Verified and DeepSWE, we compare agent and developer patches, study differences among models, and evaluate approaches to pruning unneeded code.