LiveCodeBench
LiveCodeBench evaluates code generation on competitive programming problems that are time-stamped, so a model is scored only on problems published after its training cutoff. That single design decision neutralises the contamination that made older code benchmarks unreliable, and it is why the benchmark stayed useful while HumanEval did not.
| What it measures | Code generation and related skills (self-repair, execution, test-output prediction) on fresh competitive-programming problems, designed to be contamination-free. |
|---|---|
| Built by | UC Berkeley, MIT and Cornell (Jain, Han et al.), 2024 |
| Format | Continuously harvested LeetCode, AtCoder and Codeforces problems (1,000+), each time-stamped so a model is scored only on problems released after its training cutoff |
| Scoring metric | pass@1 |
| Status | Active |
| Representative top score | Not independently confirmed; see the leaderboard |
| Official leaderboard | livecodebench.github.io/leaderboard.html |
How LiveCodeBench works
Problems are harvested continuously from LeetCode, AtCoder and Codeforces, with more than a thousand collected, and each carries a release date. When a model is evaluated, the harness filters to problems published after that model’s training cutoff. Alongside code generation it scores self-repair, code execution and test-output prediction, which separates writing code from reasoning about it. The headline metric is pass@1.
History and current status
Researchers at UC Berkeley, MIT and Cornell introduced it in 2024, at the point where HumanEval had saturated and contamination had become the central complaint about code benchmarks. Its time-stamping approach was influential: the same principle now underpins SWE-bench-Live, SWE-rebench and LiveBench’s monthly rotation.
What the score does not tell you
Competitive programming is a narrow slice of software work: short, self-contained, algorithmically dense problems with clean specifications, which is nothing like maintaining a codebase. Filtering by training cutoff also depends on the cutoff being accurately known and honestly reported, and scores computed over different date windows are not strictly comparable.
This is the general case, not a quirk of one benchmark. For the four failure modes that decide whether any benchmark number means anything, read are AI benchmarks reliable, and for this row in particular, how benchmark contamination inflates scores.
Who reports LiveCodeBench, and how to read it
It is academically maintained with a public leaderboard, and labs cite it reasonably often because the contamination story is credible. Check which date window a quoted figure covers, since the problem pool grows continuously and a number without a window is ambiguous.
Benchmarks to read alongside this one
HumanEval
Whether a model can synthesize a single correct Python function from a docstring so that it passes the provided unit tests.
Aider Polyglot
How well a model writes and correctly edits code across many languages, including applying diffs in the right format and self-correcting after test failures.
LiveBench
Broad capability across six categories at once (math, coding, reasoning, data analysis, instruction following, language), on questions refreshed monthly.
LiveCodeBench: frequently asked questions
- What is LiveCodeBench?
- LiveCodeBench is a code-generation benchmark built from continuously harvested LeetCode, AtCoder and Codeforces problems, each time-stamped so a model is scored only on problems released after its training cutoff. It also measures self-repair, execution and test-output prediction.
- How does LiveCodeBench avoid contamination?
- By time-stamping. Because every problem carries a release date, the harness can exclude anything published before a model’s training cutoff, so the model cannot have memorised the solution. This is the same principle later used by SWE-bench-Live and LiveBench.
- Is LiveCodeBench better than HumanEval?
- For current models, yes. HumanEval is saturated near 99% and its 164 problems are heavily republished, so it cannot rank frontier models. LiveCodeBench still separates them and its contamination defence actually works. Neither measures repository-scale engineering.
Get each breakdown before it makes the rounds
You get one email when a new source-backed analysis goes live: what AI agents actually cost, which models are worth running, and what the benchmarks really mean. No hype.
No spam. Unsubscribe anytime.