Termsslug: needed-code-share

Needed-Code Share

必要代码占比

Share of patch blocks verified as necessary via re-run tests, distinguishing real fixes from over-editing.

Curated Intelligence

1 items · Page 1/1
Rohan Paul (@rohanpaul_ai)T2·Models
74 pts
Microsoft Study Finds AI Coding Patches 2.33x Larger Than Human Fixes

A new Microsoft paper replayed 7,660 GitHub Copilot CLI runs across 18 models, traced each patch block to its originating step, and re-ran tests to grade necessity. Agent patches touch 2.33x more lines than human fixes, but the surplus is mostly tests and documentation rather than redundant code. On SWE-bench Verified, 88.7% of agent code blocks were needed versus 86.4% for developers, suggesting over-editing stems from the fix itself, not debug leftovers; the authors urge reporting needed-code share alongside resolve rate.