Join the Hanzo beta and get 20% off any paid plan

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

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:

DimensionCovered by the 3.02× result?Why it matters
Wall-clock resolution speed on the 42 mutually solved repository-repair tasksYesFixed protocol, automated test suite defines ground truth, 95% CI 2.06×–4.36×.
Overall solve rate across unsolved or single-system-solved tasksNoConditioning on mutual solves measures conditional speed, not raw capability ceiling.
Greenfield architecture or ambiguous product discoveryNoRepository repair has an existing codebase and a failing test oracle; product design does not.
Human PR review time and 6-month maintenance overheadNoIn 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 deploymentsNoControlled benchmark tasks isolate harness execution from distributed fleet contention.
Memory, knowledge-graph, and code-retrieval tradeoffsNoReported 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. Every Evaluation must belong to a Run, and every Run must reference pinned Environment and Config 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 its gate_ref was stored and hashed before the subject run's RUN_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, a HypothesisRecord containing an explicit null_hypothesis, frozen gate_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 isolated hanzoai/visor sandbox (HIP-1172) with no access to private holdout labels or external uncontrolled endpoints. A Claim starts in unreplicated state and moves to replicated only after an independent clean-room verifier replays the recorded Artifact and Dataset digests from scratch. No candidate or meta-controller may edit gates, holdouts, or verifier authority (HIP-1400 §6, HIP-1401 §2).
  • Retraction reverses credit: If CounterEvidence demonstrates failed replication or data leakage, the claim transitions to retracted 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 labels 37/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). It hard-fails if GPU busy exceeds 15%, if a competing compute job is active, or if GPU busy% is unreadable on CUDA/ROCm/Vulkan.
  • Pinned provenance manifest: Every run directory writes manifest.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, matching llama-bench), and identical GGUF model files.
  • Identical wall-clock instrumentation and Student-t statistics: hanzo-bench computes tok/s from raw per-repetition [wall_s, tokens], calculates two-sided 95% Student-t confidence intervals, flags noisy runs when coefficient of variation CV > 5%, and assigns WIN, LOSS, or PARITY strictly on whether the ratio's entire confidence interval clears 1.0.

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

Run (bench-runs/)Hardware / BackendEngine buildShape (pp2048, c=1)Hanzo Engine (tok/s, 95% CI)llama.cpp (tok/s, 95% CI)Ratio (lo–hi)Verdict
spark-cuda-qwen3-1p7bNVIDIA GB10 / CUDAv1.7.87Prefill 20487,285.6 ± 745.27,326.8 ± 394.00.994 (0.879–1.109)PARITY
dbc-metal-qwen3-1p7bApple Silicon / Metalv1.7.87Prefill 20483,301.5 ± 4.33,696.9 ± 111.40.893 (0.866–0.920)LOSS
evo-rocm-qwen3-1p7bAMD Strix Halo / ROCmv1.7.87Prefill 20483,506.1 ± 47.04,551.3 ± 20.10.770 (0.759–0.781)LOSS
evo-rocm-qwen3p8-27b-rocmfp4AMD Strix Halo / ROCmv1.7.95Prefill 204849.4 ± 0.5349.7 ± 4.80.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; see What a Million Tokens Actually Costs Hanzo).
  3. Conditional task speed (like our 3.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 under HIP-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:

Comments

Sign in with your Hanzo ID to comment.

Loading comments…

Read more