Future of work

Microsoft researchers measure unneeded edits by coding agents

Published
Source
arXiv (Microsoft)

Summary

A Microsoft paper posted to arXiv on November 25 quantifies why coding agents produce much larger patches than developers. Using a method called Delta Residue Attribution, which reverts each patch block and reruns the tests to judge necessity, the authors examined 7,660 resolved trajectories from 18 frontier models. On SWE-bench Verified, 61% of the extra edits add tests and 13% add documentation, and agent code scored slightly more necessary than developer code on average (0.887 vs 0.864). Yet 11% of agent code units remain unneeded, 89% of those change program behavior, and code necessity is unrelated or negatively correlated with benchmark resolve rates.

Why it matters for our work

The study puts hard numbers on a common worry about AI-written code. It suggests spending review effort on non-test hunks first, and asking benchmarks to report code necessity alongside resolve rate.

Translated from the Korean original. Summaries may be translated and edited. Commentary reflects our perspective; forecasts remain the source’s views.

Read original (opens in a new tab)