Benchgen

BigCodeBench — Results

RankModelScore
1claude-sonnet-3-70.358
2deepseek-r1-05280.351
3deepseek-v30.345
4gemini-2-5-pro0.331
5gpt-4-10.328
6deepseek-v3-03240.318
7gpt-4-1-mini0.318
8gpt-4o0.311
9qwen2-5-coder-32b-instruct0.308
10claude-3-5-sonnet0.304
11claude-3-5-haiku0.301
12claude-3-5-sonnet-v10.294
13gemini-2-0-flash0.287
14llama-4-maverick0.284
15llama-3-3-70b-instruct0.284
16phi-40.274
17llama-3-1-405b-instruct0.264
18claude-3-opus0.26
19gemma-3-27b0.26
20gemini-1-5-pro0.254
21qwen2-5-72b-instruct0.254
22llama-3-1-70b-instruct0.254
23qwen2-5-32b-instruct0.246
24qwen2-5-14b-instruct0.209
25qwen2-72b-instruct0.206
B

BigCodeBench

1 phaseActive

Practical code generation benchmark with 1,140 tasks requiring multi-library function calls and complex instruction following across 7 domains.

Overview

BigCodeBench

Category Metric Tasks Saturation Created

Paper GitHub Dataset

Quick answer: BigCodeBench (Zhuo et al., June 2024) challenges LLMs to generate correct Python solutions for 1,140 fine-grained programming tasks that require invoking multiple functions from 139 real-world libraries across 7 domains. Its two evaluation variants — Complete (code completion from docstrings) and Instruct (natural language instructions) — measure both completion ability and instruction-following quality, making it one of the most practically-oriented coding benchmarks.

At a Glance

What it tests: Multi-library Python code generation covering data processing, numerical computing, web APIs, OS operations, cryptography, NLP, and visualization tasks.

Why it matters: Unlike HumanEval or MBPP which use toy problems, BigCodeBench requires composing real library calls in realistic scenarios, exposing weaknesses in models that excel on simple algorithmic tasks but struggle with practical software engineering.

Known limitations: Evaluation requires executing the generated code in a sandboxed environment, which can be slow; also, the leaderboard has limited coverage of post-2025 frontier models.

What BigCodeBench Measures

BigCodeBench constructs each task around a practical programming scenario that requires calling at least one function from a real library (e.g., pandas, numpy, requests, cryptography). Tasks are drawn from 7 domains: data processing, numerical computing, network/web, OS operations, cryptography, NLP, and data visualization. For each task, a model must generate code that passes a suite of unit tests — not just produce syntactically valid output.

The benchmark has two variants: Complete evaluates code completion from structured docstrings (testing if models are good at coding given full specifications), while Instruct evaluates code generation from brief natural language instructions (a "vibe check" for whether models can translate human intent into working code). The Instruct variant is generally considered more representative of real-world use.

A subset of approximately 150 "Hard Set" tasks represents the most challenging and user-facing problems; models score significantly lower on this subset than on the full 1,140-task set.

Benchmark Specifications

FieldValue
Task categoryCoding
MetricCalibrated Pass@1 (greedy decoding)
Number of tasks1,140 (full set); ~150 hard set
SaturationLow
Created byZhuo et al. (BigCode Community)
Source paperZhuo et al. 2024
GitHubbigcode-project/bigcodebench
Datasetbigcode/bigcodebench-leaderboard

How BigCodeBench Is Scored

BigCodeBench uses calibrated Pass@1 — the fraction of tasks where the model's greedy-decoded output passes all unit tests. A "calibrated" score accounts for the proportion of trivially-correct solutions to remove luck-based passes. Scores are expressed as percentages or fractions (0–1). The typical range for frontier models is 25–36% on the Instruct variant, highlighting the genuine difficulty of multi-library programming tasks.

State-of-the-Art Results

FAQ

What is BigCodeBench? BigCodeBench is a coding benchmark with 1,140 Python programming tasks that require multi-library function calls from 139 real-world libraries across 7 domains, evaluating practical code generation beyond simple algorithmic problems.

What is the difference between BigCodeBench Complete and Instruct? Complete evaluates code completion given structured long docstrings; Instruct evaluates code generation from brief natural language descriptions. The Instruct variant is generally harder and more representative of real-world coding assistant use cases.

What is a good BigCodeBench score? Current frontier models score 30–36% on the Instruct variant, reflecting the genuine difficulty of multi-library programming. The hard subset is even more challenging with typical scores 10–20% lower.