Microsoft study finds AI coding agents write bigger patches, mostly by adding tests

Share

Microsoft researchers analyzed 7,660 resolved trajectories from GitHub Copilot CLI, using 18 frontier models across the SWE-bench Verified and DeepSWE benchmarks. On SWE-bench Verified, agent patches changed a median of 2.33 times more lines than developer patches, with 61% of the additional edits consisting of tests and 13% of documentation. Under the team’s DRA method, agent-generated code nevertheless achieved a higher average necessity score than developer code. About 11% of agent code units were found to be unnecessary after testing, and 89% of those units changed program behavior. On DeepSWE, by contrast, code modifications accounted for 58% of the surplus lines.

Source: Read the original article

Disclaimer: this content is for information purposes only and is not financial advice. Cryptocurrencies are highly volatile: you may lose all of your capital. Always do your own research. Legal notice
Telemac
Telemachttp://cryptoinfo.ch
Passionné de nouvelles technologies, j’explore l’univers de la blockchain et des cryptomonnaies pour partager l’actualité et les innovations du secteur.

Read More

Items