shadowgate report: sonnet-serve

Run sonnet-serve · mode serve · 520 decisions · tiers haiku → sonnet

Summary

INCONCLUSIVEThe interval for skipped-case error vs references straddles tolerance 5%. More audits cannot help (every skipped case is already graded or audited); more tasks are needed to resolve it: about 13,247 more skipped cases if the rate holds. From the audit alone (weighted disagreement 0.80%, interval 0.01%-4.8%) the status would be OK; that is what a run without references reports.

The fast tier (haiku) answered 90% of 520 tasks without escalating. On those, it disagrees with sonnet on an estimated 0.80% (95% CI 0.0–4.8%, 122 audits, n_eff 110). Against reference answers, the skipped cases are wrong on 5.4% (95% CI 3.7–7.8%, 466 graded). That is about 25.0 wrong answers among the 466 skipped cases (17.1–36.3).

Answered by fast tier
89.6%
466 of 520 tasks
Escalation rate
10.4%
95% CI 8.0–13.3%
Served accuracy
92.7%
95% CI 90.1–94.6%, 520 graded
Cost per task
$0.0013
Savings vs always sonnet
82.6%
95% CI 82.2–83.0%; always sonnet: $0.0074/task
Audit overhead
132.9%
$0.89 audit spend
Expected wrong skipped cases
25.0
95% CI 17.1–36.3

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)53195.3% (0.1–26.0%)20.8% (12.0–33.5%)
[0.90, 0.95)43185.6% (0.1–27.3%)9.3% (3.7–21.6%)
[0.95, 1.00]370850% (0.0–4.2%)2.7% (1.5–4.9%)
Skipped-case disagreement by confidence binBars show the disagreement per bin with 95% CI whiskers; the dashed line is the tolerance.0%10%20%30%[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) 5.3% [0.13%, 26%] n=19n=19[0.80, 0.90)[0.80, 0.90)[0.90, 0.95) 5.6% [0.14%, 27%] n=18n=18[0.90, 0.95)[0.90, 0.95)[0.95, 1.00] 0% [0%, 4.2%] n=85n=85[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%10%20%30%0.00 n=0n=00.000.000.50 n=0n=00.500.500.70 n=0n=00.700.700.80 5.3% [0.13%, 26%] n=19n=190.800.800.90 5.6% [0.14%, 27%] n=18n=180.900.900.95 0% [0%, 4.2%] n=85n=850.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
haikufast46689.6%
sonnetfinal, reference5410.4%
Audit coverage of skipped cases
QuantityCount
Skipped466
Audited122
Not selected for audit344
Audit pending0
Audit errors0
Undecided (judge could not decide)0
No audit record0
Graded against references466
Unweighted disagreement (biased)1.6% (0.5–5.8%)
Audit tier (sonnet) error vs references3.6% (1.0–9.0%)
Costs (USD)
QuantityValue
Serving cost (total)$0.67
Audit cost (total)$0.89
Cost per task$0.0013
Est. cost per task, always sonnet$0.0074 ($0.0072–$0.0076)
Estimated savings82.6% (82.2–83.0%)
Audit overhead (audit / serving)132.9%
Decisions with unknown serving cost0
Decisions with unknown audit cost0

Threshold sweep

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

Accuracy vs cost per task21 simulated threshold settings (gray), the Pareto frontier (line), single-tier and oracle baselines, and the recommended point (star).91%92%93%94%95%$0.000$0.002$0.004$0.006$0.008cost per task (USD)accuracyoperating pointsPareto frontieralways haikualways sonnetoracle (lower bound)recommendedoracle (lower bound)always sonnetrecommendedalways haikuoperating pointsoperating pointsPareto frontierPareto frontieralways haikualways haikualways sonnetalways sonnetoracle (lower bound)oracle (lower bound)recommendedrecommended
Accuracy vs cost per task21 simulated threshold settings (gray), the Pareto frontier (line), single-tier and oracle baselines, and the recommended point (star).91%92%93%94%95%$0.000$0.005$0.010cost per task (USD)accuracyoperating pointsPareto frontieralways haikualways sonnetoracle (lower bound)recommendedoracle (lower bound)always sonnetrecommendedalways haikuoperating pointsoperating pointsPareto frontierPareto frontieralways haikualways haikualways sonnetalways sonnetoracle (lower bound)oracle (lower bound)recommendedrecommended
Gray: every simulated threshold setting. Line: Pareto frontier. Star: recommended thresholds.

Recommendation

Objective
max-savings
Thresholds
haiku ≥ 0.92
Selection accuracy (364 tasks)
93.4% (95% CI 90.4–95.5%)
Selection cost per task
$0.0024
Selection escalation rate
25.5%
Held-out accuracy (156 tasks)
93.6% (95% CI 88.6–96.5%)
Held-out cost per task
$0.0023
Held-out escalation rate
25.0%
Accuracy vs always sonnet
-0.6 pp (95% CI -1.9 to +0.0 pp)

cheapest thresholds with accuracy >= 0.9323 (best single tier 'sonnet' at 0.9423 minus 0.01) on the selection split; validated on 156 held-out decisions (seed 0)

Baselines on all 520 usable tasks
RouterAccuracy (CI)Cost / taskEscalationTier share
always haiku91.2% (88.4–93.3%)$0.000480%haiku 100%, sonnet 0%
always sonnet94.2% (91.9–95.9%)$0.00730%haiku 0%, sonnet 100%
oracle (lower bound)95.0% (92.8–96.6%)$0.000763.8%haiku 96%, sonnet 4%
recommended (all data)93.5% (91.0–95.3%)$0.002325.4%haiku 75%, sonnet 25%

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 ≥ 091.2% (88.4–93.3%)$0.000480%8.8% (6.7–11.6%)
haiku ≥ 0.491.3% (88.6–93.5%)$0.000540.77%8.7% (6.6–11.5%)
haiku ≥ 0.691.5% (88.8–93.6%)$0.000581.3%8.6% (6.5–11.3%)
haiku ≥ 0.792.3% (89.7–94.3%)$0.000996.5%6.6% (4.7–9.1%)
haiku ≥ 0.7292.7% (90.1–94.6%)$0.00118.5%5.9% (4.1–8.4%)
haiku ≥ 0.8592.9% (90.3–94.8%)$0.001716.2%4.4% (2.8–6.7%)
haiku ≥ 0.8893.3% (90.8–95.1%)$0.002020.4%3.4% (2.0–5.6%)
haiku ≥ 0.9293.5% (91.0–95.3%)$0.002325.4%2.8% (1.6–5.0%)recommended
haiku ≥ 0.9593.7% (91.2–95.4%)$0.002628.8%2.7% (1.5–4.9%)
haiku ≥ 0.9793.8% (91.4–95.6%)$0.003034.2%2.3% (1.2–4.5%)
haiku ≥ 0.9994.2% (91.9–95.9%)$0.006580.8%0% (0.0–3.7%)

Calibration

Confidence calibration per non-final tier
TierScoredECEBrierAUROCAURCMissing scores
haiku5200.0160.0690.8360.0260

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 (520 scored tasks).
Risk-coverage: haikuError rate among the skipped cases as the threshold is lowered and the tier answers more cases alone.0%2%4%6%8%10%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.