LiveCodeBench
Compare coding models on dated contest problems and code-related reasoning tasks.
Overview
LiveCodeBench is a coding benchmark built from competitive-programming problems that are collected continuously and tagged with their publication dates. Because each problem has a date, evaluators can restrict a run to problems released after a model's training cutoff, which limits contamination. Beyond writing code from a statement, it also probes self-repair, code execution, and test-output prediction.
What a task looks like
In the code-generation scenario, a model gets a contest problem statement from LeetCode, AtCoder, or Codeforces and must produce a program that passes hidden tests. The other scenarios ask a model to fix a failing solution, to predict what a given program returns, or to predict the output of a test input.
How it’s scored
The official code computes pass@1 and pass@5 by running generated programs against the problem's tests, using 10 samples per problem at temperature 0.2 by default. No LLM judge is described in the sources.
- Released
- 2024-03
- Size
- The paper describes 400 problems published between May 2023 and May 2024. The GitHub repository lists cumulative releases: release_v1 (400 problems), v2 (511), v3 (612), v4 (713), v5 (880), and v6 (1055, through April 2025), with sub-ranges selectable by version tag.
- Versions
- Paper v1 (12 March 2024) and v2 (6 June 2024). The dataset ships as release_v1 through release_v6, each adding newer problems; release_latest is the default.
- Access
- Public datasets on Hugging Face for code generation, code execution, and test-output prediction. The evaluation code is MIT licensed; the sources do not state a license for the datasets.
Summarized by Stubbi from the public sources listed below. Stubbi has not run this benchmark.
Published leaderboard
Explore scores and evaluation settings on the publisher’s leaderboard.
Open leaderboardCoverage
Problems collected over time from LeetCode, AtCoder, and Codeforces. The project covers code generation, self-repair, code execution, and test-output prediction.
Methodology
Select a dated problem window and evaluation scenario, then score generated solutions or predicted outputs against the corresponding tests.