模型与实验室 5.0 · 必读 2026-11-25 · 论文

How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-...

预注册研究让 Claude Opus/Sonnet/Haiku 5.5 各自以低/中/高努力审查同一批 90 个 SWE-bench Verified看似合理实则错误的 Django 补丁(强化 SWE-ABS 判 55 错 35 对)高努力一致压低错误接受率:Opus 0.670.45Sonnet 0.650.49Haiku 0.780.51Opus 中档在 15pp 非劣边际内与高档相当(差 0.018)且省 20% 成本,未达预注册的 30%;Haiku 高档单次成本约为 Opus 中档 8%关键上限:没有任何档位能当可靠闸门,全部至少接受 45% 的错误补丁

打开原文回到归档

How Much Effort Does an AI Code Reviewer Need? Evidence from Claude 5.5 Models on Plausible-but-Wrong Patches

  • ID: ef38228c
  • 原文链接: https://arxiv.org/abs/2611.33639
  • PDF: https://arxiv.org/pdf/2611.33639
  • 作者: Zax Shen, Hanling Zhang, Zixu Wang
  • 日期: 2026-11-25
  • 更新: 2026-11-25
  • 分类: coding
  • 来源类型: paper
  • 标签: ai-code-review, claude, swebench, empirical-study, cost-accuracy
  • 质量评分: 5/5
  • 抓取时间: 2026-11-27T15:41:08Z

中文导读

让三个档位的 Claude 5.5 审查同一批「能过基准测试但过不了更强测试」的 Django 补丁,预注册设计把档位与成本/漏检的取舍量化:努力越高漏检越少,但 Opus 中档已经非劣于高档且省 20% 成本;Haiku 高档只要 Opus 中档 8% 的钱。硬上限是没有任何档位能当可靠闸门。

为什么值得关注

给「AI 审查员怎么配」提供了少见的预注册证据:档位选择是成本-漏检曲线上的决策,不是越高越好;同时提醒任何档位都至少放行 45% 错误补丁,审查员只能当过滤器不能当闸门。

条目一句话:AI 审查员加努力档位能压错误接受率,但没有任何档位够格当可靠闸门——Opus 中档非劣省 20% 是选型重点

关键信息

English Abstract

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.

English Summary

AI coding agents write code faster than people can review it, so teams add AI reviewers whose effort settings trade cost for diligence. In this preregistered study, Claude Opus 5.5, Sonnet 5.5 and Haiku 5.5 each reviewed the same 90 agent-written Django patches from SWE-bench Verified at low, medium and high effort; strengthened SWE-ABS tests labeled 55 wrong and 35 correct. High effort consistently lowered false-success rates (Opus .67 to .45, Sonnet .65 to .49, Haiku .78 to .51). For Opus, medium was non-inferior to high within 15pp (difference .018) and cost 20% less, short of the preregistered 30%; Haiku at high cost about 8% of Opus-medium per review with the accuracy difference unresolved. The upper bound: no effort setting is a reliable gate — every configuration accepts at least 45% of wrong patches, though most rejections correctly named the tested defect.

证据与来源

opencli arxiv paper 2611.33639 -f json(2026-11-27 抓取,摘要全文在档)+ 论文流水线 2026-11-27 要点摘录。