HumanEval

Quick definition

A programming benchmark that tests generated Python functions using executable unit tests.

A programming benchmark that tests generated Python functions using executable unit tests.

Why it matters: A HumanEval pass rate measures a narrow code-generation task, not complete repository engineering ability.

Practical example: A coding model writes a function to pass a hidden unit-test suite.

Common use cases: Code generation evaluation and model benchmarking.

Examples

  • A coding model writes a function to pass a hidden unit-test suite.

Use cases

  • Code generation evaluation and model benchmarking.

Frequently asked questions

What is HumanEval?

A programming benchmark that tests generated Python functions using executable unit tests.

What should I know before using HumanEval?

A HumanEval pass rate measures a narrow code-generation task, not complete repository engineering ability. Example: A coding model writes a function to pass a hidden unit-test suite.

Categories and tags

Sources

  1. https://arxiv.org/abs/2107.03374