微软研究人员发表论文指出,代码智能体的瓶颈在于理解大量代码而非编辑规模,评测应侧重代码阅读与比对而非修改行数。团队构建了可单项增加难度的合成任务基准 CABRA,在 6,840 项任务上测试了 8 个 LLM 与 6 个智能体。
New Microsoft paper finds that coding agents trip up when they have to understand a lot of code, not when they have to edit a lot of it, so test them on reading and comparing code instead of diff size.
Microsoft researchers built CABRA, which generates synthetic coding tasks and raises 1 kind of difficulty at a time. They ran 8 LLMs and 6 agents on 6,840 tasks and labeled each tool call as reading, analyzing, searching, editing, or testing.
Plain LLMs got worse as tasks grew, but agents stayed near-perfect by using tools like grep. On SWE-bench Verified, the count of reading and analysis calls tracked agent failures better than lines edited, with correlations of -0.200 versus -0.159.
来源:Rohan Paul · x.com