AI-generated text

Hugging Face examines open methods for evaluating AI agents

Tools · November 23, 2026

Hugging Face examines open methods for evaluating AI agents

Hugging Face has published a guide to building and scrutinizing evaluations for AI agents, using a physics-lab task as a practical example.

In this article · 5

Hugging Face has published a guide examining how open tools can make evaluations of artificial intelligence agents more reliable. Using a physics-lab task as a practical example, the company shows that scores depend not only on a model’s capabilities but also on the software running the agent, its environment, and the quality of the checks.

Hugging Face says its platform hosts around 3,500 evaluation leaderboards and that the number of evaluation datasets grew approximately 16-fold over the past year to about 17,000. The Hub also supports traces recording agents’ work, benchmarks highlighting evaluation datasets, and agent environments.

From answers to agent actions

Language-model evaluation has moved from checking answers toward more complex work. MMLU, introduced in 2020, and GPQA, introduced in 2023, measure knowledge and reasoning through responses. Agentic benchmarks such as SWE-bench and WebArena instead examine tasks such as resolving software issues or performing actions on websites. More recent multi-agent research also measures how systems cooperate and what they produce together.

The guide focuses on individual agents. In such an evaluation, a model uses tools in a fixed environment, evaluation software organizes multiple attempts, and a verifier grades the final state or saved output. Traces show the commands and responses that led to the score.

The importance of this surrounding software is measurable: in one Terminal-Bench audit, changing the agent harness while keeping the model fixed produced accuracy differences of up to 29.9 percentage points. Independent scrutiny is nevertheless difficult. According to research cited in the guide, 98.2% of model-benchmark scores are reported by only one party.

Building a lab task

In the practical example, an agent must fit peaks in a Raman spectrum of graphene and calculate the intensity ratio between the D and G peaks. That ratio can indicate defects in graphene, although its interpretation also depends on measurement conditions. The claim being tested is deliberately narrow: fit the specified peaks and consistently save accurate results, rather than assess an entire lab report.

Hugging Face built on the open-source Harbor evaluation harness and Terminal-Bench’s raman-fitting task. The original task fitted two peaks; the new raman-lab contains eight synthetic spectra generated from known parameters, with varied noise and defect levels, and examines three peaks. The builders used an agent to help generate the data, reviewed it manually, and wrote new instructions, reference fits, and checks. The eight examples form a development set, not a test covering the full range of real measurements.

The method included running the original task unchanged, adapting it, testing the verifier, inspecting traces, and comparing several models. On the original task, OpenAI’s open-weight gpt-oss-120b model passed none of three attempts. Twice it declared completion before observing the relevant output; on the third attempt it could not read a data file containing decimal commas. The score alone would not have revealed those causes.

What the trials showed

On the adapted tasks, gpt-oss-120b passed 11 of 24 rollouts. In 19 cases it called the function marking the task complete in its first response; 11 of those attempts produced no results file. Several failures followed missing NumPy or SciPy packages, which the task expected the agent to install. Only two of the 13 failed rollouts failed the fit check.

Seven of the eight tasks succeeded at least once across three attempts, but only one succeeded all three times. The distinction matters because retries may be acceptable with human review, while unattended processing demands consistency. The mean pass rate was 0.46, with a standard error of about 0.11 when grouped by task; a repeat run passed 10 of 24. The authors caution against generalizing from the small development set.

In a separate comparison of six models, gpt-oss-120b with DeepInfra fixed as its provider passed 13 of 24 rollouts and declared completion in its first response 22 times. None of the other five models did so. Qwen3.8-27B, DeepSeek-V4.1-Flash, and MiniMax-M3.1-Flash passed all 24 attempts, meaning the task set could not rank the three. Inference for all six models cost less than $5 at the router’s list prices.

Testing the verifier itself also exposed a flaw. A deliberately incomplete solution read the highest points of the peaks instead of fitting them, yet returned an acceptable D/G ratio in all eight cases. The builders consequently added checks on the fits themselves. The guide also recommends verifying that a reference solution passes every task and an agent that does nothing fails.

Benchmarks can be wrong too

Hugging Face argues that public review helps uncover faulty instructions and tests. Terminal-Bench 2.1 corrected 28 of its 89 tasks after user reports; according to the published account, agent rankings remained stable after the corrections. Experts reviewing the CritPt physics benchmark found errors in 21 of 56 challenges they examined, after which its authors released a corrected version.

OpenAI found material problems in 59.4% of the 138 SWE-bench Verified problems it examined. In July 2026, the company also estimated that about 30% of SWE-bench Pro tasks were broken and withdrew its recommendation to adopt the benchmark.

Correct code does not, however, guarantee that a test measures the intended capability. Fitting synthetic spectra, for example, does not establish that an agent can recognize a bad measurement, ask for help, or assess a full lab report. The guide says such limitations, along with the versions affected by corrections, should be documented.

What should be open?

One risk of openness is contamination: test items or their solutions can enter model training data. In the SWE-bench Verified audit, every frontier model tested could reproduce a reference patch or verbatim problem details for some tasks. Hiding test data alone, however, does not prevent saturation, when models score so highly that a benchmark can no longer distinguish them. A study of 60 benchmarks found similar saturation in public and private tests; expert curation and larger test sets were more closely associated with lower saturation.

The guide therefore recommends making release decisions component by component rather than choosing between complete openness and complete secrecy. Task specifications, development examples, environments, harness and verifier code, grading methods, and traces safe to share can be public. Active test items, patient records, access secrets, or sensitive solutions can remain protected, but authorized experts should still have a way to review them.

For example, ARC-AGI-2 publishes development data and a 120-task evaluation set while retaining two restricted sets of 120 tasks each. AILuminate keeps its official prompts confidential but publishes its methods and gives authorized auditors access to supporting evidence.

In its own example, Hugging Face released the raman-lab tasks, environments, reference fits, and verifiers; the six models’ rollout traces in a separate dataset; and the generation and analysis code in a repository. The company argues that such materials can remain useful after a leaderboard saturates: old tasks can serve as regression checks or provide a foundation for harder benchmarks.

Certified Services Partner, Claude Partner Network