Coding agent patches can pass benchmarks while leaving dependent code broken
In an arXiv preprint, the authors audited coding agent runs from DeepSWE and examined cases from SWE-bench Verified and FeatureBench. They found patches that passed the original task evaluations even though additional execution checks revealed defects in existing code that depended on what the agents edited. The authors report that a prompt asking agents to review dependencies reduced the number of missed updates in the tested setup. In selected DeepSWE replays, updating dependent code restored the intended behavior while the listed control checks kept passing. The findings come from the benchmark runs and cases examined.
Why it matters
A passing benchmark score can miss regressions in dependent code. Execution checks along those paths can reveal defects the original evaluation overlooks.
Sources
- PrimaryarXiv · Computation and LanguageSource date ·
Written by AIToolMaps from the source above and checked against it sentence by sentence.