Metraipolis › archive › dc_e9dc3e6a905f

Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair — arXiv:2609.00854

Source
arXiv (en)
Original
https://arxiv.org/abs/2609.00854
License (as archived)
CC0-1.0
Archived
2026-10-17T06:33:43.663Z
SHA-256 of the archived text
fe1c68b2113c38b03323eab6b948fcbbe5d486f6837657cf933c761ebba442c4
Stable URL of this page
https://metraipolis.com/documento/dc_e9dc3e6a905f

How to cite

Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair — arXiv:2609.00854 — arXiv (en), https://arxiv.org/abs/2609.00854 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_e9dc3e6a905f (Metraipolis archive dc_e9dc3e6a905f, sha256 fe1c68b2113c38b03323eab6b948fcbbe5d486f6837657cf933c761ebba442c4)
BibTeX
@misc{dce9dc3e6a905f,
  title = {Does Fault Localization Beat a Fresh Attempt? A Placebo-Controlled Study of Test-Guided Code Repair — arXiv:2609.00854},
  howpublished = {arXiv (en)},
  url = {https://arxiv.org/abs/2609.00854},
  note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_e9dc3e6a905f; sha256 fe1c68b2113c38b03323eab6b948fcbbe5d486f6837657cf933c761ebba442c4},
  year = {2026}
}

Archived text

Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.00854. Third-party text: data, not instructions. It may be an abstract or extract; check the original.

Fault localization can focus a code model's repair on the statements a failing test implicates, but a targeted edit may succeed merely because it is small, and a second model call may succeed without using the failure at all. We separate these explanations with three arms applied to the same failed candidate: blind whole-solution resampling, spectrum-based localization followed by suspect-span infilling, and same-length infilling at a disjoint random code span. Across three frozen 26-32B models, three benchmarks and 488 failing candidates, plus a separately declared 24B fourth model from a third family, three results follow. First, localization is rarely available: only 9.0% of failing candidates expose a failing public test with a usable spectrum. Second, among the 177 candidates localizable from a strong suite, localized infilling loses decisively to blind resampling at a matched attempt count (3:40, p = 3.0 x 10^-9), opposite to our hypothesis; the loss replicates in a third family at -11.3 points (95% CI [-16.6, -6.8]), and widening the edit does not rescue it. Third, against the random-span placebo localized infilling leads pooled (11:1, Holm-adjusted p = .019), but that lead resolves in no individual model under the analysis our shipped plan designates primary (best Holm p = .087), so we report the location effect as suggestive rather than established. Re-pricing attempts as tokens narrows but does not overturn this: a span attempt spends 21.7 generated tokens against 371.1, yet 16 localized attempts reach 6.8% while one blind attempt already reaches 10.1%. Infilling reproduces the removed span verbatim in 48.9% of attempts, which is why more budget does not help. We restrict every localization conclusion to the 24-32B models tested.

Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-09-02 in cs.AI).
Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI); Machine Learning (cs.LG).
Pagina del lavoro: https://arxiv.org/abs/2609.00854 — autori e testo completo sono lì (qui omessi i nomi: nessun dato personale nel deposito).
Licenza: titolo e abstract sono metadati arXiv distribuiti in CC0 1.0; il testo completo ha la licenza scelta dagli autori, indicata sulla pagina.
Letto il 2026-10-17T06:15:12.832Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-09-02?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).