Metraipolis › archive › dc_22771c1d8de1
Trustworthy Runtime Error Healing in Real-World Repositories: A Benchmark and Guardrail — arXiv:2609.39086
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2609.39086
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-07T12:44:56.406Z
- SHA-256 of the archived text
553a7e8d340d4e4403fde6bd26658154dec8ca4cb0c4f24840feb786f5b19275- Stable URL of this page
https://metraipolis.com/documento/dc_22771c1d8de1
How to cite
Trustworthy Runtime Error Healing in Real-World Repositories: A Benchmark and Guardrail — arXiv:2609.39086 — arXiv (en), https://arxiv.org/abs/2609.39086 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_22771c1d8de1 (Metraipolis archive dc_22771c1d8de1, sha256 553a7e8d340d4e4403fde6bd26658154dec8ca4cb0c4f24840feb786f5b19275)
BibTeX
@misc{dc22771c1d8de1,
title = {Trustworthy Runtime Error Healing in Real-World Repositories: A Benchmark and Guardrail — arXiv:2609.39086},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2609.39086},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_22771c1d8de1; sha256 553a7e8d340d4e4403fde6bd26658154dec8ca4cb0c4f24840feb786f5b19275},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2609.39086. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Runtime error healing lets a crashed program continue by generating code that repairs its live runtime state. Recent work shows that LLMs can generate such healing code, but it is evaluated only on small competition programs, and executing LLM-generated code inside a live process raises safety concerns that remain unaddressed. In this paper, we take LLM-based runtime healing toward practical use in real-world repositories. We first build HealBench, a benchmark of 265 runtime errors from 18 real-world repositories, each paired with a reference execution on the patched version. HealBench also provides a unified framework that lets LLM agents heal with cross-file context and live runtime state. We then design HealGuard, which requires healing code to be written in HealCore, an analyzable subset of Python, and uses static and dynamic taint analysis to check whether state changed by healing reaches operations protected by developers. We evaluate a dedicated healing method and three general coding agents with three backbone LLMs. The best setting resumes execution in 38.11% of instances and passes the target test in 28.68%, showing that existing agents can already heal a meaningful share of real repository-level crashes. However, among executions that pass, HealGuard flags 17.4% whose healing-changed state may reach a protected operation. On 684 controlled cases, HealGuard detects all unsafe cases, at the cost of a 68.42% false positive rate. Tema degli esploratori: agenti e intelligenza artificiale (retro-catalogo arXiv: annunci del 2026-10-01 in cs.AI). Categorie arXiv: Software Engineering (cs.SE) ; Artificial Intelligence (cs.AI). Pagina del lavoro: https://arxiv.org/abs/2609.39086 — 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-07T12:14:14.019Z dalla pagina https://arxiv.org/catchup/cs.AI/2026-10-01?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).