Precise Debugging Benchmark: Is Your Model Debugging or Regenerating?
Not on the map. Why?
Abstract (arXiv)
Unlike code completion, debugging requires localizing faults and applying targeted edits. We observe that frontier LLMs often regenerate correct but over-edited solutions during debugging. To evaluate how far LLMs are from precise debugging, we introduce the Precise Debugging Benchmark (PDB) framework, which automatically converts any coding dataset into a debugging benchmark with precision-aware evaluation. PDB generates buggy programs by synthesizing verified atomic bugs and composing them into multi-bug programs. We define two novel metrics, edit-level precision and bug-level recall, which measure how many necessary edits are made and how many bugs are resolved. We release two evaluation benchmarks: PDB-Single-Hard on single-line bugs, and PDB-Multi on multi-line bugs. Experiments show that frontier models, such as GPT-5.1-Codex and DeepSeek-V3.2-Thinking, achieve unit-test pass rates above 76% but exhibit precision below 45%, even when explicitly instructed to perform minimal debugging. Finally, we show that iterative and agentic debugging strategies do not substantially improve precision or recall, highlighting the need to rethink post-training pipelines for coding models.
Key facts. Cited by 1 paper in the map (data through 7 Oct 2026). Builds on 47 of its 70 references that are in the map. First posted on arXiv 19 Apr 2026.
Builds on
47 of 70 references.
References · 47
- 2025Qwen3 Technical Reportcited by 8,195
- 2021Evaluating Large Language Models Trained on Codecited by 8,053
- 2025Gemini 2.5: Pushing the Frontier with Advanced Reasoning, Multimodality, Long Context, and Next Generation Agentic Capabilitiescited by 3,655
- 2023SWE-bench: Can Language Models Resolve Real-World GitHub Issues?cited by 3,193
- 2023Code Llama: Open Foundation Models for Codecited by 2,105
- 2024LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Codecited by 1,906
- 2024SWE-agent: Agent-Computer Interfaces Enable Automated Software Engineeringcited by 1,628
- 2022Competition-Level Code Generation with AlphaCodecited by 1,427
- 2024Qwen2.5-Coder Technical Reportcited by 1,151
- 2021Measuring Coding Challenge Competence With APPScited by 879
- 2022CodeGen: An Open Large Language Model for Code with Multi-Turn Program Synthesiscited by 876
- 2025DeepSeek-V3.2: Pushing the Frontier of Open Large Language Modelscited by 755
35 more
- 2024BigCodeBench: Benchmarking Code Generation with Diverse Function Calls and Complex Instructionscited by 527
- 2023CodeT5+: Open Code Large Language Models for Code Understanding and Generationcited by 327
- 2025SWE-smith: Scaling Data for Software Engineering Agentscited by 255
- 2023LEVER: Learning to Verify Language-to-Code Generation with Executioncited by 228
- 2024RepairAgent: An Autonomous, LLM-Based Agent for Program Repaircited by 225
- 2019SPoC: Search-based Pseudocode to Codecited by 176
- 2023SantaCoder: don't reach for the stars!cited by 169
- 2018Learning to Mine Aligned Code and Natural Language Pairs from Stack Overflowcited by 165
- 2023Keep the Conversation Going: Fixing 162 out of 337 bugs for 0.42 each using ChatGPTcited by 125
- 2024Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step-by-stepcited by 123
- 2023InferFix: End-to-End Program Repair with LLMscited by 113
- 2023An Analysis of the Automatic Bug Fixing Performance of ChatGPTcited by 108
- 2024Beyond Functional Correctness: Exploring Hallucinations in LLM-Generated Codecited by 106
- 2024DebugBench: Evaluating Debugging Capability of Large Language Modelscited by 74
- 2021Break-It-Fix-It: Unsupervised Learning for Program Repaircited by 71
- 2023Large Language Models for Test-Free Fault Localizationcited by 67
- 2021CoTexT: Multi-task Learning with Code-Text Transformercited by 61
- 2024Bugs in Large Language Models Generated Code: An Empirical Studycited by 59
- 2023A Survey of Learning-based Automated Program Repaircited by 55
- 2023Copiloting the Copilots: Fusing Large Language Models with Completion Engines for Automated Program Repaircited by 55
- 2024McEval: Massively Multilingual Code Evaluationcited by 42
- 2024UniDebugger: Hierarchical Multi-Agent Framework for Unified Software Debuggingcited by 35
- 2023A Critical Review of Large Language Model on Software Engineering: An Example from ChatGPT and Automated Program Repaircited by 29
- 2024NoFunEval: Funny How Code LMs Falter on Requirements Beyond Functional Correctnesscited by 23
- 2024CodeEditorBench: Evaluating Code Editing Capability of Large Language Modelscited by 22
- 2025debug-gym: A Text-Based Environment for Interactive Debuggingcited by 19
- 2024Can We Trust Large Language Models Generated Code? A Framework for In-Context Learning, Security Patterns, and Code Evaluations Across Diverse LLMscited by 17
- 2024LLM-Powered Code Vulnerability Repair with Reinforcement Learning and Semantic Rewardcited by 16
- 2024MdEval: Massively Multilingual Code Debuggingcited by 16
- 2024COAST: Enhancing the Code Debugging Ability of LLMs through Communicative Agent Based Data Synthesiscited by 13
- 2025Rethinking Verification for LLM Code Generation: From Generation to Testingcited by 12
- 2024VeCoGen: Automating Generation of Formally Verified C Code with Large Language Modelscited by 10
- 2025Memorize or Generalize? Evaluating LLM Code Generation with Code Rewritingcited by 6
- 2025MLDebugging: Towards Benchmarking Code Debugging Across Multi-Library Scenarioscited by 3
- 2025Decoding Memories: An Efficient Pipeline for Self-Consistency Hallucination Detectioncited by 2
Built on by
Citing papers per year: 2026: 1.
1 paper.
Similar, not cited
Close in wording, no citation either way
- 2025Why Stop at One Error? Benchmarking LLMs as Data Science Code Debuggers for Multi-Hop and Multi-Bug Errors
- 2023Teaching Large Language Models to Self-Debug
- 2026DebugHarness: Emulating Human Dynamic Debugging for Autonomous Program Repair
- 2025FeedbackEval: A Benchmark for Evaluating Large Language Models in Feedback-Driven Code Repair Tasks
- 2025PerfBench: Can Agents Resolve Real-World Performance Bugs?
- 2025InspectCoder: Dynamic Analysis-Enabled Self Repair through interactive LLM-Debugger Collaboration
- 2026VeriPilot: An LLM-Powered Verilog Debugging Framework
- 2025Fully Autonomous Programming using Iterative Multi-Agent Debugging with Large Language Models