dashboard: 'Average' -> 'Accepted of drafted' -- the label names its denominator

Operator call. The bullet is the engine's lifetime marginal ratio,
accepted/drafted (core/sched/draft.h:172, 'cumulative and exact' -- a pooled
ratio of sums, not an average of anything). 'Average' was wrong twice: it is
not an average, and it hid which denominator it used.

The panel shows two ratios that count the SAME accepted tokens and differ
only in the denominator -- reached for the live figure, drafted for this one.
'Average' distinguished them by time, which is not the axis they differ on,
and invited reading the lifetime figure as a longer window on the live one.
Naming the denominator makes the panel self-documenting, which is the same
reason the live figure became 'conditionally accepted'.

The label is ours, not upstream's: 685ec5b's panel had no such key, so this
asks nothing of upstream vocabulary. No test keys on the string (checked).

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 87becd5812
commit eed70619cc
1 file changed
+9 -9
+9 -9
View File
@@ -1671,14 +1671,14 @@ function kvPanel(host, keys) {
return out;
}
const totals = kvPanel($("totals"), ["Requests", "Steps"]);
/* "Average" is the LIFETIME MARGINAL ratio -- upstream's figure, unchanged, and the one this
* panel used to carry as its headline. A bullet now rather than the big number: see the note at
* the accept tile. It divides by every token DRAFTED, so it is not comparable with the live
* figure above it, which divides by the positions actually REACHED -- the two bases are worked
* through in README.md, section "Draft acceptance", and both are derivable from the log. Deliberately not spelled out on the
* face of the panel: the distinction is an analysis-time concern, and a tooltip is invisible on
* the phone anyway. */
const spec = kvPanel($("spec"), ["Drafter", "Depth", "Average"]);
/* "Accepted of drafted" is the LIFETIME MARGINAL ratio -- the engine's figure, unchanged, and
* the one this panel used to carry as its headline. A bullet now rather than the big number:
* see the note at the accept tile. It divides by every token DRAFTED, so it is not comparable
* with the live figure above it, which divides by the positions actually REACHED; the two bases
* are worked through in README.md, section "Draft acceptance", and both are derivable from the
* log. Each label names its own denominator, which is the whole distinction -- so neither needs
* a tooltip, and a tooltip would be invisible on the phone anyway. */
const spec = kvPanel($("spec"), ["Drafter", "Depth", "Accepted of drafted"]);
/* ---------------------------------------------------------------- meters */
/* `split` gives the track a second segment for a fill that is two things -- see setSplit. */
@@ -2150,7 +2150,7 @@ function update(s, dt) {
* with "drafts made, all rejected" -- a drafter that accepts nothing is exactly the case a
* reader needs to see, and a dash hid it. 0 is the honest figure for both, and the README's
* "Draft acceptance" section says which question this bullet answers. */
spec["Average"].textContent = pct(s.draft_accept, 0);
spec["Accepted of drafted"].textContent = pct(s.draft_accept, 0);
}
/* ---- devices, in the same panel as the cache meter: they are one question. */