Research map / Large language models / Agents, code and math
Idea First, Code Later: Disentangling Problem Solving from Code Generation in Evaluating LLMs for Competitive Programming
Sama Hadhoud, Alaa Elsetohy, Frederikus Hudi, Jan Christian Blaise Cruz, Steven Halim, Alham Fikri Aji
MBZUAI · NAIST · National University of Singapore
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 |
|---|---|---|---|
| provide gold editorial before coding (ablation) | all 19 LLMs (average) · ICPC-style 83 problems | pass@1 (%): 23.2 -> 37.7 | Improved |
| provide gold editorial before coding (ablation) | all 19 LLMs (average) · T3 (hardest) problems | pass@1 (%): 8.0 -> 16.5 | Improved |
| let the model generate its own editorial before coding (ablation) | all 19 LLMs (average) · ICPC-style 83 problems | pass@1 (%): 23.2 -> 23.1 | No clear effect |
| let the model generate its own editorial before coding (ablation) | GPT-OSS-120B · ICPC-style 83 problems | pass@1 (%): 41.0 -> 31.3 | Hurt |
| let the model generate its own editorial before coding (ablation) | O3 · ICPC-style 83 problems | pass@1 (%): 51.8 -> 45.8 | Hurt |
| let the model generate its own editorial before coding (ablation) | DeepSeekR1 · ICPC-style 83 problems | pass@1 (%): 28.9 -> 45.8 | Improved |
| let the model generate its own editorial before coding (ablation) | Claude Opus 4 · ICPC-style 83 problems | pass@1 (%): 21.7 -> 30.1 | Improved |
| let the model generate its own editorial before coding (ablation) | closed-source models (average) · T3 (hardest) problems | pass@1 (%): 14.7 -> 12.5 | Hurt |
| pair a strong writer's editorial with a different coder model | open-weight coders (Qwen3-Coder-480B-A35B, GPT-OSS-20B, Qwen3-8B) · ICPC-style 83 problems | pass@1 | Improved |
| use editorial-level algorithmic correctness as predictor | generated editorials (expert-annotated) · CS3233 2025 Midterm (22 editorials) | accepted submissions: 12 of 15 correct editorials accepted; 0 of 7 incorrect | Improved |
Open problems this paper states
- “Dataset is small, with seven contests and 83 problems, and main experiments use only C++.” → Benchmarks are small, with a few dozen to a few hundred problems. (an open problem in code generation benchmarks)
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
- InteractBench: Benchmarking LLMs on Competitive Programming under Unrevealed Information (ICML 2026 · similarity 0.92)
- LiveCodeBench Pro: How Do Olympiad Medalists Judge LLMs in Competitive Programming? (NeurIPS 2025 · similarity 0.92)
- Competition-Level Problems are Effective LLM Evaluators (ACL 2024 · similarity 0.91)
- ICPC-Eval: Probing the Frontiers of LLM Reasoning with Competitive Programming Contests (NeurIPS 2025 · similarity 0.91)
- CPRet: A Dataset, Benchmark, and Model for Retrieval in Competitive Programming (NeurIPS 2025 · similarity 0.89)
- Planning in Natural Language Improves LLM Search for Code Generation (ICLR 2025 · similarity 0.88)
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.