Research map / Large language models / Agents, code and math
DebugBench: Evaluating Debugging Capability of Large Language Models
Runchu Tian, Yining Ye, Yujia Qin, Xin Cong, Yankai Lin, Yinxu Pan, Yesai Wu, Haotian Hui, Weichuan Liu, Zhiyuan Liu, Maosong Sun
Tsinghua University · Renmin University of China · ModelBest Inc · Siemens AG
Read the paperPlace an idea next to itCheck your own paper ↗
AI-extracted. The measured effects below were read by AI from the paper's full text (no summary yet). Numbers and claims can be wrong or missing context, so check the paper before you cite or build on it.
Measured effects reported in the paper
| What was changed | Where | Measured | Effect |
|---|---|---|---|
| use closed-source gpt-4 instead of open-source models | zero-shot debugging · DebugBench | pass rate: gpt-4 75.0, gpt-3.5 62.1; most open-source models lower | Improved |
| add multiple sampling (up to nine answers, pass if any passes) (ablation) | gpt-4 and gpt-3.5-turbo · DebugBench (logic errors) | pass rate | Improved |
| add runtime feedback (traceback) (ablation) | gpt-4 and gpt-3.5-turbo · DebugBench (syntax and reference errors) | pass rate | Improved |
| add runtime feedback (traceback) (ablation) | gpt-4 and gpt-3.5-turbo · DebugBench (logic errors) | pass rate | Hurt |
| increase number of bugs per snippet from double to quadruple | gpt-4-0613 · DebugBench (multiple bugs) | pass rate: 70.7 -> 55.9 | Hurt |
| increase number of bugs per snippet from double to quadruple | gpt-3.5-turbo-0613 · DebugBench (multiple bugs) | pass rate: 56.4 -> 38.7 | Hurt |
| compare logic errors with syntax errors (missing colons) | gpt-4-0613 · DebugBench | pass rate: 93.6 -> 73.1 (condition error) | Hurt |
Open problems in code generation benchmarks
Do code benchmarks and methods hold beyond Python, small test sets and leaked data?
- Tested on Python or a few languages, so other languages are untested. · 25 papers state it
- Benchmarks are small, with a few dozen to a few hundred problems. · 14 papers state it
- Iterative or multi-step methods cost more tokens, latency and compute. · 12 papers state it
Closest papers by meaning
- Debug like a Human: A Large Language Model Debugger via Verifying Runtime Execution Step by Step (ACL 2024 · similarity 0.94)
- Teaching Large Language Models to Self-Debug (ICLR 2024 · similarity 0.94)
- MdEval: Massively Multilingual Code Debugging (ACL 2026 · similarity 0.93)
- LiveCodeBench: Holistic and Contamination Free Evaluation of Large Language Models for Code (ICLR 2025 · similarity 0.90)
- Precise Debugging Benchmark: Is Your Model Debugging or Regenerating? (NeurIPS 2026 · similarity 0.90)
- EffiBench-X: A Multi-Language Benchmark for Measuring Efficiency of LLM-Generated Code (NeurIPS 2025 · similarity 0.89)
Writing a paper in this area? scime draft is a free LaTeX editor with AI included, real-time co-authors and a check of your references and venue rules before you submit. It also imports OpenAI Prism projects.