Models · Evals
HumanEval
Function-level Python code generation
| What it measures | Function-level Python code generation |
|---|---|
| Tasks and data | 164 tasks with a function signature and docstring; generate the implementation |
| Metric | pass@1 / pass@k (unit-test pass rate) |
| Contamination risk | Very high; the problems and tests are widely public. |
| Reproduction | Low cost; execute in a sandbox with pinned Python and test dependencies. |
| Cost | Low; runnable locally. |
| Snapshot | 2026-11-19 |
| Verified | 2026-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