Hugging Face Publishes a Guide to Building Agent Evaluations
Key point
Hugging Face’s agent evaluation guide explains the importance of verifiers and trace inspection.
Details
- Avijit Ghosh, Ben Burtenshaw, and Irene Solaiman of the Hugging Face blog published a guide to building agent evaluations on 2026-11-23, explaining that evaluators should examine traces as well as scores. They suggested protecting the questions while making the harness, scoring methods, and rationale behind task design public.
- In an audit of Terminal-Bench 2.1, keeping OpenAI models fixed and switching the harness from Codex to Terminus-2 lowered accuracy by up to 29.9 percentage points. They reported that increasing the time budget per task narrowed the gap, suggesting runtime limits may be the cause.
- Agent evaluations require tasks, a fixed environment, an Agent Harness, Rollouts, Traces, a Reference Solution, a Verifier, and an Evaluation Harness. The Agent Harness turns model responses into actions, while the Evaluation Harness collects rollouts, scores, and traces.
- They recommend checking that tasks can be solved using the reference solution, and configuring the verifier to inspect peak-fitting values so that a shortcut script that only reads peak height cannot pass the grader.
raman-lab evaluation example
- raman-lab, based on Terminal-Bench’s
raman-fittingtask, is a development evaluation set consisting of 8 synthetic spectra. - In 24 runs of gpt-oss-120b with the default provider configuration, 11 passed. Of the 13 failures, 11 had no output file, and 2 had fitting errors. Some failures with no output file originated from package issues such as NumPy or SciPy.
- A comparison on 2026-11-18 evaluated 6 models with Terminus-2. In the order of pass/24, pass@3, pass^3, mean±standard error, and declared completion in the first response, gpt-oss-120b (DeepInfra) scored 13/24, 6/8, 2/8, 0.54±0.13, and 22/24, while Qwen3.8-27B (DeepInfra) scored 24/24, 8/8, 8/8, 1.00±0.00, and 0/24. DeepSeek-V4.1-Flash (DeepInfra) scored 24/24, 8/8, 8/8, 1.00±0.00, and 0/24, while Kimi-K3 (DeepInfra) scored 22/24, 8/8, 7/8, 0.92±0.08, and 0/24. MiniMax-M3.1-Flash (Together) scored 24/24, 8/8, 8/8, 1.00±0.00, and 0/24, while gemma-4-31B-it (DeepInfra) scored 21/24, 8/8, 5/8, 0.88±0.06, and 0/24.
- Even for the same model and task, the number of passes can vary—10, 11, or 13—depending on the provider and run, so they recommend fixing and recording the model, harness, task, number of rollouts, and provider.
- The total inference cost for the 6 models was under $5 at router list prices. Median tokens per rollout ranged from about 6,000 for gpt-oss-120b to about 90,000 for MiniMax-M3.1-Flash, a difference of about 15 times. The README’s cost estimates, excluding cache discounts, were $0.02–$2.62 per model, based on 3 runs of the original task and 24 runs of raman-lab, for 27 runs in total.
Evaluation limitations and disclosure
- Scores can be heavily distorted by task defects. A cited review study reported that flaws in task setup and reward design can shift measured performance by up to 100% relative.
- Public availability also does not guarantee evaluation quality. The Evaluation Cards study found that 98.2% of model and benchmark combinations reported scores in only one place, and 60% of Artificial Analysis’s October 2026 Intelligence Index v5 was based on private tests or withheld answers.
- They suggest publishing the tasks, environment, harness, verifier, traces and results, uncertainty, costs, and limitations, while controlling access to active questions and sensitive data. Since raman-lab is a development set of 8 synthetic spectra, results should be generalized with caution.
- Public records should include versions and revision histories, the impact of defects, and whether comparisons with previous scores are possible. The comparison run README fixed Harbor 0.25.0 and Terminus-2 2.0.0; as of the guide’s publication date, 2026-11-24, the latest version of Harbor was v0.27.0.
This summary was generated automatically by AI. Check the original for the author's claims and context. Copyright belongs to the original author.
Our guide explains how the AI works. Report summary errors, attribution issues, or removal requests via Contact.