עברית 📰 Blog
← Back to Blog
AI News

Hugging Face Guide: How to Test an AI Agent Without Fooling Yourself

Masterphub Editorial
AI News Desk
November 24, 2026

Share this article

Hugging Face Guide: How to Test an AI Agent Without Fooling Yourself
Short answer: A new Hugging Face guide says an agent score depends a lot on the setup around the model, and that a test can pass for the wrong reason. Its fix: check the test itself before trusting the number.

What was published

On November 23, 2026, Hugging Face published "How to build and maintain an agentic evaluation", written by Avijit Ghosh, ben burtenshaw and Irene Solaiman, with other contributors. It covers evaluations of agents, meaning tests where a model has to act, not only answer.

Why scores can mislead

  • In an audit of Terminal-Bench, the model stayed the same and only the agent harness changed. Accuracy moved by up to 29.9 percentage points.
  • After user reports, Terminal-Bench 2.1 fixed 28 of its 89 tasks.
  • An OpenAI audit of SWE-bench Verified found material issues in 59.4% of the 138 problems it examined.

The steps the guide recommends

  • Start with one narrow claim you can test.
  • Reuse an existing task before building your own.
  • Run the reference solution first. It should pass.
  • Also run an agent that does nothing, and a shortcut. Both should fail.
  • Read the traces, not only the scores.
  • Report pass@k and pass^k, with uncertainty.
  • Compare models on the same tasks.

The example in the guide

The authors adapted a Terminal-Bench task called raman-lab and ran gpt-oss-120b on it. On the original task it passed 0 of 3 runs. On the adapted version, 8 tasks with 3 runs each, it passed 11 of 24. In 19 of 24 runs it called mark_task_complete in its first response. A shortcut check also found a way to return the right answer on all 8 tasks without doing the fitting, so the authors added per-peak checks.

The pass@3 score was 7 of 8, while pass^3 was 1 of 8. The first counts a task if any of the 3 runs passes, the second only if all 3 do. For a task you run unattended, the second number is the one to watch. Three other models passed all 24 runs, so these tasks could not rank them.

Take it to your own agents

If you test your own prompts or agents, run the same task several times, try a lazy version that does nothing, and read what the agent actually did. A single pass is a weak signal.

Source: Hugging Face blog, "How to build and maintain an agentic evaluation", November 23, 2026

Share this article