When Diagnostics Mislead in Verified Code Repair
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.
Create a lesson
Metadata
- Categories
- cs.SE, cs.AI
- Comments
- 7 pages, 4 figures
Related papers
DUPLEX: A Dual-Plane Architecture for Monitored and Staged Repo-Level Code Repair
Shared title terminologycs.SEYinuo Deng, Kaiyu Deng, Hanchen Wang et al.
GhostAPI-V: Evaluating Audited Diagnostics for Internal API Migration Repair
Shared title terminologycs.SEJingtao Zhang, Zeming Liu, Haorui Gao
Separate What from How: Repairing Static Analyzer Summaries with a Typed Repair IR
Shared title terminologycs.SEJinbao Chen, Zixiang Zhou, Yu Zhang
Verifiable Software Development & Operations
Shared title terminologycs.SETakaaki Higashi, Kai Otsuki
Did the Finding Go Away? Evidence for Closing Automated Code Review Findings
Shared title terminologycs.SEXuechun Luo, Weicheng Wang
Evaluating Code Slop in Long-Horizon Coding Agents
Shared title terminologycs.SEShubham Gandhi, Shyam Agarwal, Nachiket Kotalwar et al.