we spent a week trying to make automatic routing smarter. the funniest result was how often the dumb deterministic thing won.
everything was green. that was the problem.
the first version of this looked great. outputs came back, the harness said success, and the totals looked believable. then a fallback serialization bug showed us something annoying: the path we were reporting on was not always the path that actually ran.
i kept that busted batch in the evidence set instead of deleting it. it is basically the reason this whole post exists. selected is not executed. if i cannot prove the worker physically ran, i do not get to count it.
- configured
- selected
- executed
- consumed
- receipted
falsified here replay, conflict rejection and refusal all needed separate proof
hover or tab through that thing. every step has been wrong at least once. that is way more useful than a pretty green pipeline pretending nothing weird ever happened.
nanojev was fast. it was also taking the wrong test.
C-Tianyu/NanoJev @ 4a19595e looked awesome at first: about 31 ms p50 on cpu, the right interface, and an early auroc that looked promising.
then i checked what it was actually trained to do. Maze, Snake, ViZDoom Basic, Predict Position. action choice. the boolean / ordered-score stuff was an interface affordance, not the training objective. lol.
fast is not the same as trained for the job. an interface can fit perfectly while the capability underneath it is totally wrong.
jev was the part that actually survived
also, the first “reproduction” was not really a reproduction. we had tested proxy models instead of the model from the paper. reproducing a different system very carefully is still reproducing a different system.
i also dropped the original 146:4 abstention slice as the main target. it is not in this checkout, and with a 97% majority class the headline accuracy mostly tells you the majority class exists. not super helpful for the three-way runtime contract we actually route on.
i stopped asking which model is best
this was the architecture change. asking which model is best? is kind of a fake question. best at what? verification? tool choice? image choice? cheap worker stuff?
now z0intelligence asks the smaller question: what implementation has evidence for this exact job?
- evidence
- 0.9514 famBalAcc / 0.0334 ECE on authored144; 0.9982 AUROC on the binary slice
- consumers
- codex, hermes (opt-in)
- caveat
- reference contract is supported/insufficient/contradicted
the image lane is real. the benchmark win is extremely not real.
we do have a pinned multimodal decision path now: z0int Image Decision 3B, backed by Qwen/Qwen2.5-VL-3B-Instruct at 66285546d2b8. it maps whatever options the task gives us into a bounded label set and reads the option logits directly. no prose parsing. no pretending a generated paragraph is a probability distribution.
a token count needs a provenance tag too
another stupid bug class: counting the last assistant message and calling it the whole run. omp now accumulates provider-reported input/output usage across the whole trace, and it only gets to say complete when every observed turn actually carried provider usage.
routing is boring until you prove the worker actually ran
one measured batch returned 20/20 outputs. 6 providers physically completed work across 25 attempts, with 5 real fallbacks. that is the number i care about now, not just “router said provider x.”
- cerebrasqwen-3.8-27b7 taskscap 32 policy
- groqopenai/gpt-oss-20b3 taskscap 16 policy
- deepseekdeepseek-chat3 taskscap 32 policy
- grokgrok-4.20-0309-non-reasoning2 taskscap UNKNOWN
- nousinclusionai/ling-3.0-flash-sante:free2 taskscap UNKNOWN
- nvidiaopenai/gpt-oss-20b2 taskscap 12 policy
- localqwen2.5:3b1 taskcap 1 policy
counted local HTTP fixture — NOT 64 paid provider calls and NOT two Kubernetes replicas
we also forced a real failure. an invalid groq credential produced real HTTP 401, then Cerebras returned the expected output. OpenRouter and Vercel produced real 403 responses followed by successful Cerebras calls.
free is nice. free is also not an architecture.
the free path is intentionally boring: compiled python route, one authority, one executor. replay and conflict rejection were proven by replacing the pod instead of trusting an assertion.
- harness event native before-agent-start hook
- authority identity/fingerprint CAS + admission
- executor stateless, no ledger
- provider OpenRouter free route, max_price 0
- canonical receipt exactly one physical start/completion
| rule | status | evidence |
|---|---|---|
| completed duplicate → replay | verified | stored output returned after pod replacement; exactly one canonical physical start/completion |
| same trace, different request → reject | verified | HTTP 400, no second physical execution |
| uncertain prior execution → refuse | verified | prior uncertain execution refused after pod replacement |
cerebras was good. delegation still lost.
The worker was excellent. Parent work still went up.
| measure | a | b |
|---|---|---|
| uncached parent input | 325,894 | 396,074 |
| parent output | 32,681 | 31,065 |
| cached parent input | 884,480 | 861,056 |
| uncached input + output | 358,575 | 427,139 |
| worker input / output | 0 / 0 | 15,960 / 44,220 |
the parent cannot save tokens if it still reads the whole original task plus a giant worker response.the next thing to test is typed / compressed worker output, not just an even better worker model.
its worker output did contribute — the reviewed B-arm implementation produced its own report. Contribution is not savings.
then five lines of dumb rules beat the learned routers
this is the result that made me laugh. on a grouped sealed split of 77 real decision states, the deterministic keyword rule beat both learned fast paths.
| system | accuracy | macro f1 | p50 |
|---|---|---|---|
| majority READ_SEARCH | 51.95% | 0.1709 | — |
| 5-line keyword rule | 74.03% | 0.6906 | — |
| Laya 421M | 19.48% | 0.2095 | 366 ms |
| Julia-1 R1 | 10.39% | 0.0912 | 47 ms |
julia was not broken. honestly that made the result more useful.
before throwing julia away, i fixed the adapter to render state exactly the way julia does. typed cpu went back to 1451/2000, exactly matching the publisher. ag news reproduced too at 94/100.
so this is not “oops the adapter was bad.” the model is integrated faithfully. it just does not fit this decision domain. confidence did not save it either: authored144 uncertainty aurocs sit around chance (0.470 p1, 0.469 entropy), with only 1.79% coverage at the ≤10% error budget. confidence ranking is at or below chance; calibration cannot make this a safe cascade gate.
decision dataset v2 rebuilds per-turn state from omp transcripts and pairs each tool call to its real toolResult. four capabilities already have enough outcome-backed rows:tool_family_select, context_compress_needed, model_family_select, retry_or_escalate.
so what would z0 actually do?
pick a task shape and this shows the route the frozen cohort actually produced, plus the reason it recorded. no imaginary “ideal router” in this widget.
- evidence
- Exact evaluated choice contract; operator-authorized paid Jev verification exception — observed: latency 299.9 ms, 372/45 tokens, one canonical physical call
- caveat
- paid exception under explicit operator authorization; free_only still governs generic workers
show me the tables
did the verifier actually hold up?
| system | role | famBalAcc | macro F1 | ECE |
|---|---|---|---|---|
| jev-1.13.0 | reference | 0.9514 | 0.9518 | 0.0334 |
| direct Qwen3.5-4B | baseline | 0.8056 | 0.8002 | 0.0678 |
| reranker Qwen3-Reranker-4B | baseline | 0.6319 | 0.5897 | 0.0883 |
| system | AUROC | balanced accuracy |
|---|---|---|
| jev-1.13.0 | 0.9982 | 0.9524 |
| direct Qwen3.5-4B | 0.9894 | 0.8810 |
| system | famBalAcc | macro F1 | ECE |
|---|---|---|---|
| jev-1.13.0 | 1.0000 | 1.0000 | 0.0029 |
| reranker Qwen3-Reranker-4B | 0.4907 | 0.4430 | 0.0868 |
omitted Brier 0.0408 — our recomputation used a different formulation (per-class, 0.6025) and we will not publish a number we could not reproduce
the delegation runs
| task | equal-cache pairs | mean parent delta | 95% interval |
|---|---|---|---|
| report summary | 12 | +522.1 | +506.0 to +536.4 |
| evidence gate | 8 | +1008.1 | +959.1 to +1063.6 |
| task | +uncached input | +wall seconds | worker tokens | worker quality |
|---|---|---|---|---|
| summary | +501 | +15.73 | 1,825 | literal escaped newlines; parent repair required |
| gate | +38 | +24.17 | 2,356 | exhausted 2048-token budget; native fallback required |
| cohort | completed | status | why |
|---|---|---|---|
| high-reasoning | 4/60 | EXCLUDED | all four exhausted the 2048-token completion budget with empty final output — configuration failures, not pooled as quality evidence |
| reasoning-none | 60/60 | MEASURED | explicit reasoning_effort=none, temperature 0, max output 2048, frozen throughout |
who actually ran what?
| client | route | model | latency | tokens |
|---|---|---|---|---|
| codex | JEV_FUNCTION | jev-1.13.0 | 572 ms | 377/48 |
| hermes | LAYA_FUNCTION | laya_421m | 14,141.7 ms | 59/0 |
| dsh | REMOTE_MODEL | cerebras/qwen-3.8-27b | 758.9 ms | 133/664 |
| omp | PARENT_ONLY | parent | 181.4 ms | 0/0 |
what can i actually claim?
Every claim carries its evidence level. UNKNOWN is a first-class value: it means we did not reproduce the evidence, not that the number is small.
| claim | status | evidence |
|---|---|---|
| A green benchmark historically did not prove workers physically executed; execution is only established by a canonical receipt with provider-assigned identity, tokens and latency. | MEASURED | provider-execution batch |
| Jev 1.13.0 reaches 0.9514 family-balanced accuracy and 0.0334 ECE on authored144, and 0.9982 AUROC with 0.9524 balanced accuracy on the 48-example binary abstention slice. | MEASURED | recomputed from raw per-example JSONL |
| AUROC 0.9982 holds only for the binary abstention slice; over all 144 rows with a different slice definition it is 0.5686. | MEASURED | same raw file, two definitions |
| perturbations108 scores 1.0000 but contains no `insufficient` gold label. | MEASURED | gold id census of the raw file |
| NanoJev was trained for game/action-choice tasks and its boolean path used a degenerate contrast; correcting it removed most of the apparent signal. | MEASURED | publisher recipe + local config + source inspection |
| On both measured cohorts delegation increased parent work; Cerebras kept automatic generic-worker delegation ineligible despite 60/60 worker quality. | MEASURED | 60-pair A/B + 2-pair Nemotron A/B |
| No token or dollar saving from delegation is claimed. | MEASURED | measured direction is negative at the tested sizes |
| Per-provider headroom (Cerebras/DeepSeek/Jev large headroom, a Groq wall, a lower NVIDIA wall) is not reproduced here. | UNKNOWN | source report states its ~330-probe reference was not recovered |
| Provider concurrency caps are policy inputs, not measurements. Only the 32-admission test is measured. | BOUNDED | 64-request burst against the authority, counted local fixture |
| Completed duplicates replay, a same-trace different-request is rejected without a second physical execution, and an uncertain prior execution is refused. | MEASURED | pod replacement proofs |
| A real free-only execution on a provider-reported $0 route returned the expected output with one canonical physical start/completion. | MEASURED | free-tier execution receipt |
| Laya remains capability-local and experimental; on the sealed real-trace tool-family task it scored 19.48%, below a 51.95% majority and a 74.03% deterministic keyword rule. | MEASURED | canonical trace-derived routing experiment |
| Julia-1 is faithfully integrated and very fast, but failed the real-trace routing task (10.39% sealed accuracy); its confidence ranking is unusable as a safe cascade gate, so it remains default-off. | MEASURED | z0intelligence c4a4554 + sealed trace experiment |
| Production readiness remains bounded, but the routing/authority layer is now canonical; the executor is still a single-replica lane with no autoscaler and billing remains unverified. | BOUNDED | canonical z0intelligence routing PR + deployment/lifecycle receipts |
| The published Brier 0.0408 is not reproduced by our formulation and is therefore not claimed. | UNKNOWN | our recomputation gave 0.6025 per-class |
| The first pinned multimodal decision lane is reproducible and produced 4/8 on the eight published examples; no public-split, sealed, latency or official Image JevBench score is claimed. | BOUNDED | z0intelligence #39 / PR #40 / PR #41 |
| OMP provider usage is accumulated across turns and only marked complete when all observed turns carry provider usage; Tokenomics preserves the measurement state instead of upgrading proxies. | MEASURED | z0intelligence #37 / #38 |
how i measured this
| dimension | value | note |
|---|---|---|
| environment | Python 3.11.14 | the repo's declared runtime (.python-version 3.11, requires-python >=3.10,<3.14) |
| full suite | 452 passed | 5 live-marked failures (network/provider), 3 skipped, with declared runtime deps installed incl. torch 2.10.0 |
| non-live suite | 452 passed | 3 skipped, 5 deselected under -m 'not live' |
| test runner | pytest | running the wrong runner against a unittest-declared suite produced 142 false errors on a healthy repo |
| patch equivalence | both directions | necessary but not sufficient: a branch read as 'genuinely new' by patch-id had already landed under a rewritten SHA with an extra fix on top |
| conflicts | semantic ≠ textual | a skill merged without textual conflict and still violated a newer frontmatter contract |
| schema cross-check | silently skips | reports success while verifying nothing when an optional dependency is absent |
| recomputation | raw over summary | Jev metrics were recomputed from the per-example JSONL rather than copied from shipped constants |
where this could still be wrong
- The router, service, dispatch authority and provider-saturation modules live in an unpublished local revision and are not yet in canonical main.
- Provider concurrency caps are policy inputs; the referenced ~330-probe report was not reproduced.
- Per-provider headroom is UNKNOWN in this evidence set.
- Both delegation cohorts are repeated runs of a small fixed task set (2 pairs; 30 repeats of each of two tasks), not task-population samples.
- Parent cache exposure was measured and stratified, not randomized; only one Cerebras pair had zero cache in both arms.
- The Cerebras high-reasoning cohort completed 4/60 pairs and is excluded rather than pooled.
- perturbations108 contains no `insufficient` gold label.
- The 146:4 AbstentionBench slice originally targeted is not present in the checkout.
- Estimated parent tokens avoided is a bytes/4 baseline, not a measured counterfactual.
- No dollar savings are claimed; billing is unverified in both delegation cohorts.
- The Kubernetes lane is a single replica with no autoscaler; scaling a proxy would not increase model capacity.
- Reboot availability of the host service was not tested.
- Wrong test runner and a silently-skipping schema cross-check were both found during this work; the corrected baseline is quoted in Methods.
source pins + receipts
| repo | commit | role |
|---|---|---|
| kvnloo/z0intelligence | 5233c1c364a0 | canonical verifier metadata, decision backends, dispatch authority, worker routing, receipts |
| kvnloo/z0intelligence | 78869d977e84 | unpublished intelligence layer + capability-evidence fixtures |
| kvnloo/aodl | a848270 | intent/authority contracts |
| kvnloo/kerdoios | 70fc670 | placement and resource economics |
| kvnloo/evolution-lab | 4cf52bb | experiment lineage |
- Cerebras reasoning-none cohort decision
receipts/cerebras-ab/cerebras-none-ab-20260927T042811Z/DECISION.md - Cerebras excluded high-reasoning cohort
receipts/cerebras-ab/cerebras-real-ab-20260927T042531Z/REPORT.md - Nemotron function eval + A/B
receipts/nemotron-eval/20260927T032233Z-b6896a/report.md - Multi-provider execution batch
receipts/automatic-routing/20260926T223650Z/execution-summary.md - Free-tier execution + replay/conflict proof
receipts/free-tier/report.md - Provider saturation + canonical dispatch authority
receipts/provider-saturation/report.md - Intelligence acceptance (harness route matrix)
receipts/intelligence/report.md - Supervised lifecycle + harness runtime checks
receipts/supervised-intelligence/report.md - Kind connectivity repair
receipts/kind-repair/README.md - Paid Jev verification exception
receipts/jev-exception/README.md - NanoJev objective investigation
zer0-arch-sprint/reports/nanojev-objective-investigation.md - Jev verification (raw metric recomputation)
zer0-arch-sprint/reports/jev-verification.md