Abstract
With the significant progress of large reasoning models in complex coding and reasoning tasks, existing benchmarks, like LiveCodeBench and CodeElo, are insufficient to evaluate the coding capabilities of large language models (LLMs) in real competition environments. Moreover, current evaluation metrics such as Pass@K fail to capture the reflective abilities of reasoning models. To address these challenges, we propose ICPC-Eval, a top-level competitive coding benchmark designed to probing the frontiers of LLM reasoning. ICPC-Eval includes 118 carefully curated problems from 11 recent ICPC contests held in various regions of the world, offering three key contributions: 1) A challenging realistic ICPC competition scenario, featuring a problem type and difficulty distribution consistent with actual contests. 2) A robust test case generation method and a corresponding local evaluation toolkit, enabling efficient and accurate local evaluation. 3) An effective test-time scaling evaluation metric, Refine@K, which allows iterative repair of solutions based on execution feedback. The results underscore the significant challenge in evaluating complex reasoning abilities: top-tier reasoning models like DeepSeek-R1 often rely on multi-turn code feedback to fully unlock their in-context reasoning potential when compared to non-reasoning counterparts. Furthermore, despite recent advancements in code generation, these models still lag behind top-performing human teams.
Introduction
As Large Language Models (LLMs) evolve, existing coding benchmarks are suffering from "ceiling effects." Models are now scoring near-perfectly on older benchmarks like HumanEval or MBPP, making it difficult to distinguish between a "good" model and a "great" one.
Furthermore, current evaluation methods often rely on Pass@K, which measures the probability of a model getting the right answer in $K$ independent attempts. This doesn't reflect how humans—or modern "reasoning" models—actually work. In real-world competitive programming, success often comes from an iterative process: writing code, seeing it fail a test case, and refining the logic. Finally, many existing benchmarks rely on private test cases from online judges, making it difficult for researchers to perform reproducible local evaluations.
Methodology
The authors developed a pipeline to turn elite-level competition problems into a robust, locally-executable benchmark:
- Iterative Refinement (Refine@K): Instead of just sampling multiple independent solutions, the authors propose a multi-turn evaluation. If a model's initial code fails, it receives the error message (compiler error, wrong answer, or timeout) as feedback and is given a budget of $K$ turns to fix it.
- LLM-Based Test Case Generation: To solve the "private test case" problem, they used Gemini 2.5 Pro to write C++ "generators." These generators produce both random data and "corner cases" (edge cases like empty inputs or maximum constraints). These were then validated against known accepted solutions to ensure zero false positives.
- Local Evaluation Toolkit: They standardized problem descriptions into LaTeX and provided a unified C++23 execution environment, allowing researchers to test models without needing access to external online judges.
Dataset: ICPC-Eval
The core contribution is the ICPC-Eval dataset, consisting of 118 problems curated from 11 recent ICPC contests (held between October and December 2024), including World Finals and Regional contests. Problems are tagged across eight domains, including Dynamic Programming, Graph Theory, Computational Geometry, and String Algorithms. Compared to benchmarks like LiveCodeBench, CodeElo, and USACO, ICPC-Eval is significantly more challenging.
Results and Analysis
Human vs. AI Performance Gap
A primary finding is the substantial gap between AI models and human competitive programmers. Top human ICPC medalists solve an average of 5.3 to 7.5 problems per contest. In contrast, the best AI model, o3-mini High, solved an average of only 3.1 problems.
The "Reasoning" Advantage and Domain Performance
The study highlights a fundamental divide between "reasoning" models (like DeepSeek-R1 and o1/o3) and "non-reasoning" models (like GPT-4o). Reasoning models actually use the feedback in the Refine@K process to improve their scores. Non-reasoning models often fail to reflect on their mistakes, sometimes even producing worse code after receiving feedback.
Furthermore, even the best models hit a "Geometry Wall." While they can handle basic algorithms and math, almost all models (except o3-mini and Gemini 2.5 Pro Exp) failed completely on Computational Geometry and Search Algorithms, which require intricate implementation details.
Scaling with "Thinking"
There is a strong positive correlation between the length of a model's Chain-of-Thought (CoT) and its performance on Refine@K. Models that "think" longer tend to be better at the iterative debugging process. For reasoning models, the jump from a single attempt to five refinement turns is massive. For example, DeepSeek-R1's performance improves significantly when it can see why its code failed, whereas non-reasoning models like Qwen2.5-Coder see almost no benefit from extra turns.
Conclusion
ICPC-Eval provides a much higher "ceiling" for evaluation than previous benchmarks. While reasoning models are making strides, they still lag behind human experts. Future work will involve expanding the dataset and mitigating contamination risks by updating the benchmark annually with new ICPC problems.
Summary updated