Learn AI Math

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?

Like this explanation? Get one every week.

The AI Math newsletter turns confusing AI news into plain English. No hype, no jargon walls.