r/AgentsOfAI • • 3d ago

News Microsoft Research Finds AI Coding Agents Write 2.33x Larger Patches Driven by Added Tests

AI coding agents change a median of 2.33 times more lines on SWE-bench Verified tasks than human developers write for the same problems, according to a Microsoft Research preprint dated November 25, 2026. Tests account for 61% of the extra edits on that benchmark, and documentation makes up another 13%. The researchers concluded that larger coding-agent patches do not prove over-editing or sloppier behavior.

1 Upvotes

5 comments sorted by

1

u/VectorWireAI 3d ago

2

u/Novel-Web32 3d ago

The real stat hiding in here is that humans are apparently writing 61% fewer tests than they should be, and now the AI is just showing us what we've been skipping.

1

u/RealPjotr 1d ago

What AI lack vs humans it makes up for with iterations. Hence, it writes tests.

1

u/AutoModerator 3d ago

Thank you for your submission! To keep our community healthy, please ensure you've followed our rules.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/audioen 3d ago edited 3d ago
>>> 2.33 * (1 - 0.61 - 0.13)
0.6058

If true, AI solutions in terms of pure code are only 61 % of the lines of human solutions. Or do I not understand what these numbers mean?

Edit: evidently. The original research paper say AI code length is 1.09x times the original. I don't know how it got to that number. If the "extra" refers to 1.33 part, the one exceeding 1.0, then that is 61 + 13 = 74 % of test and doc, or 26 % of it is code, which gives about +35 % over human solution that doesn't match either.

Don't know, but they say +9 % in the paper, so that's the number.