Hugging FaceAvijit Ghosh, ben burtenshaw, Irene SolaimanTutorial
How to build and maintain an agentic evaluation
Summary
AI evaluations shape which systems people build and trust, but building a useful one requires defining domain-specific tasks, scoring them reliably, and validating results. Agentic evaluations have evolved from checking answers to checking what an agent changed in an environment, and now to scoring what teams of agents produce. Each component of an agentic evaluation—task, agent harness, environment, verifier, and trace—can be published, inspected, and reused separately. The post walks through building an evaluation for a physics lab agent that fits peaks in a Raman spectrum, adapting an open task and using the Harbor harness. It argues that open-sourcing infrastructure and grading methods enables scrutiny and correction, even when test items are held back to prevent contamination. Hugging Face hosts around 3,500 eval leaderboards and has seen about 16X growth in eval datasets to roughly 17,000 datasets in the past year.
Context
The post addresses the growing need for independent, verifiable AI evaluations, noting that 98.2% of model-benchmark scores are reported by only one party and that in-house evaluation is insufficient. It argues for open-sourcing evaluation infrastructure, grading methods, and task design evidence to enable scrutiny and correction, even when test items are held back to prevent contamination.
Approach / What changed
The post walks through building an agentic evaluation for a physics lab use case: an agent that fits peaks in a Raman spectrum. It adapts an open task, runs it through eight steps from claim to reported score, and uses the Harbor evaluation harness, Hugging Face infrastructure, and a reference solution to validate the setup.
Takeaways
Agentic evaluations add software layers—task, harness, environment, verifier—that can change scores; an audit of Terminal-Bench found accuracy varied by up to 29.9 percentage points when only the agent harness changed.
Open-sourcing evaluation infrastructure, grading methods, and task design evidence lets others find errors, improve the evaluation, and reuse components, even when test items are kept private to prevent contamination.
Hugging Face hosts roughly 3,500 eval leaderboards and has seen about 16X growth in eval datasets to about 17,000 datasets, and now supports agentic abstractions like Traces, Benchmarks, and Environments.
FAQ
What are the three eras of AI evaluation design?
The post identifies three eras: question-answer benchmarks (e.g., MMLU, GPQA) that check responses against a key; agentic benchmarks (e.g., SWE-bench, WebArena) that check what an agent changed in an environment; and team/swarm benchmarks that score what a group of agents produces. Each step adds software that can change the score.
How much can the agent harness affect evaluation scores?
The post describes an audit of Terminal-Bench where researchers kept the model fixed and changed the agent harness, finding accuracy varied by up to 29.9 percentage points. This shows that the surrounding software, not just the model, can significantly affect scores.
What should builders share when test items are private?
The post recommends sharing infrastructure, grading methods, and evidence about task design, even when test items are private. It suggests using gated datasets on Hugging Face for controlled access, publishing traces and run records, and allowing expert review to find and correct errors.
Source and freshness
- Source
- huggingface.co
- Published
- Added to Yomu
Summaries are generated from the original by a language model. Check the original before relying on it.
Keep reading
Related reading
The Good Stuff
Paid picks we use ourselves. Links carry a referral code — a subscription through one earns us a commission at no extra cost to you.
The best engineering reads, once a week
One useful email. Unsubscribe anytime.