---
title: "Introducing the LiveCodeBench Leaderboard - Holistic and Contamination-Free Evaluation of Code LLMs"
description: "LiveCodeBench is a code-LLM benchmark built from LeetCode, AtCoder and CodeForces contest problems annotated with release dates, so models can be scored only on problems published after their training cutoff to avoid contamination."
url: "https://swe.quest/articles/introducing-the-livecodebench-leaderboard-holistic-and-contamination-free-cd05ed71356a1cca"
canonical: "https://huggingface.co/blog/leaderboard-livecodebench"
source: "Hugging Face"
published: "2024-04-16"
difficulty: "easy"
kind: "Announcement"
reading_minutes: 4
tags: ["evals","llms","ai-coding"]
---

# Introducing the LiveCodeBench Leaderboard - Holistic and Contamination-Free Evaluation of Code LLMs

A post on [Hugging Face](https://swe.quest/sources/hugging-face.md), published 2024-04-16, 4 min read, Announcement. Original: [https://huggingface.co/blog/leaderboard-livecodebench](https://huggingface.co/blog/leaderboard-livecodebench)

## Summary

LiveCodeBench is a code-LLM benchmark built from LeetCode, AtCoder and CodeForces contest problems annotated with release dates, so models can be scored only on problems published after their training cutoff to avoid contamination. Beyond code generation it evaluates self-repair from error feedback, code execution (predicting a function's output) and test output prediction, all scored with Pass@1. GPT-4-Turbo leads most scenarios and widens its lead on self-repair, while Claude-3-Opus wins test output prediction and Mistral-Large does relatively better on reasoning-heavy tasks. Models can be evaluated with the lcb\_runner CLI and submitted to the leaderboard.

Written by swe.quest, not by the author.

**Difficulty:** Easy: no special background needed; explains what something is and why it matters

## Topics

- [Evaluation](https://swe.quest/tags/evals.md) (AI & ML)
- [LLMs](https://swe.quest/tags/llms.md) (AI & ML)
- [AI for coding](https://swe.quest/tags/ai-coding.md) (AI & ML)

## Prerequisites

- LLM code generation ([easy posts on LLMs](https://swe.quest/tags/llms.md?difficulty=easy))
- benchmark contamination

## Keywords

LiveCodeBench, Pass@1, HumanEval, GPT-4-Turbo, Claude-3-Opus, Mistral-Large, Hugging Face

## Related posts

- [BigCodeBench: The Next Generation of HumanEval](https://swe.quest/articles/bigcodebench-the-next-generation-of-humaneval-19fbda5688a2d115.md): Hugging Face · 2024-06-18 · Medium · 10 min read · Evaluation, AI for coding, LLMs, Python
  BigCodeBench is a code-generation benchmark of 1,140 Python function-level tasks that require composing calls from 139 libraries.
- [Beat GPT-4o at Python by searching with 100 dumb LLaMAs](https://swe.quest/articles/beat-gpt-4o-at-python-by-searching-with-100-dumb-llamas-907f6997678a8d61.md): Modal · 2024-08-05 · Medium · 7 min read · LLMs, Inference & serving, Evaluation, AI for coding, Serverless
  Sampling LLaMA 3.1 8B Instruct many times and checking each candidate against HumanEval's unit tests raises pass@k from 66.4% at k=1 to 90.5% at k=100, matching GPT-4o's reported 90.2% pass@1, and to 95.1% at k=1000.
- [BigCodeArena: Judging code generations end to end with code executions](https://swe.quest/articles/bigcodearena-judging-code-generations-end-to-end-with-code-executions-e01cca9057c6a3ce.md): Hugging Face · 2025-10-07 · Medium · 9 min read · Evaluation, AI for coding, LLMs, Sandboxing & isolation
  BigCodeArena is a human-in-the-loop arena for code generation models that runs generated code in sandboxes, letting users interact with the output and vote on it.
- [Open R1: Update #3](https://swe.quest/articles/open-r1-update-3-1e6cd9aea901334e.md): Hugging Face · 2025-03-11 · Hard · 19 min read · Model training, Evaluation, LLMs, AI for coding
  Hugging Face's Open R1 project reproduces the code-reasoning side of DeepSeek-R1, releasing CodeForces-CoTs (about 100k R1-distilled C++ and Python solutions), a fully verifiable IOI benchmark with subtask grading and contest-style submission selection, and OlympicCoder 7B and 32B models fine-tuned from Qwen2.5 Coder.
- [StarCoder: A State-of-the-Art LLM for Code](https://swe.quest/articles/starcoder-a-state-of-the-art-llm-for-code-ae224d2374e67db4.md): Hugging Face · 2023-05-04 · Easy · 5 min read · LLMs, AI for coding, Evaluation, Open source
  StarCoder and StarCoderBase are ~15B-parameter code LLMs trained on 1 trillion tokens of permissively licensed GitHub data from The Stack 1.2, covering 80+ languages, commits, issues and notebooks, with StarCoder further fine-tuned on 35B Python tokens.

Browse: [Latest posts](https://swe.quest/index.md) · [Topics](https://swe.quest/tags.md) · [Sources](https://swe.quest/sources.md) · [Topic map](https://swe.quest/map.md) · [Site guide (llms.txt)](https://swe.quest/llms.txt)
