arXiv 研究:Claude 5.5 系列做 AI 代码审查需要多大推理档位
How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong Patches
这篇论文实测了 Opus 5.5、Sonnet 5.5 和 Haiku 5.5 三档 effort 审查 90 个 Django 补丁的成绩。结论挺扎心:最贵的设置也漏掉了 45% 的错误补丁。想给团队上 AI 审查的开发者应该先看数据再定预算。
arXiv 论文(编号 2611.33639)测试了 Claude Opus 5.5、Sonnet 5.5 和 Haiku 5.5 在低、中、高三档 effort 设置下审查同一批 90 个 SWE-bench Verified Django 补丁的表现,其中 55 个补丁虽然通过了基准测试但实际有错。衡量标准是加强版 SWE-ABS 测试:高 effort 下 Opus 的假成功率从低档的 .67 降到 .45,Sonnet 从 .65 降到 .49,Haiku 从 .78 降到 .51。
成本方面,Opus 在中档与高档的差异为 .018(95% CI [-.065, .108]),满足非劣性且便宜 20%,但未达到预注册的 30% 成本节省目标;Sonnet 和 Haiku 中档分别省 39% 和 51%,但未能证明非劣。Haiku 高档的单次审查成本约为 Opus 中档的 8%,但两者准确率差异未定。探索性实验还显示高 effort 的拒绝理由大多明确指出了缺陷本身。
作者的核心结论是:没有任何档位能充当可靠闸门,所有设置下至少 45% 的错误补丁被放行;而且 55 个错误补丁中有 32 个可能不需要失败测试所检查的能力,剔除后各模型的准确率假设均不成立。对想用 AI 代码审查替代人工的团队来说,这组数字说明 effort 档位的收益边界比想象中窄。
How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong Patches
AI coding agents write code faster than people can review it, so teams add AI reviewers. Reasoning models let such a reviewer trade cost for diligence through an effort setting. We asked how much effort a reviewer needs to catch plausible-but-wrong patches, which pass a benchmark's tests but fail stronger ones. Claude Opus 5.5 (preregistered), Sonnet 5.5 and Haiku 5.5 (exploratory) each reviewed the same 90 agent-written Django patches from SWE-bench Verified at low, medium and high effort. By strengthened SWE-ABS tests, 55 patches were wrong and 35 correct. In every model, high effort accepted fewer wrong patches than low (false success .45 against .67 for Opus, .49 against .65 for Sonnet, .51 against .78 for Haiku), a supported difference for Opus and Haiku. For Opus, medium was non-inferior to high within 15 percentage points (difference .018, 95% CI [-.065, .108]) and cost 20% less, short of the preregistered 30%. For Sonnet and Haiku, medium cost 39% and 51% less than high but was not shown non-inferior. Opus at medium or high agreed best with the labels; Haiku at high cost about 8% as much per review as Opus at medium, accuracy difference unresolved. Exploratory coding showed that most rejections named the tested defect and that effort added such rejections. No setting is a strong gate: each accepted at least 45% of wrong patches. For 32 of the 55 wrong patches the issue may not require what the failing test checks; without them, neither accuracy hypothesis holds for any model.
This report is categorized under AITOP's "Papers" desk, focusing on US frontier AI labs and Silicon Valley technology leaders. Within our cross-regional analytical framework, it directly maps to AI developer toolchains, coding agents, and engineering workflows. Key entities and technical topics under continuous tracking include Claude, SWE-bench, code review, reasoning models.
Source attribution: curated from arXiv cs.AI (@Zax Shen, Hanling Zhang, Zixu Wang).