AI Glossary Term
What does “HumanEval” mean?
Definition
A benchmark of Python programming problems used to measure code-generation correctness via unit tests.
How HumanEval works
Example
A problem gives a function name and a docstring such as 'return the sum of even numbers in a list'. The model writes the body, and tests check it against several inputs.
Why it matters
HumanEval offered a simple way to measure whether generated code works. Its 164 problems are small, so strong models have largely saturated it.
Common questions
Who introduced it?
OpenAI researchers in 2021, alongside the Codex model.
How many problems?
164 hand-written Python programming problems.
Limits?
The problems are short and well known, so it says little about real software projects.