HumanEval
What is HumanEval?
In one sentence: HumanEval is a coding benchmark of 164 programming problems where models must write Python functions that pass tests.
Each problem gives a function description, and the model's code is checked by running hidden tests. It is usually scored with pass@k.
What does HumanEval look like?
"Write a function that returns True if a string is a palindrome" is the kind of problem in HumanEval.
Why does HumanEval matter?
It was a standard early test of AI coding ability.
Last updated · Fact-checked by The AI Math
Linking to this page from a lesson or article? <a href="https://getaimath.com/dictionary/humaneval/">HumanEval, explained simply</a> (The AI Math Dictionary)