Benchmarks · Coding & software engineering

LiveCodeBench

also: LCB

How well a model codes on problems it could not have memorised, by dating every problem and checking performance separately on those published before and after the model's training cutoff.

UC Berkeley, MIT & CornellReleased 12 March 2024Live

By early 2024, two of coding’s most-cited benchmarks had a shared problem: HumanEval and MBPP had been sitting on the open web for years, and nobody could rule out that their exact problems and solutions had been absorbed into the training data of the models being scored against them. LiveCodeBench, published by researchers at UC Berkeley, MIT and Cornell, answered with a benchmark that could not go stale in the same way: it continuously pulls fresh problems from LeetCode, AtCoder and Codeforces contests and tags each with its publication date, so a model’s score can be split between problems that predate its training cutoff and ones that came after.

The date-segmented design did what it was built to do — it produced direct evidence that some models scored measurably better on older, plausibly-memorised problems than on newer ones, turning contamination from a suspicion into something a benchmark could actually show. Beyond plain code generation, LiveCodeBench also grades self-repair, test-output prediction and code execution, giving a fuller picture of coding competence than a single pass/fail generation task. It was adopted quickly and now appears in most frontier model release reports: DeepSeek, for instance, reported its V3 and R1 updates through 2025 climbing from the 30s and 60s into the 70s on the benchmark.

Because the problem pool keeps refreshing, LiveCodeBench has so far avoided the saturation that overtook its predecessors, and its live-update approach became a template other domains borrowed when they ran into the same contamination problem. It is not the final word on coding ability — the underlying problems are still competitive-programming puzzles rather than the messy, multi-file work of real software engineering, which is closer to what benchmarks like SWE-bench try to test — but as a coding leaderboard number resistant to memorisation, it has become close to a default.

The set

Competitive-programming problems continuously scraped from LeetCode, AtCoder and Codeforces contests, each tagged by publication date. Beyond plain code generation, it also scores self-repair (fixing code from a failing test), test-output prediction, and code execution — a broader slice of coding ability than a single generate-and-check pass.

Example

One problem in the set, titled 'Anti', verbatim: 'A DDoS-type string is a string of length 4... The first and second characters are equal. For instance, DDoS and AAaA are DDoS-type strings.' Given a string with wildcards, count completions avoiding a DDoS-type subsequence, mod 998244353.huggingface.co

Where it stands

Widely adopted since 2024 as the standard contamination-resistant coding benchmark and cited in most frontier release reports; scores keep climbing as the problem pool refreshes, so it has not saturated the way HumanEval and MBPP did.

How the top score changed hands

  1. March 2025DeepSeek V3-032449.2%Up from 39.2% for the preceding DeepSeek V3 checkpoint, per DeepSeek's own release notes.
  2. May 2025DeepSeek R1-052873.3%

Current best: DeepSeek R1-0528 — 73.3% Self-reported by DeepSeek in its own update announcement, up from 63.5% for the prior R1 checkpoint; later 2025–26 frontier models likely score higher but a comparably sourced figure was not confirmed here.

In the timeline · 9 entries

More coding & software engineering benchmarks