Metraipolis › archive › dc_de7e5b1f117e
On the Limits of Execution Traces for Repairing Assertion Failures in LLM-Generated Code — arXiv:2611.09212
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2611.09212
- License (as archived)
- CC0-1.0
- Archived
- 2026-11-09T22:34:54.797Z
- SHA-256 of the archived text
3386e4dbf925f7293db4b236ad3cba4d2b9af3a736f054576ab5036f5d294a16- Stable URL of this page
https://metraipolis.com/documento/dc_de7e5b1f117e
How to cite
On the Limits of Execution Traces for Repairing Assertion Failures in LLM-Generated Code — arXiv:2611.09212 — arXiv (en), https://arxiv.org/abs/2611.09212 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_de7e5b1f117e (Metraipolis archive dc_de7e5b1f117e, sha256 3386e4dbf925f7293db4b236ad3cba4d2b9af3a736f054576ab5036f5d294a16)
BibTeX
@misc{dcde7e5b1f117e,
title = {On the Limits of Execution Traces for Repairing Assertion Failures in LLM-Generated Code — arXiv:2611.09212},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2611.09212},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_de7e5b1f117e; sha256 3386e4dbf925f7293db4b236ad3cba4d2b9af3a736f054576ab5036f5d294a16},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2611.09212. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Iterative repair returns a failed program's error to a large language model (LLM) and asks it to fix it. After iterative repair, the remaining failures are mostly assertion failures: with four Qwen2.5 models, they make up 79% of residual failures on BigCodeBench, all on HumanEval and 93% on LiveCodeBench. We argue, through an information view of the feedback, that an assertion failure says little about where the fault lies. We propose Breakpoint Debugging (BPD), which returns the failed program annotated inline with its variables' runtime values. We take the tasks that iterative repair failed to fix with five repair attempts and compare two ways of spending five further generations on them: BPD, and resampling. On BigCodeBench, BPD repairs 26.7% of these tasks against 22.4%, and its advantage grows with model size. On HumanEval, BPD outperforms resampling but only slightly, and on LiveCodeBench, fresh sampling repairs more (6.5% against 4.9%). Furthermore, BPD reduces unchanged-code resubmissions from 28% to 8% on BigCodeBench. Using only the first failing test's trace, it outperforms tracing all failing tests while using fewer tokens than both all-trace BPD and plain iterative repair. On LiveCodeBench, BPD gives no gain even on the public tests, so a visible failing input is not enough for a trace to help. These results match the information view: a trace helps only when the test exposes a failing input, and the fault is an implementation slip; otherwise, a repair loop should resample rather than trace. Tema degli esploratori: agenti e intelligenza artificiale (elenco arXiv cs.AI, nuovi lavori del giorno). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2611.09212 — 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-11-09T22:30:47.323Z dalla pagina https://arxiv.org/list/cs.AI/new (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).