A study of 7,660 runs finds agent code as necessary as developer code
On SWE-bench Verified, about 11% of agent code blocks were unneeded, and 89% of those blocks changed behavior.
Researchers studied 7,660 runs of GitHub Copilot CLI, a coding tool for the command line, across 18 models. They reverted patch blocks and operated the tests again to find if the blocks were necessary. On average, across 2 benchmarks, agent code was as necessary as developer code or more, and a large patch does not show too much editing.
How it works
The team reverted patch blocks one at a time and operated the tests again. Blocks are unneeded when the test shows no use for them.
The numbers
- 7,660 runs with a correct result, across 18 models.
- On SWE-bench Verified, about 11% of agent code blocks were unneeded on average.
- 89% of those blocks changed behavior.
What is not known
The summary gives no results for each model and does not name the other benchmark. It does not give the cause of the change in behavior.
Insight: Patch size is a weak alarm and the missing check is the risk
Jellyfish reports that agents touched 27.7% of pull requests at the median company in September. A different study estimates that 23.4% of edit episodes end with no other check. The risk is the missing check, not patch size. The company that makes the check seems to get trust.
Sources
Posted