Puls Dane publiczne, aktualizowane automatycznie
arXiv – nowe publikacje publikacja

How Much Do Coding Agents Over-Edit, and Why? An Empirical Study of Unneeded Edits in Repository-Level Agent Patches

[Inżynieria oprogramowania] Autorzy: Aakash Goel, Benjamin Steenhoek, Yu Hu

Agent patches are larger than developers', which is widely read as over-editing. But patch size does not say whether the extra edits are needed, what they are, or where they come from. We introduce Delta Residue Attribution (DRA), which replays agent trajectories, traces every block (unit) of the final patch to the step that wrote it, reverts each unit, and reruns the task tests to decide whether the unit is needed. We apply DRA to 7,660 resolved GitHub Copilot CLI trajectories from 18 frontier models on SWE-bench Verified (6,728) and DeepSWE (932), and grade developer patches using the same method. Agent patches do change more lines than developers'; on SWE-bench Verified the majority of extra edits add tests (61%) and documentation (13%) while on DeepSWE, most extra edits are code (58%). On both benchmarks, agents' code is on average at least as necessary as developers' (mean $NP_{cod…

Kategoria arxiv
cs.SE
Kategoria
Inżynieria oprogramowania
Pdf
https://arxiv.org/pdf/2611.34875v1

Otwórz oryginał w źródle ↗

Więcej z tego źródła

Wszystkie