Coding

LiveCodeBench

by LiveCodeBench team (academic)

What is LiveCodeBench? LiveCodeBench is a contamination-resistant coding benchmark: it keeps adding new contest problems from LeetCode, AtCoder and CodeForces, so you can score a model only on problems published after its training cutoff. Use it for algorithmic coding with less memorisation risk; for fixing real repositories, use SWE-bench or SWE-bench Pro instead.

Page last updated 2026-11-03 · Evals Review

Editor note

Keeps collecting new contest problems over time, so you can test a model only on problems released after its training cutoff.

What it tests
Code generation, self-repair and test prediction on fresh problems.
Original source
livecodebench.github.io/
Last updated
Not checked yet
License
MIT (code repository)

Facts come only from the linked source (checked 15–16 Oct 2026). Credit belongs to the creators. We don't score or rank evals: how we review.

LiveCodeBench release versions (README read 22 Oct 2026)

ReleaseProblems releasedProblems
release_v1May 2023 – Mar 2024400
release_v2May 2023 – May 2024511
release_v3May 2023 – Jul 2024612
release_v4May 2023 – Sep 2024713
release_v5May 2023 – Jan 2025880
release_v6May 2023 – Apr 20251,055

Source: LiveCodeBench README

When to use LiveCodeBench

  • You worry that a model has memorised older coding benchmarks: LiveCodeBench keeps adding contest problems from LeetCode, AtCoder and CodeForces, and you can score only problems released after a model's training cutoff.
  • You want more than code generation: it also has self-repair, code execution and test output prediction scenarios.

Limitations

  • Problems are competitive-programming style, which is different from day-to-day software engineering in a large codebase.
  • Results depend on the release version (release_v1 had 400 problems; later releases have more) and on the date window you pick, so report both.
  • The default code_generation_lite set prunes many test cases to run faster; note which set you used.
  • Some problems are graded unfairly: the official ERRATA file (read 3 Nov 2026) lists problems that accept several correct outputs but are graded against one, 2 interactive problems the harness cannot run, and problems with erroneous test cases. Expect a little noise, and check ERRATA before you read small score gaps as real.

How to run it

  1. Clone the repository and install with uv.
  2. Run a scenario for your model, then add --evaluate to score it.
  3. Use compute_scores with a start date to score only problems after a given date.
git clone https://github.com/LiveCodeBench/LiveCodeBench.git && cd LiveCodeBench
uv venv --python 3.11 && uv pip install -e .
python -m lcb_runner.runner.main --model <model> --scenario codegeneration --evaluate --release_version release_v2

Notable results

  • The paper evaluated 18 base and 34 instruction-tuned models and reports findings on contamination and possible overfitting to older benchmarks such as HumanEval. [Paper (arXiv)]

Sources

Everything above comes from the sources listed, read on 15–16 Oct 2026. Commands are copied from the official instructions; check the source for changes.

FAQ

Is LiveCodeBench contamination-free?

It is designed to reduce contamination: you pass --start_date and --end_date to score only problems released inside a window, for example after a model's training cutoff. Its README calls the evaluation contamination-free on that basis.

LiveCodeBench or SWE-bench?

LiveCodeBench tests solving contest problems from a statement; SWE-bench tests an agent patching real GitHub repositories. Our LiveCodeBench vs SWE-bench comparison goes through it row by row.

Which LiveCodeBench version should I report?

Always state the release version (release_v1 to release_v6 per the README), the date window and whether you used the default code_generation_lite set, because scores change with each.

Does LiveCodeBench have known bad problems?

Yes, and the maintainers list them in ERRATA.md: problems where several outputs are correct but only one is accepted, 2 interactive problems the harness does not support, and a few problems with wrong test cases. The README says this feedback is used to improve problem selection in later releases.

Reviews

No reviews yet.

Reviews are written by people who sign in with GitHub, one per account per eval. We can't confirm that each reviewer used the eval; we remove reviews that break our rules, never just for being negative, and we never add, buy or edit reviews. Averages, when shown, come only from these reviews.

Sign in with GitHub to review

Related coding evals

All Coding evals · Comparison table

Discussion

No one has discussed LiveCodeBench yet. Have you run it? Share what it caught, what it missed or how you set it up.

Sign in with GitHub to comment

Be specific and kind. No promotion or affiliate links. Community rules · All discussions