Agentic Evaluation: How to Build One That Holds Up

Agentic evaluation workflow showing task, agent harness, rollout, verifier and trace

Building an agentic evaluation takes more than writing tasks and counting passes. Hugging Face has published a hands-on guide that builds one from open parts, a physics-lab task, and shows how easily a weak grader can be fooled. The guide’s main advice is to reuse existing tasks and tools, then spend your effort on domain expertise and validation.

Hugging Face says its hub hosts around 3,500 evaluation leaderboards and that evaluation datasets grew about 16-fold in a year, to roughly 17,000. It has added support for agent traces, benchmarks and environments to match.

From quiz answers to agent behavior

The guide describes three eras of evaluation. Question-answer tests such as MMLU (2020) and GPQA (2023) check what models say. Agentic benchmarks like SWE-bench and WebArena look at the changes an agent made inside an environment. Newer team and swarm tests score what a group of agents produces, a case the guide leaves out of scope.

Once an agent uses tools, every layer of software can move the score. In an audit of Terminal-Bench, researchers held the model fixed and changed only the agent scaffold. Accuracy shifted by up to 29.9 percentage points.

A typical agentic evaluation has a task, an agent scaffold, a pinned environment, several rollouts per task, a verifier that grades the final state, and a trace of each attempt. Each part can be published and reviewed separately.

The physics-lab example

The worked example is a lab assistant that must fit peaks in a graphene Raman spectrum and report a defect ratio, which compares the D peak’s intensity with the G peak’s. The team adapted Terminal-Bench’s raman-fitting task and ran it with the open Harbor runner, the Terminus-2 agent and OpenAI’s open-weight gpt-oss-120b. They generated eight synthetic spectra with known parameters, noise and defect levels that differ, and wrote fresh instructions, reference fits and output checks.

Before any model ran, they tested the evaluation itself using three probes: the reference solution, a do-nothing agent and a deliberate shortcut. The reference should pass everything. The other two should fail.

The shortcut read each peak’s height straight from the data, guessed the widths and divided one height by the other. On all eight tasks it produced the expected defect ratio without fitting anything. A grader looking at the ratio alone would have awarded top marks, so the team added per-peak checks.

What the scores and traces showed

Run on the original task, gpt-oss-120b passed none of three rollouts. Two ended with the agent declaring it was done before seeing relevant output. In the third, it couldn’t read a data file that uses decimal commas. The score couldn’t separate those failures from a bad fit. The traces could.

On the eight adapted tasks, three rollouts each, the model passed 11 of 24. In 19 rollouts the model declared the task complete in its very first reply (the mark_task_complete tool), and 11 of those left no results file. Only two of the 13 failures failed the fit check. Pass@3 was 7 of 8 tasks, but pass^3 (every rollout succeeding) was 1 of 8. The guide says retries may be fine when a person reviews output, while unattended work needs the stricter measure. A repeat run passed 10 of 24, so with eight tasks it urges caution about generalizing.

A six-model comparison, with one provider pinned per model, found limits too. Three models (Qwen3.8-27B, DeepSeek-V4.1-Flash and MiniMax-M3.1-Flash) cleared every rollout, which means these tasks can’t tell them apart. Harder tasks are needed.

How often benchmarks are wrong

The guide cites several cases of broken tests:

  • One review of agentic benchmarks found that mistakes in task setup or reward design can change measured performance by as much as 100% in relative terms.
  • After user reports, Terminal-Bench 2.1 corrected 28 of its 89 tasks, and agent rankings held steady.
  • Auditors of CritPt, whose reference solutions are private, found errors in 21 of 56 challenges after solving the problems themselves.
  • OpenAI audited 138 SWE-bench Verified problems and found material issues in 59.4% of them.
  • By July 2026 OpenAI put the share of broken SWE-Bench Pro tasks at roughly 30% and stopped recommending the benchmark.

The guide adds a caution: a stable score may still be measuring the wrong skill. Fitting synthetic spectra doesn’t show an agent can review a lab report.

What to open and what to protect

Demand for independent evaluation is rising, yet 98.2% of model-benchmark scores come from a single party. More benchmarks hold back test items to limit contamination. Artificial Analysis says private or held-out evaluations make up 60% of its Intelligence Index v5, announced in October 2026. Hugging Face argues that secrecy alone doesn’t ensure quality. Builders can still open up their tooling, grading methods and task-design evidence, and offer controlled review where full release isn’t suitable.

For anyone planning an agentic evaluation, the practical steps are clear: test the grader with a cheat, read the traces, report consistency alongside best-of-k, and keep a path open for outsiders to report errors.

Source: huggingface.co

Written by

Saksham Bhargava

Saksham Bhargava runs Alteroid and has been writing about consumer technology for over five years, covering iPhone, Android, Windows, AI tools and gaming. With an MCA and six years of hands-on web development experience, he tests the features he writes about on his own devices and focuses on clear, practical guides that solve real problems. Away from the screen, he enjoys travelling to places most tourists skip.