dashboard: fix the pooled ring's property names -- recent/now were NaN, never rendered

Two judge slices (Tasmania 27B, :8101) independently found what the auditor's
pass at 1505ef2 missed: accWindow pushes {ratio, dr, da} but acceptTriple read
d.r/d.a/last.r/last.a -- accPrev's names, a different object. Every pooled sum
was undefined, so the acceptance detail line was frozen at 'highest X% - recent
-' in the PRODUCTION page since 1505ef2. The headline was unaffected, which is
why it looked alive. Fixed to d.dr/d.da/last.dr/last.da.

Also from the judges: the Speculation 'Average' bullet printed 0% for an
undefined lifetime marginal (no drafts yet), breaking the panel's own rule that
0 reads as failure -- now a dash. The comment above it cited a 'GUIDE' that does
not exist; it now cites the README section, which is re-landed here (dropped in
the rebase onto v1.9.0) with the worked example corrected: 56/75/77 implies
43.4% marginal, not the 44% previously claimed.

New test the_pooled_acceptance_ring_reads_the_names_accWindow_writes holds both
sides of the ring contract to the same names -- it fails on the exact bug above,
which no C++ test could see because the page JS is never executed here.

Authored at: Memoria Qwen 3.8 Flash-Next 125B MoE (level not visible) via Open WebUI
This commit is contained in:
Memoria (Noblistic) authored and StillDeadcode committed 2026-10-21 09:27:48 +02:00
1 parent 7c18d8d1bb
commit 77f91a0240
3 files changed
+59 -5

No files matched your search

+21
View File
@@ -291,6 +291,27 @@ ctest --test-dir build -L oot # rebuilds every bundled plugin out o
`CMakePresets.json` names the same runs (`ctest --preset fast`, `host`, `gpu`, `full`, `asan`), and
[`docs/GUIDE.md`](docs/GUIDE.md) §1.3 describes the tiers and the test binaries' options.
## Draft acceptance
Speculative decoding drafts up to `--num-speculative-tokens` tokens a step; the target model
verifies them in one pass, and a draft survives only if it matches what the target would have
produced. A position is verified only when every earlier position survived, so the same events
admit two ratios, and they differ only in the denominator:
- **Conditional** -- accepted / *reached*: of the drafts actually verified at a position, how
many passed. The dashboard's live "accepted now" figure and the per-position bars are
conditional. Always the higher number, and it moves with the workload.
- **Marginal** -- accepted / *drafted*: of everything the drafter proposed, how much survived.
The engine's `draft_accept` (/stats, and `radiance:draft_acceptance_ratio` on /metrics) is
marginal, cumulative over the life of the process. Lower by construction, and slow to move.
They cannot agree, and neither is the other one broken. At depth 3 a step drafts three tokens
but reaches position 3 only when 1 and 2 both passed, so marginal is roughly the product of the
conditionals: bars reading 56/75/77% give (0.56 + 0.56x0.75 + 0.56x0.75x0.77) / 3 = 43%. A live
63% beside a lifetime 43% is one lane, two questions. Quote the conditional when asking "how
good is the drafter right now"; quote the marginal when asking "what fraction of draft work
became text." Never compare the two across that boundary.
## Documentation
| | |