cd /news/ai-research/how-we-benchmark-hanzo-including-wha… · home › topics › ai-research › article
[ARTICLE · art-178273] src=hanzo.blog ↗ pub= topic=ai-research verified=true sentiment=· neutral

How We Benchmark Hanzo — Including What 3.02× Does Not Cover

Hanzo published a benchmark methodology in which its coding-agent harness recorded a 3.02× wall-clock speed advantage (95% confidence interval 2.06×–4.36×) across 42 repository-repair tasks solved by both systems, while explicitly listing what the figure does not cover, including overall solve rate, greenfield work, and human PR review time. The company codified its measurement rules in two standards in its hanzoai/hips repository, HIP-1334 (Research — The Unified Research Runtime) and HIP-1403, which require prospectively frozen gates and clean-room replay, and it publishes "Where it loses" rows alongside wins, such as LoCoMo multi-hop recall gains that did not move downstream reader token F1 outside the baseline confidence interval and LongMemEval graph retrieval latency slower than raw cosine similarity. Hanzo cited METR's 2025 randomized controlled trial, in which experienced maintainers felt 20% faster while measured end-to-end completion was 19% slower, to argue that conditional speedups should not be quoted as universal capability claims.

recommendation

Report speedups only on mutually solved tasks with a confidence interval and a companion "Where it loses" table, as Hanzo did for its 3.02× (2.06×–4.36×) result across 42 repository-repair tasks.

more in playbook: Evals and testing for LLM apps
by read9 min views2 publishedNov 29, 2026
How We Benchmark Hanzo — Including What 3.02× Does Not Cover
Image: Hanzo (auto-discovered)

Why unverified marketing charts destroy engineering credibility, how HIP-1403 and HIP-1334 enforce prospectively frozen gates and clean-room replay, and the exact boundary conditions around our 3.02× repository-repair speedup and engine losses.

On this page #

Every week, an AI lab publishes a bar chart claiming a 3× speedup or a 95% score on an unnamed subset of tasks, evaluated on an unpinned build, without confidence intervals, without cost accounting, and without a single row showing where the system lost.

That culture is corrosive—for engineers making architecture decisions and for infrastructure investors trying to distinguish durable systems work from benchmark theater.

At Hanzo, we made a concrete rule: no headline number without its exact boundary conditions, its confidence interval, its reproducible artifact digest, and a companion section showing where our stack loses. Here is how that standard works in code and specification—starting with one of our own most-cited numbers.

1. What 3.02× measures—and what it explicitly does NOT cover #

In our coding-agent evaluation on repository repair (hanzo.ai/benchmarks), our harness recorded a 3.02× wall-clock speed advantage (95% confidence interval: 2.06× to 4.36×) across 42 repository-repair tasks solved by both systems under comparison.

That is a real, reproducible engineering result. It is also easy to misquote as a universal claim if you strip off its boundary conditions. Here is the exact boundary of what 3.02× does and does not cover:

Dimension Covered by the 3.02× result? Why it matters
Wall-clock resolution speed on the 42 mutually solved repository-repair tasks Yes Fixed protocol, automated test suite defines ground truth, 95% CI 2.06×–4.36× .
Overall solve rate across unsolved or single-system-solved tasks No Conditioning on mutual solves measures conditional speed, not raw capability ceiling.
Greenfield architecture or ambiguous product discovery No Repository repair has an existing codebase and a failing test oracle; product design does not.
Human PR review time and 6-month maintenance overhead No In METR's 2025 randomized controlled trial of experienced maintainers on mature repos, developers felt 20% faster while measured end-to-end completion was 19% slower (with METR's Feb 2026 update noting selection effects prevent a single universal scalar).
Production network tail latency, multi-tenant queue contention, or cross-repo deployments No Controlled benchmark tasks isolate harness execution from distributed fleet contention.
Memory, knowledge-graph, and code-retrieval tradeoffs No Reported separately on our benchmark board—including explicit "Where it loses" rows.

Those "Where it loses" rows are published right beside our wins:

  • LoCoMo: Improving multi-hop evidence recall (ALL@k ) did not move downstream reader token F1 outside the baseline's confidence interval.
  • LongMemEval: Our graph retrieval engine's median latency is slower than raw cosine similarity.
  • RepoBench-R: Earlier code-retrieval comparisons evaluated generators without a prospectively frozen dev-to-test split—flagged openly as a methodological limitation rather than smoothed over.

If a benchmark report has no "Where it loses" table, you are not reading engineering measurement; you are reading a brochure.

2. Four hard rules from HIP-1334 and HIP-1403 #

Good intentions do not prevent metric drift or accidental p-hacking—especially once autonomous agents begin running hundreds of experiments a day. We codified our measurement discipline into two standards in hanzoai/hips: HIP-1334 (Research — The Unified Research Runtime) and HIP-1403 (Autonomous Scientific Research Protocol), paired with HIP-1105 (Benchmark — The Measurement Arena).

HIP-1334 §1 states four mechanical invariants enforced by the runtime:

  1. No result exists without lineage. EveryEvaluation must belong to aRun , and everyRun must reference pinnedEnvironment andConfig artifacts (container image digest, lockfile digest, random seeds, hardware profile, and input dataset digests).
  2. No claim exists without an evaluation.POST /v1/research/claims refuses any claim lacking completed evaluation IDs and item-level records.
  3. No promotion exists without a prospectively frozen gate. A candidate passes only when itsgate_ref was stored and hashedbefore the subject run'sRUN_CREATED event was received.
  4. No training row exists without provenance and purpose. Datasets tagged for evaluation (Role::Eval ) are barred from training stages to stop silent holdout contamination.

Why do we insist on prospectively frozen gates? Because we caught our own earlier pipeline violating that rule. As HIP-1334 documents openly in its Motivation section, an earlier training job (job_30bfc6e5af09a9f7) lowered support-triage accuracy from 0.6641 to 0.6486 yet exited with verdict accepted because the legacy gate only checked protected regression suites and reported target suites without enforcing them. Publishing that failure in the spec and replacing CLI flag gates with immutable, server-evaluated gates is how you stop regressions permanently.

HIP-1403 extends these rules to autonomous research and evolutionary optimization (HIP-1401):

  • Pre-registration before execution: Before any confirmatory run starts, aHypothesisRecord containing an explicitnull_hypothesis , frozengate_ref ,dataset_refs , and hard compute/dollar caps (max_compute_seconds ,max_cost_usd ) must be recorded in the tamper-evident Evidence ledger (HIP-1103 ). Exploratory sweeps cannot be retroactively relabeled as confirmatory wins.
  • Independent qualification outside the candidate's authority: Every confirmatory run executes inside an isolatedhanzoai/visor sandbox (HIP-1172 ) with no access to private holdout labels or external uncontrolled endpoints. AClaim starts inunreplicated state and moves toreplicated only after an independent clean-room verifier replays the recordedArtifact andDataset digests from scratch. No candidate or meta-controller may edit gates, holdouts, or verifier authority (HIP-1400 §6,HIP-1401 §2).
  • Retraction reverses credit: IfCounterEvidence demonstrates failed replication or data leakage, the claim transitions toretracted and deterministically reverses all downstream Hanzo XP projections (HIP-1402 ).
  • Full-cost accounting: Research Yield (Y_R = ΔH_verified / C_total_research ) counts preprocessing, teacher inference, failed runs, interrupted jobs, and replication overhead—not just the one lucky run that crossed the threshold. Even our own internal baselines stay labeled honestly:HIP-1403 §10 explicitly marks the historical Kai tally (17/37 ) as requiring audit and labels37/37 as a research objective, never a shipped claim.

And under HIP-1105, /v1/benchmark keeps two separate planes that are never blended: publishedClaim (external provider cards and third-party leaderboards, seeded with 274 cited entries where every write requires a source) versus harness-measured attempts, reported with 95% Wilson intervals (so bounds never overshoot 100%) and never comparing runs across mismatched item counts.

3. How we benchmark local inference kernels—including our losses #

The same discipline governs low-level inference benchmarking in hanzoai/engine.

Our hardware dossier runner (scripts/dossier.sh) and scorer ( hanzo-bench/src/board.rs) refuse to produce vanity numbers:

  • Quiet gate: Before running a single sample,dossier.sh inspects running GPU/compile processes (cargo ,rustc ,hanzo-engine ,llama-bench ,ollama ,vllm ,sglang , profilers) and live GPU utilization (nvidia-smi /rocm-smi ). Ithard-fails if GPU busy exceeds15% , if a competing compute job is active, or if GPU busy% is unreadable on CUDA/ROCm/Vulkan.
  • Pinned provenance manifest: Every run directory writesmanifest.json pinning exact engine git SHA,dirty-tree flag (so an uncommitted local tweak cannot masquerade as a clean commit), crate versions (hanzo-ml , kernel crates), binary hashes, sampler (greedy-argmax by default, matchingllama-bench ), and identical GGUF model files.
  • Identical wall-clock instrumentation and Student-t statistics:hanzo-bench computestok/s from raw per-repetition[wall_s, tokens] , calculates two-sided** 95% Student-t confidence intervals** , flags noisy runs when coefficient of variationCV > 5% , and assignsWIN ,LOSS , orPARITY strictly on whether the ratio's entire confidence interval clears1.0 .

Look directly at committed receipts in hanzoai/engine/bench-runs/—showing parity and losses in plain sight:

| Run ( `bench-runs/` ) | Hardware / Backend | Engine build | Shape ( `pp2048` , c=1) | Hanzo Engine (tok/s, 95% CI) | `llama.cpp` (tok/s, 95% CI) | Ratio ( `lo` –`hi` ) | Verdict | 
|---|---|---|---|---|---|---|---|

| spark-cuda-qwen3-1p7b | NVIDIA GB10 / CUDA | v1.7.87 | Prefill 2048 | 7,285.6 ± 745.2 | 7,326.8 ± 394.0 | 0.994 (0.879–1.109 ) | PARITY | | dbc-metal-qwen3-1p7b | Apple Silicon / Metal | v1.7.87 | Prefill 2048 | 3,301.5 ± 4.3 | 3,696.9 ± 111.4 | 0.893 (0.866–0.920 ) | LOSS | | evo-rocm-qwen3-1p7b | AMD Strix Halo / ROCm | v1.7.87 | Prefill 2048 | 3,506.1 ± 47.0 | 4,551.3 ± 20.1 | 0.770 (0.759–0.781 ) | LOSS | | evo-rocm-qwen3p8-27b-rocmfp4 | AMD Strix Halo / ROCm | v1.7.95 | Prefill 2048 | 49.4 ± 0.5 | 349.7 ± 4.8 | 0.141 (0.139–0.144 ) | LOSS |

Why publish a 0.141× prefill loss on qwen3.8-27b ROCm FP4? Because that measurement immediately pinpointed a missing tiled prefill GEMM path (causing fallback dequantization on prefill) and turned an anecdotal "feels slow" report into a concrete roofline target. Similarly, in our GB10 networking benchmark, measuring off-box load exposed a single hardware NIC receive queue causing congestion collapse long before CPU saturated.

Even on model weights, we enforce the exact same receipt boundary. In HIP-0904 §6, we explicitly record that the only qualification receipt bundled in zenlm/zen6 is the upstream GSM8K score (1,283 / 1,319 = 0.9727, SGLang on 4× NVIDIA GB300, FP8 KV cache, NEXTN/EAGLE acceptance length 2.775)—and that this receipt does not cover our YaRN 1M-context config edit or the DFlash 2 drafter. Upstream card claims without receipts are explicitly marked unmeasured.

4. The boundary disclosure checklist #

Whenever you read a Hanzo benchmark—or evaluate any AI infrastructure vendor—insist on separating five distinct axes that marketing decks routinely blur together:

  1. Single-kernel / local decode throughput (tokens/sec on a quiet box, exact quant format, exact prompt/gen length, Student-t CI).
  2. Prompt-cache hit economics (prefix reuse ratio and 4-class billing impact; seeWhat a Million Tokens Actually Costs Hanzo ).
  3. Conditional task speed (like our3.02× across 42 mutually solved repo-repair tasks—always paired with the CI and the exact task subset).
  4. End-to-end task accuracy and solve rate (held-out, prospectively gated, with Wilson intervals and clean-room replay underHIP-1403 ).
  5. Production end-to-end latency and tail behavior (network round-trips, provider queueing, failover p95/p99, and multi-tenant concurrency).

A win on axis 1 never proves a win on axis 4, and a win on axis 3 never substitutes for axis 5. Separating them is slower than writing hype, and infinitely more durable.

Continue the series:

Read more #

Hanzo — A Collective Intelligence Civilization

Personal AI stalls in isolated silos and corporate clouds concentrate control behind single operators. Hanzo Mesh connects eight tiers of heterogeneous devices and human stewards under one signed manifest, universal Publish with Hanzo deployment, a constitutional DAO OS across 99 apps, and federated human-agent co-evolution.

The Post-SaaS Enterprise: Why the Future of Software Is an Open Intelligence Operating System

Why per-seat SaaS fragments break under autonomous agents, and how Hanzo projects 11 open technical layers into 6 customer-facing systems—combining unified semantic knowledge, native A2UI 1.0, a 99-app distribution layer, and controlled recursive improvement.

Ternary Weights, Compression, and Efficient Intelligence

Why autoregressive LLM decode is memory-bandwidth-bound, how 1.58-bit ternary weights and 1-bit BitDelta compression shrink memory traffic on Apple Silicon, GB10, and Strix Halo, and the real kernel and accuracy limits we still have to solve.

── more in #ai-research 4 stories · sorted by recency
── more on @hanzo 3 stories trending now
sponsored brought to you by zahid.host 4,200+ EU-deployed projects
reading about agents? ship yours in a single git push.

Run your AI side-project on zahid.host

EU-based hosting, git-push deploys, automatic HTTPS, no cold starts. Free tier with a custom domain — perfect for shipping the agent you just read about.

$git push zahid main
→ Live at https://your-agent.zahid.host ✓
Get free account → Pricing
from €0/mo · no card required
LIVE [news/how-we-benchmark-han…] indexed:0 read:9min 2026-11-29 · —