mlsanityData to 24 Nov 2026

On the Limits of Execution Traces for Repairing Assertion Failures in LLM-Generated Code

arXiv 2611.09212 ↗Submitted 6 Nov 2026cs.SE cs.AIcited by 0

Not on the map. Why?

Abstract (arXiv)

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.

Key facts. No citing papers in the map yet (data through 24 Nov 2026). Builds on 25 of its 30 references that are in the map. Submitted 6 Nov 2026.

Builds on

25 of 30 references.

References · 25

  1. 2021Evaluating Large Language Models Trained on Codecited by 8,938
  2. 2024Qwen2.5 Technical Reportcited by 5,525
  3. 2023Let's Verify Step by Stepcited by 4,259
  4. 2021Program Synthesis with Large Language Modelscited by 3,972
  5. 2023Lost in the Middle: How Language Models Use Long Contextscited by 3,765
  6. 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 2,243
  7. 2023Large Language Models Cannot Self-Correct Reasoning Yetcited by 1,170
  8. 2023Teaching Large Language Models to Self-Debugcited by 1,049
  9. 2022Solving math word problems with process- and outcome-based feedbackcited by 952
  10. 2023Large Language Models Can Be Easily Distracted by Irrelevant Contextcited by 909
  11. 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 603
  12. 2024CRUXEval: A Benchmark for Code Reasoning, Understanding and Executioncited by 337
13 more
  1. 2023Is Self-Repair a Silver Bullet for Code Generation?cited by 222
  2. 2024MapCoder: Multi-Agent Code Generation for Competitive Problem Solvingcited by 190
  3. 2020A Theory of Usable Information Under Computational Constraintscited by 183
  4. 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 136
  5. 2024NExT: Teaching Large Language Models to Reason about Code Executioncited by 67
  6. 2024Code Repair with LLMs gives an Exploration-Exploitation Tradeoffcited by 52
  7. 2024What Makes Large Language Models Reason in (Multi-Turn) Code Generation?cited by 35
  8. 2025Towards Effectively Leveraging Execution Traces for Program Repair with Code LLMscited by 13
  9. 2025Large Language Model Guided Self-Debugging Code Generationcited by 12
  10. 2026TraceCoder: A Trace-Driven Multi-Agent Framework for Automated Debugging of LLM-Generated Codecited by 7
  11. 2025The Debugging Decay Index: Rethinking Debugging Strategies for Code LLMscited by 6
  12. 2025Do Code Semantics Help? A Comprehensive Study on Execution Trace-Based Information for Code Large Language Modelscited by 4
  13. 2025DynaFix: Iterative Automated Program Repair Driven by Execution-Level Dynamic Informationcited by 4

Built on by

Not cited yet.