LiveCodeBench
LiveCodeBench is a coding benchmark that keeps adding new contest problems from LeetCode, AtCoder and Codeforces, so models can be tested only on problems published after their training data was collected.
LiveCodeBench was introduced in March 2024 by Naman Jain and colleagues, whose authors included Armando Solar-Lezama, Koushik Sen and Ion Stoica. They argued that older coding tests such as HumanEval and MBPP were no longer enough to judge newer models, and designed their benchmark to avoid contamination, where test problems leak into a model's training data.
Its answer is to keep the test fresh. It continuously collects problems from contests on three competitive programming sites, LeetCode, AtCoder and Codeforces, and records when each was published. A model whose training data was collected up to a certain date can then be tested only on problems released after that date, which it cannot have seen. By June 2024 it held 400 problems published between May 2023 and May 2024.
It also tests more than writing code. Besides generating solutions, models are asked to fix faulty code, to predict what a given piece of code will output, and to predict the expected output of a test case. These reflect parts of a programmer's work that pure code generation misses.
The design exposed contamination. The project reported that DeepSeek models showed a stark drop in performance on LeetCode problems released from September 2023 onwards, which suggests they had seen earlier problems in training, while GPT models stayed relatively stable across release months. The original study evaluated 18 base models and 34 instruction-tuned models.
Because the problem set changes, a LiveCodeBench score only means something alongside its date range or release version. Two models' scores are comparable only if they were tested on the same window. Like any competitive programming test, it measures self-contained algorithmic problem solving rather than work on large existing codebases.
It is a coding benchmark launched in March 2024 that keeps collecting new problems from LeetCode, AtCoder and Codeforces contests. It tests code generation, self-repair, code execution and test output prediction. Every problem is tagged with its release date. A model can be evaluated only on problems published after its training data was collected, so it cannot have memorised them. The problem set grows over time, and reports may use different date windows or release versions. Scores are only comparable when they come from the same window. It reported that DeepSeek models performed much worse on LeetCode problems released from September 2023 than on earlier ones, a sign the earlier problems had been in their training data. GPT models stayed relatively stable.Common questions
What is LiveCodeBench?
How does LiveCodeBench avoid contamination?
Why do LiveCodeBench scores differ between reports?
What did LiveCodeBench find about contamination?
Search for "LiveCodeBench leaderboard" or a model name with "LiveCodeBench" to see current results, and note the date window used. The project's website and paper explain the method. When comparing scores in model cards, check that both used the same release version.Finding more
Working out what this means for your business?
Aileron Shift builds the systems behind this site: AI newsrooms that research, write and publish on their own, marketing automation and WordPress hosting for companies that need to move faster than their competitors.