Frontier Foundry

How to build and maintain an agentic evaluation

Launch notes · Hugging Face ·

A close reading of the source at huggingface.co: what it says, what it means for someone who builds with AI, and which claims are the publisher’s own.

AI AgentsEvalsBenchmarks & LeaderboardsCoding BenchmarksAgent HarnessAgent Sandboxing & PermissionsOpenAIAnthropicGoogle / DeepMindDeepSeekMiniMaxHugging FaceGitHub

What changed

Hugging Face published an eight-step method for building an agentic eval, worked through on a real task, plus a component-by-component guide to what to open-source and what to keep private (post).

Problem. Agentic scores depend on every part around the model (task, environment, harness, verifier), and most are unverifiable: the authors say 98.2% of model-benchmark scores are reported by only one party, and benchmark flaws can move measured performance by up to 100% in relative terms.

Approach, step by step (example: an agent that fits peaks in graphene Raman spectra):

  1. Claim: write down narrowly what the agent should be able to do (fit three peaks, compute the D-to-G ratio, save results).
  2. Find a task: reuse Terminal-Bench's raman-fitting task in the open Harbor format.
  3. Run it unchanged: oracle first, then 3 rollouts of gpt-oss-120b with the Terminus-2 harness: 0/3. Traces showed two early "done" calls and one decimal-comma parse failure; the score alone could not tell these from a bad fit.
  4. Adapt: build raman-lab, 8 synthetic spectra with known parameters; make units and parameter definitions explicit.
  5. Check the eval itself: oracle must pass, a do-nothing agent must fail, a shortcut must fail. Their shortcut (read peak heights, guess widths) got the right defect ratio on all 8 tasks, so they added checks on each fitted peak.
  6. Read the traces: 11/24 passes; in 19 rollouts the model called mark_task_complete in its first response, and several failures began with NumPy/SciPy not installed.
  7. Report: pass@3 = 7/8 but pass^3 = 1/8; mean 0.46 with task-clustered standard error ≈ 0.11; a repeat run got 10/24.
  8. Compare models: pin one inference provider per open model (gpt-oss-120b went 11/24 → 13/24 just by pinning DeepInfra). Three models passed all 24, so the dev set cannot rank them. Six models cost under $5 in total.

Mechanism

What it means for builders

  • Before trusting any internal agent eval, run three sanity agents against the grader: oracle, no-op, lazy shortcut. A grader that checks only the final number will be gamed.
  • Report pass^k for unattended workflows; pass@k flatters you when no human will retry.
  • Read traces before reading scores. Early-completion and missing-dependency failures look identical to capability failures in an aggregate.
  • Pin providers and harness versions next to every score; the same open-weight model moved two rollouts just by changing host.

Try it

  • The raman-lab dataset and rollout traces for all six models are on the Hub; the generator and analysis code are in a companion GitHub repo (post).
  • harbor run -p datasets/my-evals -a oracle -e hf-sandbox then -a nop: the two cheapest checks you can add to any eval today.

Claims to check

  • Field-level numbers come from other audits, cited in the post: OpenAI found material issues in 59.4% of 138 SWE-bench Verified problems it examined and estimated ~30% of SWE-bench Pro tasks broken (July 2026); Terminal-Bench 2.1 fixed 28 of 89 tasks after user reports. Not independently checked here.
  • "Hiding the test set does not prevent saturation" rests on one study of 60 benchmarks; expert curation and larger test sets correlated with lower saturation.
  • The model comparison uses 8 dev tasks × 3 rollouts; the authors themselves warn against generalizing. No HN or Simon Willison discussion of the post in our corpus yet. IBM's September post on pass^k (hf-blog) makes the same consistency argument.

Where this leads

the concepts it is about

Related briefs

every brief

Cite this page

the version of 2026-11-23
APA
Han, R. (2026, November 23). How to build and maintain an agentic evaluation. Frontier Foundry. https://www.ryanhan.ai/briefs/2026-11-23-hf-blog-how-to-build-and-maintain-an-agentic-evaluation
BibTeX
@misc{han2026-briefs-2026-11-23-hf-blog-how-to-build-and-maintain-an-agentic-evaluation,
  author       = {Han, Ryan},
  title        = {{How to build and maintain an agentic evaluation}},
  howpublished = {Frontier Foundry},
  year         = {2026},
  month        = nov,
  url          = {https://www.ryanhan.ai/briefs/2026-11-23-hf-blog-how-to-build-and-maintain-an-agentic-evaluation}
}