As of 2026-10-26
HumanEval evaluates small, self-contained Python code generation from natural-language function specifications under functional tests.
Revision snapshot
Task and data. HumanEval is a set of 164 hand-written Python function-synthesis tasks defined by a signature, docstring, body placeholder, and hidden unit tests.
Scoring. The paper reports pass@k, an estimate of the probability that at least one of k generated samples passes all tests; higher is better for a fixed k and sampling setup.
What it measures. small, self-contained Python code generation from natural-language function specifications under functional tests.
Comparison rules. Never compare pass@1 to pass@10 or pass@100 as one metric. HumanEval+, language ports, and modified test suites are separate lineages.
Access and licensing. The Compendium cites aggregate results only and does not reproduce prompts, reference code, or tests.