scimeatlas

Research map / Large language models / Agents, code and math

Debug or Regenerate? Test-Guided Selection for LLM Code Repair

Atharv Kulkarni, Archiki Prasad, Vivek Srikumar, Elias Stengel-Eskin, Hyunji Lee, Mohit Bansal

EMNLP 2026Large language models › Agents, code and mathapproach: Execution-based code verificationopen problems in this approach0 citations (OpenAlex)

University of North Carolina at Chapel Hill · University of Utah · University of Texas at Austin

Read the paperPlace an idea next to itCheck your own paper ↗

13measured effects
9improved
2no clear effect
1hurt
1mixed

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 changedWhereMeasuredEffect
use PATSSEL routing between debugged and regenerated candidates instead of two Debug attempts (gold tests)Qwen3-8B · HE+Fixaccuracy: 93.7 -> 96.0Improved
use PATSSEL routing instead of two ReGen attempts (gold tests)Qwen3-8B · LeetCodeDatasetaccuracy: 71.4 -> 74.5Improved
use PATSSEL with RL test generator instead of ReGenQwen3-8B · LeetCodeDatasetaccuracy: 71.0 -> 70.6 (-0.4%)No clear effect
use RL-trained test generator instead of base test generator for routing (ablation)PATSSEL (Qwen3-8B) · LiveCodeBenchaccuracy: 24.5 -> 25.5Improved
use gold verifier tests instead of Base test gen (ablation)PATSSEL (Qwen3-8B) · LiveCodeBenchaccuracy: avg. improvement over single-strategy 2.2% -> 3.1%Improved
add execution-based candidate selection instead of outcome-independent routers (ablation)PATSSEL · LeetCodeDatasetaccuracy: 67.5 (TF-IDF router) -> 70.4 (Base) / 70.6 (RL)Improved
replace own debugger with stronger FrogMini-14B debugger (gold tests) (ablation)PATSSEL · LeetCodeDatasetaccuracy: PATSSEL 78.2 vs ReGen 71.4, Debug 69.4Improved
allocate two-candidate budget across both strategies instead of one strategy (ablation)PATSSEL (Gold Tests) · LeetCodeDatasetaccuracy: 74.5 vs 71.4 (ReGen x2), 64.4 (Debug x2)Improved
regenerate instead of debug on lowest pass-rate bucket Q1Qwen3-8B base · LeetCodeDataset Q1accuracy: +25.8 pointsImproved
debug instead of regenerate on highest pass-rate bucket Q4Qwen3-8B base · LeetCodeDataset Q4accuracy: +2.3 pointsImproved
use RL-trained debugger in place of base debugger (ablation)Qwen3-8B · LeetCodeDatasetaccuracy: Q1 advantage of regeneration 18.9 points; Q4 debugger +1.2Mixed
use PATSSEL with Base test gen vs ReGen on LeetCodeDatasetQwen3-8B · LeetCodeDatasetaccuracy: -0.3%No clear effect

Open problems this paper states

Open problems in execution-based code verification

Can execution-based code verification be trusted beyond Python, small benchmarks and the tests it relies on?

All 5 open problems and what was already tried →

Closest papers by meaning

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.

Open scime draft

Get the next scime Dispatch and a monthly field update

Free. We send a confirmation link first; every email has a one-click unsubscribe. Privacy