mlsanityData to 7 Oct 2026

Trustworthy Runtime Error Healing in Real-World Repositories: A Benchmark and Guardrail

arXiv 2609.39086 ↗First posted 30 Sep 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 7 Oct 2026). Builds on 9 of its 26 references that are in the map. First posted on arXiv 30 Sep 2026.

Builds on

9 of 26 references.

References · 9

  1. 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
  2. 2024OpenHands: An Open Platform for AI Software Developers as Generalist Agentscited by 956
  3. 2025SWE-Bench Pro: Can AI Agents Solve Long-Horizon Software Engineering Tasks?cited by 254
  4. 2024SWT-Bench: Testing and Validating Real-World Bug-Fixes with Code Agentscited by 129
  5. 2026ProgramBench: Can Language Models Rebuild Programs From Scratch?cited by 47
  6. 2023Harnessing the Power of LLM to Support Binary Taint Analysiscited by 13
  7. 2024REDO: Execution-Free Runtime Error Detection for COding Agentscited by 2
  8. 2025DaiFu: In-Situ Crash Recovery for Deep Learning Systemscited by 1
  9. 2026CatchAll: Repository-Aware Exception Handling with Knowledge-Guided LLMscited by 1

Built on by

Not cited yet.

Similar, not cited

Close in wording, no citation either way

  1. 2024Towards Agentic Runtime Healing
  2. 2026RepoRescue: An Empirical Study of LLM Agents on Whole-Repository Compatibility Rescue
  3. 2025SecureFixAgent: A Hybrid LLM Agent for Automated Python Static Vulnerability Repair
  4. 2026RepoZero: Can LLMs Generate a Code Repository from Scratch?
  5. 2026RealSec-bench: A Benchmark for Evaluating Secure Code Generation in Real-World Repositories
  6. 2026Tool-Guided Retrieval-Augmented Repair for Securing LLM-Generated C Code
  7. 2026ContextSniper: AntTrail's Token-Efficient Code Memory for Repository-Level Program Repair
  8. 2026Can LLMs Reason About Runtime Behavior? A Repository-Level Dynamic Benchmark