{"slug": "hugging-face-agentic-evaluation-guide-harbor-shortcuts-and-open-science", "title": "Hugging Face Agentic Evaluation Guide: Harbor, Shortcuts, and Open Science", "summary": "Hugging Face published a builder-facing guide on November 23, 2026, by Avijit Ghosh, Ben Burtenshaw, and Irene Solaiman that walks eight steps from claim to task to rollouts to score for agentic evaluations, using the open Harbor harness, a Terminal-Bench Raman spectrum task, HF Jobs, and HF Sandboxes. The guide's worked example, raman-lab, ran Terminus-2 with gpt-oss-120b for three rollouts on the original task and passed 0/3, with failures including declaring completion before reading output and decimal-comma CSV parsing. Hugging Face cites a Terminal-Bench audit showing harness-only changes moved scores by up to 29.9 percentage points with the same model, and argues most published benchmark numbers still have only one reporter.", "body_md": "**Agentic evaluations grade what an agent changes in an environment, not just what it says.** On **November 23, 2026** [Hugging Face published](https://huggingface.co/blog/agentic-evals?ref=explainx) a **builder-facing guide** by **Avijit Ghosh**, **Ben Burtenshaw**, and **Irene Solaiman** that walks **eight steps** from **claim → task → rollouts → score**, using the open **[Harbor](https://docs.harborframework.com/?ref=explainx)** harness, a **Terminal-Bench** Raman spectrum task, **HF Jobs**, and **HF Sandboxes**. The worked example — **raman-lab** — is deliberately small, but the lessons scale: **graders can lie**, **harnesses move scores more than models**, and **most published benchmark numbers still have only one reporter**.\n\n## Three eras of evaluation design\n\nHugging Face sorts benchmark history into **three eras**:\n\n| Era | Examples in the post | What gets scored | \n|---|---|---|\n| **Question-answer** | MMLU (2020), GPQA (2023) | Final text against a key | \n| **Agentic** | SWE-bench, WebArena, Terminal-Bench | Tool use, files, and environment state | \n| **Teams / swarms** | Multi-agent orchestration research | Coordinated group outputs | \n\nThe guide focuses on **agentic** evals because **enterprise releases** cite them and because **every software layer** — task prompt, **agent harness**, **sandbox packages**, **verifier** — can swing scores. That echoes **[Artificial Analysis Intelligence Index v5](https://explainx.ai/blog/artificial-analysis-intelligence-index-v5-opus-5-5-58-private-benchmarks-open-weight-gap-12-points-2026)** warnings about **private test sets**, but HF argues **open infrastructure** can coexist with **held-out items**.\n\nFor coding agents specifically, compare this framing to **[LLNL SciResearch-Eval](https://explainx.ai/blog/sciresearch-eval-llnl-scientific-judgment-ai-agents-november-2026)**, which grades **uncertainty intervals** on flawed simulators — another way to stop **confident wrong numbers**.\n\n## Anatomy: task, harness, environment, verifier, trace\n\nFigure 2 in the official post maps five components:\n\n1. **Task** — instructions and success criteria.\n2. **Agent harness** — wraps the model, tools, and stopping rules (**Terminus-2** in the walkthrough).\n3. **Pinned environment** — OS image, packages, file paths (**HF Sandbox** per rollout).\n4. **Verifier** — checks**final state** after a rollout ends.\n5. **Trace** — messages, tool calls, observations (**ATIF** in Harbor exports).\n\nWhen a vendor quotes **one Terminal-Bench percentage**, ask **which harness commit**, **which sandbox image**, and **which verifier version** ran. A cited **Terminal-Bench audit** in the guide reports **up to 29.9 percentage points** moved by **harness-only** changes with the **same model** — the same lesson as our **[METR Q4 reward-hacking](https://explainx.ai/blog/metr-q4-2026-reward-hacking-th2-gpt-5-6-sol-november-2026)** coverage, where **cheap shortcuts** pass sloppy graders.\n\n## The raman-lab walkthrough in plain language\n\nSWE-bench style issue linked to a patch, echoing agentic evals that grade environment changes not text alone\n\n### Claim and starting task\n\nThe fictional **physics lab** wants an agent to:\n\n- Read a **Raman spectrum** file (graphene peaks).\n- **Fit curves** to peaks.\n- Compute a **D-to-G defect ratio** .\n- Write **`/app/results.json`** .\n\nHugging Face **reused Terminal-Bench's raman-fitting task** inside **Harbor's task format** — a pattern for **domain experts** who should spend time on **science**, not YAML plumbing.\n\nBaseline runs used **Terminus-2** plus **gpt-oss-120b** (OpenAI open weights). **Three rollouts** on the **original** task: **0/3 passes**. Failures included **declaring completion before reading output** and **decimal-comma CSV parsing** the reference solution handled — familiar **[agent harness](https://explainx.ai/blog/teaching-claude-why-anthropic-agentic-alignment-may-2026)** failure modes.\n\n### Adaptation to raman-lab\n\nAuthors built **eight synthetic spectra** with known ground truth, **three peaks**, and explicit **units**. That is a **development set** — not yet production coverage.\n\nInfrastructure choices documented in the post:\n\n- **Harbor** inside an**HF Job** for batch rollouts.\n- **HF Sandbox** isolation per trial.\n- **Inference Providers** for model calls, with**provider pinned** when comparing open weights.\n\n### The shortcut that fooled the grader\n\nBefore trusting model scores, HF **attacked its own grader** with a **shortcut script**:\n\n- Read **tallest points** per peak instead of fitting.\n- Guess **widths** .\n- Output the **correct D/G ratio** without doing the assigned skill.\n\n**All eight tasks \"passed\"** until verifiers also checked **fit parameters**. The guide compares it to a student who copies the **final number** without **working** — exactly the **[reward hacking](https://explainx.ai/blog/metr-q4-2026-reward-hacking-th2-gpt-5-6-sol-november-2026)** shape METR documents for **TH2-style** cheats.\n\nBuilders should add **negative controls**: **reference solution passes**, **do-nothing agent fails**, **known-bad shortcut fails**.\n\n### Results: traces beat aggregates\n\nOn **eight adapted tasks × three rollouts**:\n\n- **11/24 rollouts passed** overall.\n- **19/24** called`mark_task_complete` in the**first response** ;**11** produced**no results file** .\n- Many failures were **missing NumPy/SciPy** the task expected agents to install — an**environment** lesson, not a**reasoning** lesson.\n- Only **2/13** failures were**bad fits** once packages worked.\n\n**pass@3 = 7/8** tasks succeed **at least once**. **pass^3 = 1/8** succeed **all three times**. Hugging Face stresses **unattended pipelines** should weight **pass^k**-style consistency, while **human-in-the-loop** labs may tolerate **pass@k**.\n\nMean pass rate **0.46 ± ~0.11** (clustered by task). A **repeat run: 10/24** — reminder that **eight dev tasks** cannot rank frontier models confidently.\n\n### Model comparison and saturation\n\nSix models ran on the same eight tasks. Highlights from the post:\n\n- **gpt-oss-120b** :**13/24** with**DeepInfra pinned** vs**11/24** earlier — provider settings matter.\n- Only **gpt-oss-120b** spammed**instant completion** calls (**22/24** first-response`mark_task_complete` ).\n- **Qwen3.8-27B** ,**DeepSeek-V4.1-Flash** ,**MiniMax-M3.1-Flash** each**passed 24/24** — the dev set**cannot separate** them; harder tasks come next.\n\nThat saturation story connects to **[Qwen3.8 Hermes adapter](https://explainx.ai/blog/qwen38-27b-hermes-adapter-harness-hub-terminal-bench-58-8-lora-november-2026)** gains on **Terminal-Bench 2.1** — adapter + harness moves scores without changing base weights.\n\n## Bitter lessons: public review and broken benchmarks\n\nSection 3 catalogs how **public review fixes tasks**:\n\n- **Terminal-Bench 2.1** fixed**28/89 tasks** after user reports (e.g.,**Spark SQL tests vs PostgreSQL instructions** ).\n- **CritPt** kept references private; physicist auditors re-solved**21/56** challenges themselves before finding errors.\n- **OpenAI's SWE-bench Verified audit** flagged issues in**59.4%** of examined problems when tasks were**readable** .\n- **SWE-bench Pro** ~**30% broken** estimate led OpenAI to**withdraw an adoption recommendation** in**July 2026** .\n\nHugging Face also cites **contamination** (models memorizing public patches) vs **saturation** (everyone hits 100%) — arguing **hiding tests alone does not prevent saturation** if the benchmark becomes famous.\n\nFor **governance**, pair this with **[EU probes on agent hacks](https://explainx.ai/blog/eu-ai-office-formal-probes-openai-anthropic-agent-hacks-claimed-vs-verified-2026)** and our **[agent compromise pattern](https://explainx.ai/blog/ai-agent-hacked-company-pattern-not-coincidence-august-2026)** tracker — **evaluations** are how buyers **detect** misuse before production.\n\n## What to open strategically\n\nThe guide's release table (section 4) is the policy core:\n\n| Component | Open by default | Hold back when | \n|---|---|---|\n| **Task templates & infra** | Harbor tasks, Docker specs, verifier code | Active contest items | \n| **Traces** | Reviewed excerpts, analysis notebooks | Customer data in logs | \n| **Test items** | Reference examples | Contamination-sensitive finals | \n\nThey **shipped raman-lab on the Hub** plus **rollout datasets** for six models and a **GitHub repo** for generators — practicing what the essay preaches.\n\nThat aligns with **[Anthropic donating Agent Skills](https://explainx.ai/blog/anthropic-donates-agent-skills-agentic-ai-foundation-agentskills-io-70-platforms-2026)** to shared infrastructure rather than hoarding **harness glue**.\n\n## How this differs from older explainx.ai eval coverage\n\n| Post | Focus | \n|---|---|\n| **[Microsoft ThinkingBox](https://explainx.ai/blog/microsoft-thinkingbox-agent-benchmark-stateful-2026)** | Stateful multi-turn **enterprise** scenarios | \n| **[Co-design bench](https://explainx.ai/blog/co-design-bench-qwen-coding-agent-benchmark-273-tasks-gpt-6-astra-26-percent-fully-solved-2026)** | Coding-agent **task diversity** | \n| **This HF guide** | **Operational cookbook** — shortcuts, traces, pass^k, Hub release | \n\nNone replace **your** domain verifier — they show **which layers to log** when you ship **[Claude Code](https://explainx.ai/blog/claude-code-course-free-paid-live-learning-path-2026)** or **[MCP agents](https://explainx.ai/blog/mcp-course-best-free-paid-learning-paths-2026)** to production.\n\n## Hub scale and why HF wrote this now\n\nThe overview section states Hugging Face hosts **about 3,500 eval leaderboards** and **about 17,000 eval datasets**, with **16× dataset growth** in a year. Recent product pieces — **Traces** for reviewable agent sessions, **Benchmarks** cards, **Environments** for RL-style setups — aim to keep **agentic** work on-platform instead of scattered in private spreadsheets.\n\nThat matters because **98.2% of model–benchmark scores** in their citation still come from **a single reporting party**. Policymakers and procurement teams ask for **independent** verification; without shared **harness code**, outsiders only see **headline percentages**.\n\nGoogle DeepMind's **double-blind** pilot (cited in the guide) hides **test prompts** from the model vendor and **weights** from the outside evaluator. Hugging Face argues **privacy alone does not guarantee quality** — reviewers still need **grading code** and **error logs** when something looks too good.\n\n## Construct validity: does the task measure the claim?\n\nThe post cites **Measuring what Matters**, a **29-reviewer** study of **445 LLM benchmarks**, for **construct validity** failures — tasks that do not actually test the capability named in the press release.\n\nApplied to **raman-lab**:\n\n- **Fitting synthetic spectra** does**not** prove an agent can**review a full lab PDF** ,**notice a bad measurement** , or**escalate to a human** .\n- If every task ships **clean CSVs** , the eval cannot show**judgment under messy inputs** .\n\n**Harder Than the Task** (also cited) adds **organizational** dimensions — permissions, cross-team dependencies — that most public benchmarks **omit**. If your production agent must **ask another team for calibration files**, baking everything into the sandbox **removes** the hard part.\n\nFor **coding agents**, the parallel is **[SWE-bench merge rate](https://explainx.ai/blog/higher-scoring-coding-models-swe-bench-merge-rate-natural-experiment-2026)** studies: high **pass@1** on issues that never touch **real CI politics** mis-ranks models buyers actually deploy.\n\n## Glossary terms the guide standardizes\n\nHugging Face ends with explicit definitions — useful when vendors reuse words differently:\n\n| Term | Meaning in the guide | \n|---|---|\n| **Rollout / trial** | One full agent attempt at one task | \n| **ATIF** | Shared **trace** schema for messages and tool calls | \n| **pass@k** | At least one success in **k** tries | \n| **pass^k** | Success on **all k** tries — stricter for unattended jobs | \n| **Development set** | Tasks used **while building** the eval — not final held-out production | \n| **Verifier** | Code that grades **environment state** after rollout | \n\nWhen a salesperson says **\"we aced the agent benchmark,\"** ask which **k**, which **harness commit**, and whether the **verifier** checks **process** or only **final JSON fields**.\n\n## Builder checklist after reading the HF guide\n\n1. **Write the claim** in one sentence (what skill, not what marketing adjective).\n2. **Fork an open task format** (Harbor + Terminal-Bench pattern) instead of bespoke JSON.\n3. **Run oracle, null agent, shortcut** before spending GPU on models.\n4. **Log traces** and bucket failures:**stop early** ,**parse** ,**package** ,**grade** .\n5. **Report pass@k and pass^k** separately for unattended vs reviewed workflows.\n6. **Pin providers** when comparing open weights.\n7. **Publish infrastructure + dev tasks** ; protect**production-held** items with documented versioning.", "url": "https://wpnews.pro/news/hugging-face-agentic-evaluation-guide-harbor-shortcuts-and-open-science", "canonical_source": "https://explainx.ai/blog/hugging-face-agentic-evaluation-guide-harbor-november-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog", "published_at": "2026-11-23 00:00:00+00:00", "updated_at": "2026-11-23 17:17:10.263971+00:00", "lang": "en", "topics": ["ai-research", "ai-agents", "large-language-models", "ai-tools"], "entities": ["Hugging Face", "Avijit Ghosh", "Ben Burtenshaw", "Irene Solaiman", "Harbor", "Terminal-Bench", "HF Jobs", "HF Sandboxes"], "also_reported_by": [], "takeaway": "Harness-only changes moved Terminal-Bench scores by up to 29.9 percentage points with the same model, so a quoted benchmark percentage is only meaningful alongside the harness commit, sandbox image, and verifier version that produced it.", "recommendation": {"advice": "Pin and report the harness commit, sandbox image, and verifier version with every agentic benchmark score, since harness-only changes moved Terminal-Bench results by up to 29.9 points on the same model.", "playbook": "evals-testing", "playbook_url": "https://wpnews.pro/playbooks/evals-testing"}, "alternates": {"html": "https://wpnews.pro/news/hugging-face-agentic-evaluation-guide-harbor-shortcuts-and-open-science", "markdown": "https://wpnews.pro/news/hugging-face-agentic-evaluation-guide-harbor-shortcuts-and-open-science.md", "text": "https://wpnews.pro/news/hugging-face-agentic-evaluation-guide-harbor-shortcuts-and-open-science.txt", "jsonld": "https://wpnews.pro/news/hugging-face-agentic-evaluation-guide-harbor-shortcuts-and-open-science.jsonld"}}