# Hugging Face Agentic Evaluation Guide: Harbor, Shortcuts, and Open Science

> Source: <https://explainx.ai/blog/hugging-face-agentic-evaluation-guide-harbor-november-2026?utm_source=rss&utm_medium=feed&utm_campaign=blog>
> Published: 2026-11-23 00:00:00+00:00

**Recommendation:** 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.
More in the playbook "Evals and testing for LLM apps": <https://wpnews.pro/playbooks/evals-testing>

**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**.

## Three eras of evaluation design

Hugging Face sorts benchmark history into **three eras**:

| Era | Examples in the post | What gets scored | 
|---|---|---|
| **Question-answer** | MMLU (2020), GPQA (2023) | Final text against a key | 
| **Agentic** | SWE-bench, WebArena, Terminal-Bench | Tool use, files, and environment state | 
| **Teams / swarms** | Multi-agent orchestration research | Coordinated group outputs | 

The 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**.

For 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**.

## Anatomy: task, harness, environment, verifier, trace

Figure 2 in the official post maps five components:

1. **Task** — instructions and success criteria.
2. **Agent harness** — wraps the model, tools, and stopping rules (**Terminus-2** in the walkthrough).
3. **Pinned environment** — OS image, packages, file paths (**HF Sandbox** per rollout).
4. **Verifier** — checks**final state** after a rollout ends.
5. **Trace** — messages, tool calls, observations (**ATIF** in Harbor exports).

When 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.

## The raman-lab walkthrough in plain language

SWE-bench style issue linked to a patch, echoing agentic evals that grade environment changes not text alone

### Claim and starting task

The fictional **physics lab** wants an agent to:

- Read a **Raman spectrum** file (graphene peaks).
- **Fit curves** to peaks.
- Compute a **D-to-G defect ratio** .
- Write **`/app/results.json`** .

Hugging 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.

Baseline 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.

### Adaptation to raman-lab

Authors built **eight synthetic spectra** with known ground truth, **three peaks**, and explicit **units**. That is a **development set** — not yet production coverage.

Infrastructure choices documented in the post:

- **Harbor** inside an**HF Job** for batch rollouts.
- **HF Sandbox** isolation per trial.
- **Inference Providers** for model calls, with**provider pinned** when comparing open weights.

### The shortcut that fooled the grader

Before trusting model scores, HF **attacked its own grader** with a **shortcut script**:

- Read **tallest points** per peak instead of fitting.
- Guess **widths** .
- Output the **correct D/G ratio** without doing the assigned skill.

**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.

Builders should add **negative controls**: **reference solution passes**, **do-nothing agent fails**, **known-bad shortcut fails**.

### Results: traces beat aggregates

On **eight adapted tasks × three rollouts**:

- **11/24 rollouts passed** overall.
- **19/24** called`mark_task_complete` in the**first response** ;**11** produced**no results file** .
- Many failures were **missing NumPy/SciPy** the task expected agents to install — an**environment** lesson, not a**reasoning** lesson.
- Only **2/13** failures were**bad fits** once packages worked.

**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**.

Mean pass rate **0.46 ± ~0.11** (clustered by task). A **repeat run: 10/24** — reminder that **eight dev tasks** cannot rank frontier models confidently.

### Model comparison and saturation

Six models ran on the same eight tasks. Highlights from the post:

- **gpt-oss-120b** :**13/24** with**DeepInfra pinned** vs**11/24** earlier — provider settings matter.
- Only **gpt-oss-120b** spammed**instant completion** calls (**22/24** first-response`mark_task_complete` ).
- **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.

That 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.

## Bitter lessons: public review and broken benchmarks

Section 3 catalogs how **public review fixes tasks**:

- **Terminal-Bench 2.1** fixed**28/89 tasks** after user reports (e.g.,**Spark SQL tests vs PostgreSQL instructions** ).
- **CritPt** kept references private; physicist auditors re-solved**21/56** challenges themselves before finding errors.
- **OpenAI's SWE-bench Verified audit** flagged issues in**59.4%** of examined problems when tasks were**readable** .
- **SWE-bench Pro** ~**30% broken** estimate led OpenAI to**withdraw an adoption recommendation** in**July 2026** .

Hugging 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.

For **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.

## What to open strategically

The guide's release table (section 4) is the policy core:

| Component | Open by default | Hold back when | 
|---|---|---|
| **Task templates & infra** | Harbor tasks, Docker specs, verifier code | Active contest items | 
| **Traces** | Reviewed excerpts, analysis notebooks | Customer data in logs | 
| **Test items** | Reference examples | Contamination-sensitive finals | 

They **shipped raman-lab on the Hub** plus **rollout datasets** for six models and a **GitHub repo** for generators — practicing what the essay preaches.

That 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**.

## How this differs from older explainx.ai eval coverage

| Post | Focus | 
|---|---|
| **[Microsoft ThinkingBox](https://explainx.ai/blog/microsoft-thinkingbox-agent-benchmark-stateful-2026)** | Stateful multi-turn **enterprise** scenarios | 
| **[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** | 
| **This HF guide** | **Operational cookbook** — shortcuts, traces, pass^k, Hub release | 

None 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.

## Hub scale and why HF wrote this now

The 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.

That 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**.

Google 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.

## Construct validity: does the task measure the claim?

The 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.

Applied to **raman-lab**:

- **Fitting synthetic spectra** does**not** prove an agent can**review a full lab PDF** ,**notice a bad measurement** , or**escalate to a human** .
- If every task ships **clean CSVs** , the eval cannot show**judgment under messy inputs** .

**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.

For **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.

## Glossary terms the guide standardizes

Hugging Face ends with explicit definitions — useful when vendors reuse words differently:

| Term | Meaning in the guide | 
|---|---|
| **Rollout / trial** | One full agent attempt at one task | 
| **ATIF** | Shared **trace** schema for messages and tool calls | 
| **pass@k** | At least one success in **k** tries | 
| **pass^k** | Success on **all k** tries — stricter for unattended jobs | 
| **Development set** | Tasks used **while building** the eval — not final held-out production | 
| **Verifier** | Code that grades **environment state** after rollout | 

When 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**.

## Builder checklist after reading the HF guide

1. **Write the claim** in one sentence (what skill, not what marketing adjective).
2. **Fork an open task format** (Harbor + Terminal-Bench pattern) instead of bespoke JSON.
3. **Run oracle, null agent, shortcut** before spending GPU on models.
4. **Log traces** and bucket failures:**stop early** ,**parse** ,**package** ,**grade** .
5. **Report pass@k and pass^k** separately for unattended vs reviewed workflows.
6. **Pin providers** when comparing open weights.
7. **Publish infrastructure + dev tasks** ; protect**production-held** items with documented versioning.
