BigCodeBench
by BigCode project
What is BigCodeBench? BigCodeBench is a coding eval made by BigCode project. Programming tasks that require calling many real libraries correctly, closer to everyday developer work than puzzle-style problems.
Editor note
Programming tasks that require calling many real libraries correctly, closer to everyday developer work than puzzle-style problems.
- What it tests
- Library-heavy, practical Python tasks.
- Original source
- github.com/bigcode-project/bigcodebench
- Last updated
- Repo last commit 2026-01-03
- License
- Apache-2.0
When to use BigCodeBench
- You want coding tasks closer to practical work than single algorithms: 1,140 tasks that call functions from 139 libraries across 7 domains, such as data analysis and web development.
- You want to separate two prompt styles: Complete (full docstrings) and Instruct (short natural-language instructions).
- You need a smaller, harder cut: BigCodeBench-Hard has 148 tasks the maintainers describe as closer to real-world programming.
Limitations
- It is Python only.
- The maintainers warn that batch inference results can vary between batch sizes and versions (at least with the vLLM backend), so fix your settings when comparing runs.
How to run it
- Install the package (remote evaluation is the default; a Docker image is also available for local execution).
- Run bigcodebench.evaluate with your model, choosing an execution backend (e2b, gradio or local), a split (complete or instruct) and a subset (full or hard).
- For more deterministic greedy decoding with the vLLM backend, the maintainers recommend setting batch size to 1 (--bs 1), because batch results can vary by batch size and version.
- Results land under bcb_results/, including sanitized samples and pass@k JSON.
pip install bigcodebench --upgrade
bigcodebench.evaluate \
--model <model> \
--execution gradio \
--split instruct \
--subset hard \
--backend vllmNotable results
- Each task has on average 5.6 test cases with 99% branch coverage. Across 60 LLMs, the top score was up to 60%, against 97% for humans. [Paper (arXiv)]
Sources
Related on Evals Review
- LiveCodeBench: contest-style problems collected over time, scored inside a date window you choose
- LiveCodeBench vs SWE-bench: contest problems vs real repositories
Compare BigCodeBench
Related coding evals
- SWE-bench — Fixing real bugs in real repositories, judged by unit tests.
- HumanEval — Writing a short correct function from a docstring.
- LiveCodeBench — Code generation, self-repair and test prediction on fresh problems.
- Aider leaderboards (Polyglot) — Practical multi-language code editing.
Discussion
No one has discussed BigCodeBench yet. Have you run it? Share what it caught, what it missed or how you set it up.