Benchgen

HumanEval+ — Results

RankModelScore
1o1-mini89
2o1-preview89
3gpt-4o87.2
4qwen2-5-coder-32b-instruct87.2
5deepseek-v386.6
6gpt-4-turbo86.6
7deepseek-v2-583.5
8gpt-4o-mini83.5
9claude-3-5-sonnet81.7
10gemini-1-5-pro79.3
11claude-3-opus77.4
12gemini-1-5-flash75.6
13gpt-3-5-turbo70.7
14claude-3-haiku68.9
15claude-3-sonnet64
16llama-3-1-8b-instruct62.8
17command-r-plus56.7
18gemini-pro55.5

HumanEval+

1 phaseActive

EvalPlus's rigorously-tested extension of HumanEval, using 80x more test cases per problem to expose LLM-generated code that passes weak tests but is actually wrong.

Overview

HumanEval+

Category Metric Tasks Saturation Created

Paper GitHub

Quick answer: HumanEval+ is the EvalPlus framework's rigorously-augmented version of OpenAI's original HumanEval benchmark, extending the same 164 hand-written programming problems with roughly 80x more automatically-generated test cases per problem, so that code which merely passes HumanEval's sparse original tests can no longer hide subtle correctness bugs.

At a Glance

What it tests: Whether LLM-generated Python solutions to HumanEval's 164 programming problems are genuinely correct across a much wider range of inputs, not just the handful of test cases originally shipped with HumanEval.

Why it matters: The original HumanEval's test suites are sparse enough that plausible-looking but subtly incorrect code frequently passes; HumanEval+'s 80x larger test suites catch these failures, in some cases dropping measured pass@k by 19.3–28.9 percentage points and re-ordering model leaderboards.

Known limitations: HumanEval+ still inherits HumanEval's narrow scope of short, single-function Python problems, so strong HumanEval+ performance doesn't guarantee competence on larger, multi-file, real-world software engineering tasks.

What HumanEval+ Measures

EvalPlus augments existing code-generation benchmarks with large numbers of new test cases, generated through a combination of LLM-based and mutation-based test-input generation strategies. Applied to HumanEval, this produces HumanEval+: the same 164 problems, but with roughly 80x as many test cases per problem as the original release.

Across 26 evaluated LLMs (including GPT-4 and ChatGPT), the authors found that HumanEval+'s stricter testing reduces measured pass@k scores by up to 19.3–28.9 percentage points relative to original HumanEval, and can even change model rankings — the paper reports that WizardCoder-CodeLlama and Phind-CodeLlama outperform ChatGPT on HumanEval+ despite neither doing so on the original HumanEval.

Benchmark Specifications

FieldValue
Task categoryCoding / rigorous Python function synthesis
Metricpass@k on the augmented (80x larger) test suite
Number of tasks164 problems (same problem set as HumanEval)
SaturationHigh for older/frontier models on original HumanEval, but meaningfully lower and more discriminating on HumanEval+
Created byJiawei Liu, Chunqiu Steven Xia, Yuyao Wang, Lingming Zhang (University of Illinois Urbana-Champaign)
Source paperLiu et al. 2023
GitHubevalplus/evalplus

How HumanEval+ Is Scored

Generated code is executed against the expanded test suite; pass@k reports the probability that at least one of k independently-sampled generations passes every test case for a given problem, matching the original HumanEval evaluation protocol but with a much stricter bar for "passing."

State-of-the-Art Results

The original EvalPlus paper found that test insufficiency in HumanEval led to model mis-ranking: WizardCoder-CodeLlama and Phind-CodeLlama outperformed ChatGPT on HumanEval+, despite neither doing so on the original, more permissive HumanEval. See the EvalPlus leaderboard for current per-model results.

HumanEval+ on Benchgen

No Benchgen results yet — be the first to run HumanEval+.

HumanEval+ vs Other Benchmarks

BenchmarkWhat it testsTasksSaturation
HumanEval+Rigorously-tested Python function synthesis164high
HumanEvalOriginal, sparser-tested Python function synthesis164high
MBPP+Rigorously-tested entry-level Python problems399high
OJBenchElite competition-level code reasoning232low

HumanEval+ is distinguished from OJBench and other elite competitive-programming benchmarks by testing correctness rigor on the same style of introductory-to-intermediate problems as HumanEval, rather than raising the underlying problem difficulty.

Run HumanEval+ on Your Model

Benchgen lets teams evaluate their own model against HumanEval+'s rigorously-expanded test suite, surfacing correctness gaps that the original HumanEval's sparser tests would otherwise miss.

Frequently Asked Questions

What is HumanEval+? HumanEval+ is EvalPlus's rigorously-augmented version of HumanEval, testing the same 164 Python problems against roughly 80x more test cases per problem to catch subtly incorrect generated code.
What does a good HumanEval+ score look like? Because HumanEval+'s stricter tests can drop pass@k by up to 19.3–28.9 percentage points versus original HumanEval, a strong HumanEval+ score is one that holds up close to a model's original HumanEval score rather than collapsing under stricter testing.
Who created HumanEval+? HumanEval+ was created by Jiawei Liu and collaborators at the University of Illinois Urbana-Champaign as part of the EvalPlus framework, published in May 2023.