DatasetsReviewed · BigCode Project

HumanEvalPack

HumanEvalPack is a dataset for developers and researchers evaluating AI coding models, with only 164 programming problems in each supported language. It extends HumanEval across Python, JavaScript, Java, Go, C++ and Rust, supplying prompts, reference solutions, deliberately faulty implementations and unit tests.

Researched 12 Nov 2026

In short.

HumanEvalPack is a benchmark dataset for developers and researchers comparing AI coding models, but performance on its programming problems leaves performance on full software projects unknown. It documents 164 test examples in each of six languages, with shared fields for instructions, reference code, faulty code and tests. The card advertises three tasks but explicitly names and defines only HumanEvalSynthesize. It provides loading instructions and an MIT licence declaration; complete evaluation protocols, full licence notices, execution costs and model results are not established by the supplied text. Nothing was loaded or executed.

Researched and written by an AI model and checked by a second AI model. How it works

Coverage comprises the complete captured README at https://huggingface.co/datasets/bigcode/humanevalpack/raw/9a41762f73a8cb23bb5811b73d5aab164efcf378/README.md, including its MIT metadata declaration and embedded example. Its captured SHA-256 is 38c39ae78cf49c548a87082e0317c58681b682b3922d6edbb295abe843342632. Linked pages, other folders, downloadable dataset rows and licence or notice files not embedded in the README are excluded. Dataset loading, candidate execution, test outcomes and model performance remain unverified.

The overview

Identity

HumanEvalPack is published as bigcode/humanevalpack on Hugging Face and is associated with OctoPack. The card links to the project repository [https://github.com/bigcode-project/octopack] and the paper OctoPack: Instruction Tuning Code Large Language Models [https://arxiv.org/abs/2308.07124]. Those linked contents are outside the available evidence.

The card describes the Python split as matching OpenAI's Python HumanEval and the other language splits as human translations with additional cleaning. The language versions should therefore not be treated as separate collections of unrelated problems.

Assessment

The documented structure is useful for focused comparisons of coding models: each language has the same number of examples and fields for inputs, expected implementations and executable checks. Correct and deliberately faulty implementations also provide material for studying how models handle bugs.

This usefulness follows from the documented structure, not measured results. Loading reliability, test correctness, translation quality and model performance were not assessed through execution.

Users

The dataset fits researchers comparing code models and developers building repeatable evaluations across supported programming languages. It is particularly relevant when the question concerns individual programming functions and their observable behavior.

Beginners can use the documented example to understand the relationship between a problem description, a solution, a bug and a test. Producing meaningful model scores requires additional evaluation software and knowledge of the chosen language's execution environment.

Capabilities

The configurations are python, js, java, go, cpp and rust, each documenting 164 examples in a test split. Fields support both code-continuation prompts and direct instructions for generating a function.

Each row includes a reference implementation, a deliberately faulty implementation, a bug category and failure symptoms. The documented bug categories cover missing or excess logic and misuse of values, operators, variables or functions. Symptoms include incorrect output, stack overflow and infinite loops.

The card advertises three tasks but specifies only HumanEvalSynthesize by name. Repair and explanation experiments are plausible uses of the paired code fields; complete protocols for those uses are not provided in the supplied text.

Using it

Requirements

The loading example uses Python and the datasets package. Package versions, supported operating systems and hardware requirements are not specified.

Evaluating generated code also requires a model, software that assembles and scores its outputs, and the appropriate language runtime or compiler. The documented possibility of infinite loops and stack overflow makes execution limits relevant. The card does not provide a complete execution environment or its resource limits.

Mechanism

Rows separate model inputs from reference answers and checking code. The prompt field supports code continuation; instruction constructs a direct request from the language, function signature and problem description. The declaration field supplies the function declaration without its docstring.

The card describes canonical_solution as passing the problem's unit tests and buggy_solution as introducing a subtle human-written error that causes failure. These are source claims, not independently verified outcomes.

The test field contains the main unit tests. The separate example_test field supplies additional tests that could be shown to a model; the card says these were not used in the paper. Go also uses import and test_setup fields for necessary imports.

Setup

The documented installation command is pip install -q datasets. The example then imports load_dataset from datasets and loads the Python test split with ds = load_dataset("bigcode/humanevalpack", "python")["test"]. Other documented configuration names are js, java, go, cpp and rust.

Python is marked as the default configuration. The loading example does not specify a dataset revision, so it does not establish that running it would retrieve the exact snapshot described here. These instructions were not executed.

Example

The illustrated Python task, has_close_elements, asks whether any two numbers are closer than a supplied threshold. Its example specifies False for [1.0, 2.0, 3.0] with a threshold of 0.5.

The reference implementation compares the absolute difference between numbers with the threshold. The faulty implementation removes the absolute-value operation, allowing a negative difference to satisfy a positive threshold incorrectly. This explains the example's missing logic and incorrect output labels through static inspection; no test was run.

Assessment & evidence

Limitations

Only test splits are documented. The card does not establish comprehensive test coverage, resistance to training-data contamination, equivalence across translations or performance on repository-scale work.

Model scores, generation settings, compiler versions and runtime versions are absent from the supplied text. Claims about human translation and additional cleaning cannot be examined further without the excluded linked material.

The illustrative JSON block omits commas after the import and test_setup values, so it cannot be copied unchanged as valid JSON. This is a documentation issue; it does not establish a defect in the downloadable dataset rows.

Reasoning

Shared problem structure across languages and paired reference and faulty implementations make controlled comparisons plausible. Meaningful comparisons would still require consistent model inputs, generation settings, execution rules and scoring.

Unit tests can assess the behaviors they exercise. Passing them alone would not establish maintainability, security or suitability for larger software changes. This limits the conclusions that should be drawn from any eventual benchmark score.

Alternatives

OpenAI's HumanEval is the direct reference for Python-only comparisons: the card says HumanEvalPack's Python split is the same. On that description, results from the two should not be treated as independent Python benchmark evidence.

HumanEval-X is mentioned as a related multilingual resource. HumanEvalPack claims additional cleaning relative to that translation approach, but the supplied text provides no comparative measurements that establish a quality advantage.

Evidence

The available source is the complete dataset README at [https://huggingface.co/datasets/bigcode/humanevalpack/raw/9a41762f73a8cb23bb5811b73d5aab164efcf378/README.md]. It documents configuration metadata, field definitions, loading instructions and one illustrated Python task.

The source supports statements about the documented design. It does not contain every dataset row, the linked paper's results, the repository's evaluation implementation or complete licence notices. No loading, compilation, model generation or test execution was performed.

Access & freshness

Costs

The card gives no dataset price, billing terms, model inference budget or measured execution cost. Actual costs are unknown.

Metadata reports download sizes between 168,464 and 210,440 bytes per language configuration. These describe data transfer sizes, not the cost of generating answers or executing candidate programs. Evaluation costs depend on the model and execution settings, which are unspecified.

Rights

The dataset card declares its licence as MIT. The supplied text does not reproduce the full licence text, a copyright notice or separate notices for the translated and added material.

The declaration identifies the stated licence, but the complete accompanying terms and notice files are unavailable here. Obtain and preserve the applicable licence and notices before redistributing dataset material. The card also supplies a citation for the 2023 OctoPack paper.

Freshness

The README URL pins revision 9a41762f73a8cb23bb5811b73d5aab164efcf378, and the source was captured on 2026-11-12. This identifies the documented snapshot; it does not establish the dataset's last maintenance date.

The paper citation gives 2023. Whether later dataset revisions change the schema, problems, tests or notices is unknown, as is the current maintenance status.

Actions

Choose a language and a specific evaluation task before using the dataset. Inspect the fields to define which information reaches the model and which information is reserved for scoring. For synthesis, reference solutions and scoring tests should remain outside the model's input.

Record the dataset revision, model, generation settings and language tooling. Before trusting scores, verify the execution harness against reference and faulty implementations, including behavior when programs fail to terminate. These are recommended next steps; none was performed here.

Evidence for this report

selected-page.txtselected · checked 2026-11-12