跳到正文
arXiv cs.AI· Junyi Yang·· 3 天前AI 评分35

验证代码修复中诊断信息何时产生误导:一项arXiv研究

When Diagnostics Mislead in Verified Code Repair

AI 导读

一项arXiv研究隔离考察了在代码修复中附加诊断信息的影响:在来自20个来源家族的80个合成案例跟进中,错误诊断使偏好转向仅治标补丁(家族加权根因修复log-odds变化-0.600,约95%区间[-1.023,-0.177])。

正文 · 原文

View PDF HTML (experimental)

Abstract:An accurate test log can be accompanied by a plausible diagnosis that points to the wrong cause. We isolate the effect of the added diagnosis by holding the program, public log, and verifier fixed. In a follow-up on 80 synthetic cases from 20 distinct source families, a wrong diagnosis shifted preference toward a symptom-only patch (family-weighted root-repair log-odds change -0.600, approximate 95% interval [-1.023,-0.177], 76 scoreable cases). Independently verified free repair fell from one case to zero, with an interval spanning no change. In a six-defect repository development panel, a verbatim-quote screen rejected a useful diagnosis. A graded screen preserved the associated repair, and adding agreement with a second checkpoint reduced forwarded wrong notes from six to three of 12 without changing any verified repair outcome. An executable probe still refuted one high-confidence explanation that passed the agreement check. We describe a prospective repository holdout to estimate the effect of appending generated diagnoses.
Comments: 7 pages, 4 figures
Subjects: Software Engineering (cs.SE); Artificial Intelligence (cs.AI)
Cite as: arXiv:2612.02545 [cs.SE]
  (or arXiv:2612.02545v1 [cs.SE] for this version)
  https://doi.org/10.48550/arXiv.2612.02545

arXiv-issued DOI via DataCite (pending registration)

Submission history

From: Junyi Yang [view email]
[v1] Tue, 1 Dec 2026 12:53:45 UTC (155 KB)

来源:arXiv cs.AI · arxiv.org