跳到正文
arXiv· Zax Shen·· 2 天前精选AI 评分57

arXiv 论文实测 Claude 5.5 审查代码:调高审查力度能少放行错误补丁,但每档仍放过至少 45%

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

AI 导读

arXiv 论文用 SWE-bench Verified 中 90 个智能体编写的 Django 补丁测试 Claude Opus 5.5、Sonnet 5.5 和 Haiku 5.5 的代码审查能力,经加强版 SWE-ABS 测试判定其中 55 个错误、35 个正确。

变化判断

同一批 90 个 Django 补丁交给 Claude 5.5 三个模型审查,调高审查力度后误放行的错误补丁从约七成降到约五成,但没有一档能把错误补丁挡在门外。

正文 · 原文

View PDF HTML (experimental)

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.
Comments: 18 pages, 7 figures. Preregistered at this https URL. Data and code: this https URL
Subjects: Artificial Intelligence (cs.AI); Machine Learning (cs.LG); Software Engineering (cs.SE)
ACM classes: D.2.5; I.2.7
Cite as: arXiv:2611.33639 [cs.AI]
  (or arXiv:2611.33639v1 [cs.AI] for this version)
  https://doi.org/10.48550/arXiv.2611.33639

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Danlin Shen [view email]
[v1] Wed, 25 Nov 2026 02:07:31 UTC (243 KB)

来源:arXiv · arxiv.org