shadowgate report: serve

Run serve · mode serve · 200 decisions · tiers haiku → opus

Summary

OKSkipped-case error vs references is within tolerance 5%: the upper bound 4.8% is at or below it. From the audit alone (weighted disagreement 2.5%, interval 0.07%-12.7%) the status would be INCONCLUSIVE; that is what a run without references reports.

The fast tier (haiku) answered 90% of 200 tasks without escalating. On those, it disagrees with opus on an estimated 2.5% (95% CI 0.1–12.7%, 51 audits, n_eff 42). Against reference answers, the skipped cases are wrong on 1.7% (95% CI 0.6–4.8%, 181 graded). That is about 3.0 wrong answers among the 181 skipped cases (1.0–8.6).

Answered by fast tier
90.5%
181 of 200 tasks
Escalation rate
9.5%
95% CI 6.2–14.4%
Served accuracy
98.5%
95% CI 95.7–99.5%, 200 graded
Cost per task
$0.0016
Savings vs always opus
86.5%
95% CI 85.6–87.3%; always opus: $0.012/task
Audit overhead
192.2%
$0.60 audit spend
Expected wrong skipped cases
3.0
95% CI 1.0–8.6

Audit by confidence bin

Skipped cases by served confidence (95% CI in brackets)
Confidence binSkippedAuditedDisagreement (CI)Error vs references (CI)
[0.00, 0.50)00——
[0.50, 0.70)00——
[0.70, 0.80)00——
[0.80, 0.90)441513.3% (1.7–40.5%)4.5% (1.3–15.1%)
[0.90, 0.95)30160% (0.0–20.6%)3.3% (0.6–16.7%)
[0.95, 1.00]107200% (0.0–16.8%)0% (0.0–3.5%)
Skipped-case disagreement by confidence binBars show the disagreement per bin with 95% CI whiskers; the dashed line is the tolerance.0%20%40%60%[0.00, 0.50) n=0n=0[0.00, 0.50)[0.00, 0.50)[0.50, 0.70) n=0n=0[0.50, 0.70)[0.50, 0.70)[0.70, 0.80) n=0n=0[0.70, 0.80)[0.70, 0.80)[0.80, 0.90) 13% [1.7%, 40%] n=15n=15[0.80, 0.90)[0.80, 0.90)[0.90, 0.95) 0% [0%, 21%] n=16n=16[0.90, 0.95)[0.90, 0.95)[0.95, 1.00] 0% [0%, 17%] n=20n=20[0.95, 1.00][0.95, 1.00]tolerance 5%served confidencedisagreement
Skipped-case disagreement by confidence binBars show the disagreement per bin with 95% CI whiskers; the dashed line is the tolerance.0%20%40%60%0.00 n=0n=00.000.000.50 n=0n=00.500.500.70 n=0n=00.700.700.80 13% [1.7%, 40%] n=15n=150.800.800.90 0% [0%, 21%] n=16n=160.900.900.95 0% [0%, 17%] n=20n=200.950.95tolerance 5%served confidence (bin start)disagreement
Whiskers are 95% CIs; n is the number of audits per bin.

Tier usage and costs

Decisions served per tier
TierRoleServedShare
haikufast18190.5%
opusfinal, reference199.5%
Audit coverage of skipped cases
QuantityCount
Skipped181
Audited51
Not selected for audit130
Audit pending0
Audit errors0
Undecided (judge could not decide)0
No audit record0
Graded against references181
Unweighted disagreement (biased)3.9% (1.1–13.2%)
Audit tier (opus) error vs references0% (0.0–8.4%)
Costs (USD)
QuantityValue
Serving cost (total)$0.31
Audit cost (total)$0.60
Cost per task$0.0016
Est. cost per task, always opus$0.012 ($0.011–$0.012)
Estimated savings86.5% (85.6–87.3%)
Audit overhead (audit / serving)192.2%
Decisions with unknown serving cost0
Decisions with unknown audit cost0

Threshold sweep

Offline threshold sweep over 200 eval-mode tasks (15 threshold settings); accuracy is measured against reference answers.

Accuracy vs cost per task15 simulated threshold settings (gray), the Pareto frontier (line), single-tier and oracle baselines, and the recommended point (star).95%96%97%98%99%100%$0.00050$0.0010$0.0020$0.0050$0.010cost per task (USD, log scale)accuracyoperating pointsPareto frontieralways haikualways opusoracle (lower bound)recommendedoracle (lower bound)always opusrecommendedalways haikuoperating pointsoperating pointsPareto frontierPareto frontieralways haikualways haikualways opusalways opusoracle (lower bound)oracle (lower bound)recommendedrecommended
Accuracy vs cost per task15 simulated threshold settings (gray), the Pareto frontier (line), single-tier and oracle baselines, and the recommended point (star).95%96%97%98%99%100%$0.00050$0.0010$0.0020$0.0050$0.010cost per task (USD, log scale)accuracyoperating pointsPareto frontieralways haikualways opusoracle (lower bound)recommendedoracle (lower bound)always opusrecommendedalways haikuoperating pointsoperating pointsPareto frontierPareto frontieralways haikualways haikualways opusalways opusoracle (lower bound)oracle (lower bound)recommendedrecommended
Gray: every simulated threshold setting. Line: Pareto frontier. Star: recommended thresholds.

Recommendation

Objective
max-savings
Thresholds
haiku ≥ 0.85
Selection accuracy (140 tasks)
99.3% (95% CI 96.1–99.9%)
Selection cost per task
$0.0024
Selection escalation rate
16.4%
Held-out accuracy (60 tasks)
98.3% (95% CI 91.1–99.7%)
Held-out cost per task
$0.0024
Held-out escalation rate
16.7%
Accuracy vs always opus
-1.7 pp (95% CI -5.0 to +0.0 pp)

cheapest thresholds with accuracy >= 0.9900 (best single tier 'opus' at 1.0000 minus 0.01) on the selection split; validated on 60 held-out decisions (seed 0); held-out accuracy falls below the target; treat with caution

Baselines on all 200 usable tasks
RouterAccuracy (CI)Cost / taskEscalationTier share
always haiku95.0% (91.0–97.3%)$0.000470%haiku 100%, opus 0%
always opus100% (98.1–100.0%)$0.0120%haiku 0%, opus 100%
oracle (lower bound)100% (98.1–100.0%)$0.00105.0%haiku 95%, opus 5%
recommended (all data)99.0% (96.4–99.7%)$0.002416.5%haiku 84%, opus 16%

The oracle serves from the cheapest correct tier without paying for the tiers it skips; no real router can reach it.

Pareto frontier
ThresholdsAccuracy (CI)Cost / taskEscalationSkipped error (CI)
haiku ≥ 095.0% (91.0–97.3%)$0.000470%5.0% (2.7–9.0%)
haiku ≥ 0.5595.5% (91.7–97.6%)$0.000571.0%4.5% (2.4–8.4%)
haiku ≥ 0.696.5% (93.0–98.3%)$0.000803.0%3.6% (1.8–7.3%)
haiku ≥ 0.898.5% (95.7–99.5%)$0.00169.5%1.7% (0.6–4.8%)
haiku ≥ 0.8599.0% (96.4–99.7%)$0.002416.5%1.2% (0.3–4.3%)recommended
haiku ≥ 0.999.5% (97.2–99.9%)$0.004231.5%0.73% (0.1–4.0%)
haiku ≥ 0.95100% (98.1–100.0%)$0.006146.5%0% (0.0–3.5%)

Calibration

Confidence calibration per non-final tier
TierScoredECEBrierAUROCAURCMissing scores
haiku2000.0630.0410.9100.0080

ECE and Brier: lower is better. AUROC: how well the score separates right from wrong answers (0.5 = chance). AURC: area under the risk-coverage curve, lower is better.

Reliability: haikuAccuracy per confidence bin with Wilson intervals; points on the diagonal are perfectly calibrated.0%20%40%60%80%100%0%50%100%mean confidenceaccuracyperfect calibrationobserved
Reliability diagram for haiku (200 scored tasks).
Risk-coverage: haikuError rate among the skipped cases as the threshold is lowered and the tier answers more cases alone.0%1%2%3%4%5%6%0%50%100%coverage (share answered by tier)risk (error among skipped)tolerance 5%risk
Risk-coverage curve for haiku.

Caveats

Methodology

Disagreement is the share of skipped cases (answered by a non-final tier without escalating) whose answer differs from the final (audit) tier's answer to the same task, as decided by the configured comparator or judge. In serve mode only a random sample of skipped cases is shadow-audited; each audited case is weighted by 1/π, the inverse of its known inclusion probability (a Hajek inverse-probability-weighted estimator), so the estimate describes all skipped cases rather than only the audited ones. In eval mode every tier answers every task, so every skipped case is observed (π = 1). The audit tier is a proxy, not ground truth: disagreement counts differences from its answers, not verified errors, unless reference answers exist, in which case the error rate against them is reported as well. Audits that are pending, failed or undecided are treated as nonresponse: within each inclusion-probability stratum, completed audits are up-weighted by the inverse of the stratum's response rate, which assumes audits are missing at random within their stratum; strata without any completed audit cannot be represented and are excluded from the estimate (a caveat says so). Intervals are Wilson score intervals for unweighted proportions and Korn-Graubard intervals (Clopper-Pearson at the effective sample size n_eff) for weighted ones; when a stratum holding at least 10% of the skipped cases has fewer than 10 completed audits, the status is never reported as ok. The status uses a fixed-sample interval: checking it repeatedly as audits accumulate and stopping at the first ok inflates the chance of a false ok, so fix the number of audits in advance or use a stricter confidence level for repeated checks. The savings interval reflects only the uncertainty in the cost of always using the final tier. Sweep accuracies are Wilson intervals; recommended thresholds are chosen on a selection split and re-evaluated on a held-out split.