Skip to content

In development. Expect rough edges and changes. The source code is not public yet.

Hugging Face 4 min read Announcement easyNovice

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

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.

Assumes: LLM code generationbenchmark contamination

Related posts

  • BigCodeBench: The Next Generation of HumanEval

    Hugging Face mediumAdept

    BigCodeBench is a code-generation benchmark of 1,140 Python function-level tasks that require composing calls from 139 libraries. Each task averages 5.6 unittest-based test cases with 99% branch coverage, and the tasks were built by expanding ODEX Stack Overflow intents with GPT-4 under human-expert refinement. It comes in Complete (docstring completion) and Instruct (conversational prompt) variants, scored by calibrated Pass@1 and Elo ratings. The best model, GPT-4o, reaches 61.1% and 51.1% respectively, against 97% for human experts, and an open-source PyPI harness with Docker images supports generation, sanitization and sandboxed evaluation.

  • Beat GPT-4o at Python by searching with 100 dumb LLaMAs

    Modal mediumAdept

    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. This replicates the core claim of the Large Language Monkeys paper on a new model and dataset, with fail@k following a smooth log-log scaling law across three orders of magnitude. The setup used vLLM with prefix caching on ten A100s, reaching about 40k output tokens/s, plus Modal Sandboxes running about 3,000 isolated test executions in parallel, all for under $50. The larger argument is that search trades memory for compute and depends on fast, objective evaluation, so domains with verifiable outcomes like code and formal math benefit most.

  • BigCodeArena: Judging code generations end to end with code executions

    Hugging Face mediumAdept

    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. It supports 10 languages and 8 environments, including React, Vue, Streamlit, Gradio, PyGame and Mermaid. Over five months it collected 14K conversations and 4.7K filtered preference votes. Bradley-Terry Elo with bootstrap confidence intervals ranked o3-mini and o1-mini on top, and per-language and per-environment win rates show weaknesses that aggregate scores hide. Two companion benchmarks are released: BigCodeReward, where giving LLM judges execution outputs raises their agreement with humans (e.g., GPT-4o from 54.6% to 63.8%), and AutoCodeArena, a 600-prompt automated benchmark judged by an LLM on which GPT-5 leads.

  • Open R1: Update #3

    Hugging Face hardMaster

    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. OlympicCoder-32B beats every open-weight model tested on IOI'2024, plus Claude 3.7 Sonnet, o1-mini and R1 itself under the 50-submission limit. The SFT lessons are concrete: sample packing badly hurts training on long reasoning traces, and a higher learning rate (4e-5) gains roughly 10 LiveCodeBench points per doubling. Adding editorials to prompts does not help, and prefilling `<think>` in the chat template is needed to reliably trigger long chain of thought.

  • StarCoder: A State-of-the-Art LLM for Code

    Hugging Face easyNovice

    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. With an 8K+ token context, they beat other open code models and match or exceed OpenAI's code-cushman-001 on HumanEval, MBPP, MultiPL-E and DS-1000. A solution-file prompt prefix lifts StarCoder's HumanEval score from 34% to 40.8%, and prompting alone turns the model into a technical assistant. The release includes weights under OpenRAIL-M, training code, an evaluation harness, a PII-redaction dataset and a code attribution tool.

The quest for software engineering knowledge.

Look:
Layout: