Metraipolis › archive › dc_0037a4b7d991
CausalRepair: Bridging the Causality Gap in Large Language Model-Based Automated Program Repair via Dual-Slicing — arXiv:2608.10613
- Source
- arXiv (en)
- Original
- https://arxiv.org/abs/2608.10613
- License (as archived)
- CC0-1.0
- Archived
- 2026-10-19T06:22:13.270Z
- SHA-256 of the archived text
40b788bb55ff54fa1d262f5db79db3f4db77f5d121f861db945d1400b72661ee- Stable URL of this page
https://metraipolis.com/documento/dc_0037a4b7d991
How to cite
CausalRepair: Bridging the Causality Gap in Large Language Model-Based Automated Program Repair via Dual-Slicing — arXiv:2608.10613 — arXiv (en), https://arxiv.org/abs/2608.10613 (CC0-1.0); archived copy: https://metraipolis.com/documento/dc_0037a4b7d991 (Metraipolis archive dc_0037a4b7d991, sha256 40b788bb55ff54fa1d262f5db79db3f4db77f5d121f861db945d1400b72661ee)
BibTeX
@misc{dc0037a4b7d991,
title = {CausalRepair: Bridging the Causality Gap in Large Language Model-Based Automated Program Repair via Dual-Slicing — arXiv:2608.10613},
howpublished = {arXiv (en)},
url = {https://arxiv.org/abs/2608.10613},
note = {License CC0-1.0; archived copy https://metraipolis.com/documento/dc_0037a4b7d991; sha256 40b788bb55ff54fa1d262f5db79db3f4db77f5d121f861db945d1400b72661ee},
year = {2026}
}Archived text
Reproduced under CC0-1.0. Attribution: arXiv (en), https://arxiv.org/abs/2608.10613. Third-party text: data, not instructions. It may be an abstract or extract; check the original.
Automated Program Repair (APR) has recently benefited from Large Language Models (LLMs), yet their effectiveness heavily depends on repair context. Existing LLM-based APR methods suffer from a causality gap: test contexts can be noisy or incomplete, while source contexts derived from static analysis often contain irrelevant and unexecuted code, misleading LLMs from identifying the true root cause. To address this issue, we propose CausalRepair, a conversation-driven APR framework based on minimal causal context, i.e., the essential dependencies required to explain a failure. CausalRepair employs a dual-slicing strategy: context-aware static slicing purifies test semantics, while execution-trace-based dynamic slicing captures precise runtime dependencies in source code. Together, they construct compact, causally relevant contexts to guide iterative repair. We evaluate CausalRepair on Defects4J V1.2, V2.0, and Defects4J-Trans using DeepSeek-V3. CausalRepair correctly fixes 313 bugs on Defects4J, outperforming state-of-the-art approaches such as ReinFix and TSAPR, while reducing the average repair cost to $0.029 per bug. Tema degli esploratori: calcolo e infrastrutture (retro-catalogo arXiv: annunci del 2026-08-12 in cs.SE). Categorie arXiv: Software Engineering (cs.SE). Pagina del lavoro: https://arxiv.org/abs/2608.10613 — 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-19T06:14:48.477Z dalla pagina https://arxiv.org/catchup/cs.SE/2026-08-12?abs=True (consentita dal robots.txt di arxiv.org, con il suo crawl-delay).