dashboard: cap the decode-step percentage at ~99, not 100

100% would claim a sustained floor the ~500 ms poll window cannot
confirm, and would read as a bug the moment a fast stretch briefly beat
the 32-step floor. Cap at 99 and show it with a tilde: "now ~99% of
best" says "at your best" without overclaiming. Anything slower still
reads a plain percentage of the floor.

Operator-directed 2026-10-18.

Authored at: Tasmania Qwen 3.8 27B Dense XHigh (level not visible) via Open WebUI

(cherry picked from commit 7c35068e60d8a7baf61483e4d2a6452d71e0bc6f)
This commit is contained in:
Memoria (Noblistic) committed 2026-10-19 17:35:05 +00:00
1 parent 87882e4c9c
commit 8a4816dc8f
2 files changed
+12 -7

No files matched your search

+5 -3
View File
@@ -2459,13 +2459,15 @@ averaged. A single slow step moves neither figure.
The percentage, `now X% of best`, is the page's own live window read against the
floor. `now` is the mean of the steps that completed in the last poll (~500 ms);
the figure is that mean as a fraction of `best`, so 100% is the fastest the lane
the figure is that mean as a fraction of `best`, so ~99% is the fastest the lane
has done and anything slower reads a percentage of it (a step at 80% of the
floor's speed reads "80% of best"). It is capped at 100: `now` is a ~500 ms mean
floor's speed reads "80% of best"). It is capped at ~99, shown with a tilde: `now` is a ~500 ms mean
while `best` is a 32-step window mean, so a fast stretch shorter than a window can
read faster than the recorded floor. That is "at your best", not a new record —
the engine only lowers `best` on a completed 32-step window, and a sub-window blip
is not one. At higher concurrency the figure is keyed to that concurrency (`@c8`)
is not one. The cap is 99 rather than 100 because a 500 ms window that briefly beats the floor is
not a sustained record; 100% would claim a floor the window cannot confirm and would read as a
bug, while ~99% says "at your best" without overclaiming. At higher concurrency the figure is keyed to that concurrency (`@c8`)
and read against the fastest step seen at that concurrency, because a batched step
is a different measurement and would report a batch arriving as a slowdown.