Skip to main content

Models · Evals

HumanEval

Function-level Python code generation

What it measuresFunction-level Python code generation
Tasks and data164 tasks with a function signature and docstring; generate the implementation
Metricpass@1 / pass@k (unit-test pass rate)
Contamination riskVery high; the problems and tests are widely public.
ReproductionLow cost; execute in a sandbox with pinned Python and test dependencies.
CostLow; runnable locally.
Snapshot2026-11-19
Verified2026-11-19

How to read it

Small and single-language. Use it as a smoke test, not a complete code benchmark.

Next steps

  • Pin the repo snapshot, tool permissions and timeout; split failures into build, test, permission and environment.
  • Re-run on 20–50 of your real issues or tasks; separate “can write code” from “can deliver a usable result”.
  • Report pass@1 with token cost and human review time; pass rate alone hides rework.
Leaderboard / source:https://github.com/openai/human-eval · Snapshot 2026-11-19