A Hugging Face guide to building agent evaluations shows how a benchmark can give the wrong impression if it checks only the final answer. In its example, a shortcut passed every task until the team added checks for the work the agent was meant to do.
Hugging Face Watch analysis
What happened
The guide follows the creation of a small evaluation for an AI agent fitting peaks in physics data. Hugging Face says it adapted an existing coding task, created eight test cases and checked the grader using both a reference solution and deliberately inadequate approaches. The full guide includes the walkthrough and commands.
One shortcut skipped the curve-fitting work, read peak heights directly from the data and guessed the widths. It still produced the expected ratio on all eight tasks. Checking that ratio alone would have awarded it full marks, so the team added checks on each fitted peak.
The guide also reports that, in an audit of Terminal-Bench, changing the agent harness while keeping the model fixed shifted accuracy by as much as 29.9 percentage points. In Hugging Face’s own adapted task, the model passed 11 of 24 attempts, but succeeded at least once on seven of eight tasks. It succeeded on all three attempts for just one task. The authors caution that eight development tasks are too few for broad conclusions.
Key findings
- A plausible score can hide a bad test
A shortcut passed all eight tasks by returning the expected ratio without fitting the data. - The surrounding software can change results
The guide cites an audit where changing the agent harness shifted accuracy by up to 29.9 percentage points with the model held fixed. - One success is not consistency
Seven of eight tasks passed at least once, but only one passed on all three attempts.
Why it matters
Agent benchmarks measure more than a model. The task, tools, environment, number of attempts and verifier all help determine the score. If a test rewards a shortcut, or a harness change shifts results, a tidy number can say less about real-world reliability than it appears to.
Hugging Face argues that sharing evaluation methods, code, data and traces makes it easier for others to spot errors and improve tests. Its guide also notes a tension: held-back test items can reduce contamination, but hiding supporting materials makes scrutiny harder. The useful question is not simply whether a benchmark is open or private, but which parts can be shared safely and what evidence lets others challenge its results.
Our read
The strongest lesson is wonderfully unglamorous: test the test before trusting the score. The guide’s shortcut exposed a weakness that a passing number would have concealed. Its small example is not proof that all agent benchmarks are unreliable, but it makes a good case for publishing how an evaluation was built, where it can fail and what a score actually means.
What to watch
- Whether evaluation builders share graders, task designs and agent traces for outside scrutiny.
- How benchmarks test for shortcuts that meet the stated score without doing the intended work.
- Whether model reports distinguish occasional success from consistent performance.
- How teams balance open evaluation materials with the risk of test-set contamination.
Discussion spark: When sharing benchmark materials risks test contamination, what should researchers still be expected to publish so others can check whether the score is trustworthy?
Sources and evidence
- How to build and maintain an agentic evaluation (23 November 2026, 00:00 UTC)
not affiliated with or endorsed by Hugging Face