AI engineering glossary · Evals guardrails AI security

What is humanEval?

HumanEval: A code-generation benchmark of hand-written Python programming problems, each with unit tests, used to check whether a model writes functionally correct code. Results are commonly reported as pass@k, the chance that at least one of k sampled solutions passes all tests.

Level: intermediateTopic: Evals guardrails AI security

HumanEval: an example

A model writes a function to reverse words in a sentence; it counts as solved only if the hidden unit tests all pass.

Related terms

More Evals guardrails AI security terms

Where you learn it

HumanEval is part of the AI Engineering Program, which teaches it with notes, a hands-on lab and an exam. The first lesson is free.

Before you go

Take the cheat sheet with you

One free PDF: the key AI-engineering terms, formulas and Python idioms. No spam; unsubscribe any time.