# Measuring the Harness

Evals are the loss curve for harness engineering. Without un-gameable, task-matched benchmarks, harness changes turn into folklore. Here are our December 4, 2026 Terminal-Bench 4.1 and DeepSWE v1.1 measurements: where nanocode wins, where subagents backfire, and where we still trail.

## The Loss Curve

Model labs train weights against loss curves and verifiable rewards. Harness engineers change prompts, compaction, tool schemas, and delegation loops every day, yet most teams evaluate those edits by vibe.

In the split between liquid weights and the solid world, the eval suite is the solid ground that keeps the harness honest. If a change raises pass rate or cuts cost on matched tasks, it ships. If it regresses, it gets reverted.

All numbers below come from `nanoeval` runs against Harbor v4.1.0 baselines as of December 4, 2026. On Terminal-Bench 4.1, we exclude Modal and GPU tasks so every arm faces the exact same 62 CPU tasks (five attempts per task, 310 trials per full arm).

## Why Matching Matters

Never compare a partial subset against a 62-task full-suite average. Easy tasks finish fast while long, failing tasks finish last, which inflates early pass rates and creates fake wins.

Claude Opus 5.5 on December 4, 2026 (`fccf16d`) proves how hard that trap bites. Across its first 38 completed CPU tasks, nanocode posted a 74.6% pooled pass rate against Claude Code's 65.2% full 62-task average.

That looks like a 9-point victory until we intersect the exact same 38 CPU tasks. On those 38 tasks, nanocode scores 70.0% (91/122) against Claude Code's 69.5% (132/190), a +0.5 percentage point tie. Every head-to-head result below enforces strict task matching.

## Head to Head

Every row below compares stock nanocode against the native harness for the same model at `max` effort on the exact CPU tasks both harnesses completed.

| Model                         | Matched CPU |   nanocode Pass |               Baseline Pass |    Delta (W/L/T) |        Cost/Pass |
| ----------------------------- | ----------: | --------------: | --------------------------: | ---------------: | ---------------: |
| GPT-6.2 Astra (`e9785e0`)     |       52/62 | 64.6% (167/255) |       59.6% Codex (155/260) | +5.0 pp (8/4/40) |   $9.53 vs $6.87 |
| GPT-6.2 Sol (`e9785e0`)       |       52/62 | 61.2% (153/253) |       60.4% Codex (157/260) | +0.8 pp (8/8/36) |   $3.18 vs $1.72 |
| Claude Opus 5.5 (`fccf16d`)   |       38/62 |  70.0% (91/122) | 69.5% Claude Code (132/190) | +0.5 pp (7/5/26) | $10.56 vs $21.74 |
| Claude Sonnet 5.5 (`fccf16d`) |       29/62 |   67.1% (50/75) |  68.3% Claude Code (99/145) | -1.1 pp (6/5/18) |  $7.89 vs $34.76 |
| Claude Fable 5.2 (`fccf16d`)  |       16/62 |   73.5% (38/48) |   75.0% Claude Code (60/80) | -1.5 pp (1/1/14) | $20.12 vs $76.00 |

```mermaid
---
config:
  xyChart:
    showDataLabel: true
---
xychart-beta horizontal
  title "TB 4.1 CPU matched pass rate (%), Dec 4, 2026"
  x-axis ["Astra nc (52)", "Astra Codex (52)", "Sol nc (52)", "Sol Codex (52)", "Opus nc (38)", "Opus CC (38)", "Sonnet nc (29)", "Sonnet CC (29)", "Fable nc (16)", "Fable CC (16)"]
  y-axis "pass rate %" 0 --> 90
  bar [64.6, 59.6, 61.2, 60.4, 70.0, 69.5, 67.1, 68.3, 73.5, 75.0]
```

* **GPT-6.2 Astra win:** nanocode leads Codex by 5.0 percentage points on 52 matched tasks at 1.39x Codex cost per pass ($6.24 vs $4.27 per trial).
* **GPT-6.2 Sol tie:** Stock nanocode (`e9785e0`) ties Codex at +0.8 percentage points while spending 1.85x more per pass ($1.92 vs $1.06 per trial). Our earlier `08fde1c` baseline scored 63.5% vs 61.6% (+2.0 pp, $3.32/pass) on 51 matched tasks.
* **Claude cost advantage:** On Opus 5.5, nanocode ties Claude Code at roughly half the cost per pass ($10.56 vs $21.74, 0.49x). Sonnet 5.5 runs at less than a quarter of Claude Code's cost ($7.89 vs $34.76), and Fable 5.2 is an early 16-task sample ($20.12 vs $76.00).
* **In-progress sweeps:** Full 62/62 CPU sweeps are still running (535 of 620 GPT-6.2 trials scored, Claude Opus 5.5, Sonnet 5.5, and Fable 5.2 running in parallel). All nanocode rows above remain matched intermediates until 62/62 completes.

## Frontier Standing

This table lists Harbor v4.1.0 baselines that completed all 62 CPU tasks. Zero partial nanocode runs appear here, because mixing partial subsets into a full-suite ranking corrupts the scoreboard.

| Harness         | Model           | Effort | 62/62 Pass | Cost/Pass | Frontier |
| --------------- | --------------- | ------ | ---------: | --------: | -------- |
| GitHub Copilot  | Copilot Fusion  | max    |      70.6% |     $8.46 | Pareto   |
| Antigravity CLI | Gemini 4 Carbon | high   |      65.8% |     $6.38 | Pareto   |
| Claude Code     | Opus 5.5        | max    |      65.2% |    $21.74 | -        |
| Claude Code     | Fable 5.2       | max    |      64.2% |    $76.00 | -        |
| Codex           | GPT-6.2 Sol     | max    |      62.9% |     $1.72 | Pareto   |
| Claude Code     | Sonnet 5.5      | max    |      62.6% |    $34.76 | -        |
| Codex           | GPT-6.2 Astra   | max    |      62.6% |     $6.87 | -        |
| Codex           | GPT-6.1 Sol     | max    |      61.6% |     $3.16 | -        |
| Antigravity CLI | Gemini 4 Neon   | xhigh  |      61.3% |     $9.52 | -        |

Three baselines define the 62/62 Pareto frontier: Copilot Fusion (70.6%, $8.46/pass), Gemini 4 Carbon (65.8%, $6.38/pass), and Codex Sol (62.9%, $1.72/pass). nanocode enters this table once its full 62/62 sweeps complete.

## Subagents and Effort

The sharpest finding in our December 4, 2026 data came from turning subagents off on GPT-6.2 Sol. We intersected all six Sol arms on the exact 49/62 CPU tasks every arm scored.

| Arm                                    | Scored Tasks |        Raw Pass | Common-49 Pass | Cost/Pass |
| -------------------------------------- | -----------: | --------------: | -------------: | --------: |
| nc subagents off (max, prelim 181/260) |        50/62 | 64.9% (118/181) |          66.2% |     $1.73 |
| nc `08fde1c` (subagents on, max)       |        51/62 | 63.5% (159/251) |          64.9% |     $3.32 |
| nc stock `e9785e0` (subagents on, max) |        52/62 | 61.2% (153/253) |          64.1% |     $3.18 |
| Codex GPT-6.2 Sol (max reference)      |        62/62 | 62.9% (195/310) |          63.7% |     $1.72 |
| nc subagents off (xhigh)               |        52/62 | 58.1% (151/260) |          61.2% |     $1.05 |
| nc subagents off (high)                |        52/62 | 55.8% (145/260) |          58.8% |     $1.05 |

```mermaid
---
config:
  xyChart:
    showDataLabel: true
---
xychart-beta horizontal
  title "GPT-6.2 Sol common-49 CPU pass rate (%)"
  x-axis ["nc off max*", "nc 08fde1c on", "nc stock on", "Codex max", "nc off xhigh", "nc off high"]
  y-axis "pass rate %" 0 --> 80
  bar [66.2, 64.9, 64.1, 63.7, 61.2, 58.8]
```

## Effort and Cost

Turning subagents off at `max` effort dropped cost per pass by 46% ($3.18 down to $1.73, matching Codex at $1.72) while raising the common-49 pass rate from 64.1% to 66.2% (+2.5 pp ahead of Codex's 63.7%). The `*` arm is preliminary at 181 of 260 trials.

```mermaid
---
config:
  xyChart:
    showDataLabel: true
---
xychart-beta horizontal
  title "GPT-6.2 Sol cost per pass (USD)"
  x-axis ["nc off high", "nc off xhigh", "Codex max", "nc off max*", "nc stock on", "nc 08fde1c on"]
  y-axis "USD per pass" 0 --> 4
  bar [1.05, 1.05, 1.72, 1.73, 3.18, 3.32]
```

Be strict about the confound here. Both the `xhigh` (61.2% at $1.05/pass) and `high` (58.8% at $1.05/pass) runs also had subagents disabled, so they measure reasoning effort with subagents off rather than effort in isolation.

The harness lesson is clear. Single-task terminal benchmarks rarely benefit from spawning child agents, because delegation duplicates prompt context and adds coordination turns. Swarms win when tasks split into independent parallel workstreams, not when a parent delegates serial debugging.

## DeepSWE v1.1 Gap

Terminal-Bench 4.1 is not the whole story. On December 4, 2026, we also audited nanocode on DeepSWE v1.1 (113 repository engineering tasks) inside `krun` microVMs, where we lose plainly to Harbor leaders.

| Harness         | Model                    | Effort |      Audited Score | Cost/Pass |
| --------------- | ------------------------ | ------ | -----------------: | --------: |
| kodik (Harbor)  | deepseek-v4.1-flash-1017 | -      |    75.9% (170/224) |         - |
| kodik (Harbor)  | gpt-6.1-sol              | -      |     73.5% (83/113) |     $0.99 |
| reason (Harbor) | gpt-6.1-sol              | medium |   73.0% (737/1012) |     $0.54 |
| codex (Harbor)  | gpt-6.1-sol              | -      |    72.3% (162/224) |     $1.27 |
| pi (Harbor)     | gpt-6-astra              | xhigh  |    69.6% (236/339) |     $6.71 |
| codex (Harbor)  | gpt-6-astra              | xhigh  |    69.2% (234/338) |     $7.04 |
| nanocode        | GPT-6.2 Sol              | max    |     60.4% (67/111) |         - |
| nanocode        | GPT-6.2 Astra            | max    |     60.4% (67/111) |         - |
| nanocode        | Claude Opus 5.5          | max    | 50/93 (incomplete) |         - |

nanocode scores 60.4% (67/111 audited tasks) on both GPT-6.2 Sol and GPT-6.2 Astra, trailing the DeepSWE leaders by 9 to 15 percentage points. Claude Opus 5.5 sits at 50/93 scored (94/113 audited), below our 110/113 chart floor, with the last 5 of 339 DeepSWE trials still running.

## Closing the Loop

A solid harness earns trust by publishing every regression and every deficit on the same page as its wins. Three concrete tasks follow directly from this December 4, 2026 snapshot.

* **Close full 62/62 sweeps:** Finish the remaining GPT-6.2 and Claude Terminal-Bench 4.1 trials and place nanocode directly on the 62/62 frontier table.
* **Isolate delegation from effort:** Run controlled `high` and `xhigh` sweeps with subagents on and off, then tighten delegation triggers so Sol stops paying a 1.85x tax on serial tasks.
* **Close the DeepSWE gap:** Audit the 9 to 15 point shortfall on DeepSWE v1.1 repository tasks and land targeted harness fixes measured on the exact same 113-task benchmark.

- [The Harness for Swarms](/experiments/the-harness-for-swarms): Why swarms need a solid, embeddable, durable runtime.

- [Code Mode Is Necessary](/experiments/code-mode-is-necessary): Cut context blowup by running tools inside JavaScript cells.

- [Durable Nanocode](/experiments/durable-nanocode): Flat per-turn durability across SQLite, Postgres, and Workers.

- [Getting Started](/docs/introduction/getting-started): Install nanocode and run your first durable agent.
