Skip to content

Coding · Evaluator card

LiveCodeBench

2024Naman Jain et al.Paper (opens in a new tab)

A code generation benchmark built to resist contamination: it continuously collects new problems from competitive programming platforms (LeetCode, Codeforces, AtCoder) and scores models on problems released after their training cutoffs. It evaluates code generation, self-repair, code execution, and test output prediction.

Evidence notes pending review. The verdicts on this card are drafts derived from the benchmark's documentation and published sources; no reviewer has checked them against those sources yet.

Headline claim

LiveCodeBench pass@1 supports contamination-resistant comparisons of algorithmic code generation on competitive-programming problems released after a model's training cutoff; it does not support claims about real-world software engineering or code quality.

At a glance

Mechanism
Execution / effect checkerPrior: execution feedback, rung 2 of 4
Item format
Code
Size
Continuously growing (400+ problems at launch)
Typical uses
Measure
Saturation
Active
Contamination
Low risk
Year
2024

1Claim

What property are we trying to infer, over what world, and for what decision?

Construct
Algorithmic problem solving in code, with related skills: self-repair and predicting program behavior
Population
Competitive-programming problems from LeetCode, AtCoder, and Codeforces, filtered by release date relative to each model's training cutoff
Measures
  • Algorithmic problem-solving on genuinely unseen competitive programming problems
  • Code generation ability with minimal contamination risk due to continuous temporal updates
  • Self-repair capability — whether models can fix their own incorrect solutions given test feedback
  • Test output prediction — understanding program behavior without executing code
  • Performance trends over time as new problems are continuously added
Does not measure
  • Real-world software engineering — competitive programming is a specific and narrow skill
  • Ability to work with large codebases, APIs, or existing software systems
  • Code quality beyond functional correctness — competitive code is notoriously unreadable
  • Collaborative development, code review, or software design capabilities

2Instrument

How is the judgment actually produced?

Mechanism

Execution / effect checker

Generated programs run against the test cases; any wrong output, error, or timeout fails the sample. The code-execution and test-output-prediction scenarios compare a predicted output with the reference by exact match.

Hierarchy prior: execution feedback, rung 2 of 4. A prior over expected grounding, not a verdict on validity: the evidence notes under Validation say what has been measured.

Item format
Code
Specification
A generated program passes when it produces the expected output on every test case for the problem within the time limit.
Anchor
Test inputs with expected outputs for each problem, collected from the platforms or generated
Evidence view
The program's outputs on the test inputs; for the output-prediction scenarios, the predicted output
Signal
Binary pass/fail per sample
Resolution
Final program (or predicted output) per problem
Aggregation
pass@1 and pass@5 (at least one of k samples passes), averaged over the problems in a release-date window
Metrics
pass@1, pass@5
Size
Continuously growing (400+ problems at launch)
Methodology
Continuously scrapes new problems from LeetCode, Codeforces, and AtCoder after a defined cutoff date. Problems include input/output specifications and test cases. Models generate solutions that are tested against the full test suite. Evaluates four scenarios: direct code generation, self-repair after seeing failed test cases, code execution (predicting a program's output), and test output prediction. Temporal filtering keeps only problems published after a model's training cutoff, so they cannot have appeared in its training data, provided the stated cutoff is accurate.

3Regime

What causal role does the signal play, and what happens when a system adapts to it?

Typical uses
  • Measure · supports inference and decision
Exposure
Every problem is public from the day it is published, so a time window is clean only for models whose training cutoff precedes it, and only until later training runs absorb it. It is a headline coding number in reasoning-model releases, and the same platforms are a major source of reinforcement-learning data, so windows age quickly.

4ValidationDraft

Why should we believe that the signal means what we claim it means — before and after the system adapts to it?

LiveCodeBench's evidence supports contamination-resistant claims about algorithmic code generation: release-date filtering against model training cutoffs is the control that static benchmarks lack. Competitive programming is a narrow lens on coding ability — a model that excels here may still struggle with real software engineering — so broader coding claims pair it with SWE-bench.

Evidence notes1 supported · 1 partially supported · 1 not supported

  1. Supported

    Scoring only problems released after a model's training cutoff gives contamination-resistant results, provided the cutoff is accurately known

    The authors observed some models' accuracy dropping sharply on problems released after their training cutoffs, consistent with contamination of earlier problems that date filtering removes.

    Source: Jain et al., 2024

  2. Not supported

    Indicates real-world software engineering ability

    Competitive programming emphasizes algorithmic tricks; codebases, APIs, design, and code quality are outside the item pool.

  3. Partially supported

    Scores from different time windows are comparable

    Problems carry platform difficulty labels, but the mix depends on what platforms publish rather than deliberate calibration; compare models on the same window.

5Lifecycle

Does the validity survive over time, and are we still evaluating the right thing?

Saturation
Active

Whether top systems still differ, or crowd the ceiling.

Contamination
Low risk

How likely test items, or close variants, have leaked into training data.

Successors
None listed
Last reviewed
Not yet reviewed · card updated October 12, 2026

Limitations

  • Competitive programming problems emphasize algorithmic tricks over practical software skills
  • Problem difficulty distribution depends on what platforms publish, not on deliberate calibration
  • Requires regular updates to maintain the contamination-free property as training data evolves
  • Platform-specific formatting and conventions may advantage models trained on similar data

When to use

  • Evaluating code generation with strong control over contamination
  • Tracking model improvement over time on genuinely novel programming problems
  • Assessing algorithmic reasoning and self-repair capabilities in coding tasks

When not to use

  • Evaluating real-world software engineering ability — use SWE-bench for that
  • When you care about code quality, readability, or software design rather than just correctness

Handbook case studies