计算机科学 > 软件工程
[提交于 2026年11月29日]
标题:What Do Explanations and Fixes Add to LLM Code Review? A Replication on Audited Benchmarks
查看原文 PDF 中文 PDF (下批处理) EasyResearch 阅读摘要:Jin and Chen reported in Automated Software Engineering that asking language models to explain and fix code led them to reject substantially more correct programs. We replicated the study with six models reviewing short Python and Java programs. On the audited benchmarks, asking for an explanation and a fix raised false rejection by 5.4 percentage points over a verdict alone; its 95% interval includes the five-point increase we had specified as practically important. The increase was smaller than in the original study. Using the original scoring, our reviewers rejected 20.3% of programs labelled correct under the explain-and-fix prompt, compared with our average of 60.7% from the original results. The audit found that the released verification code never called the assertions in the Mostly Basic Programming Problems benchmark. Subsequent counterexamples exposed defects in 79 programs that had passed the label audit. In a sensitivity analysis using adjudicated labels, false rejection was 3.7% for verdicts alone and 5.9% for explain-and-fix review. When reviewers correctly rejected buggy code under the richer prompt, their fixes passed the task's tests in 93.1% of reviews. In an exploratory assessment, model judges found that 99.5% of the explanations identified the planted defect. When reviewers rejected correct code, some proposed edits introduced failures. At the adjudicated rates, per 100 submissions with 10 buggy programs, explain-and-fix review would add about 2.0 false rejections and yield 9.2 fixes that pass the tests.
提交历史
来自:Sabry E. Farrag[v1] 2026年11月29日 星期日 01:23:08 UTC (64 KB)