Study finds wrong diagnoses can mislead verified code repair
An arXiv abstract reports that a plausible but incorrect diagnosis attached to an accurate test log can steer preference away from the right fix, even when verification stays unchanged.
In plain words
When software fails a test, an automated tool may suggest a reason for the failure. The researchers found that even a correct test record paired with a wrong explanation can push reviewers toward a patch that only hides the symptom. A simple check against a second pass reduced these wrong notes but did not eliminate them.
What was announced
The authors isolated the effect of adding a diagnosis by holding the program, public log and verifier fixed. In a follow-up on 80 synthetic cases drawn from 20 source families, a wrong diagnosis shifted preference toward a symptom-only patch, with a family-weighted root-repair log-odds change of -0.600 and an approximate 95% interval of [-1.023, -0.177] across 76 scoreable cases. Independently verified free repair fell from one case to zero, though the interval spanned no change.
In a six-defect repository development panel, a screen that required verbatim quotes rejected a useful diagnosis, while a graded screen preserved the associated repair. Adding agreement with a second checkpoint cut forwarded wrong notes from six to three of 12 without changing any verified repair outcome. Even so, an executable probe refuted one high-confidence explanation that had passed the agreement check. The team also describes a prospective repository holdout to estimate the effect of appending generated diagnoses.
What it does not show
- The evidence is an abstract only; full methods, thresholds and context are not available for verification.
Sources
Source-support review completed 4 Dec 2026. This story was drafted with AI assistance and checked against retained source passages. Automated checking is not independent verification.
Coverage: arXiv: abstract.
Updates and corrections
No corrections so far.
First published 4 Dec 2026
New to the subject? AI from the Ground Up starts from the beginning.