Skip to content

fix(dash): one-shot rate showed 10000% in Model efficiency - #958

Merged
iamtoruk merged 1 commit into
mainfrom
fix/dash-oneshot-percent
Aug 10, 2026
Merged

fix(dash): one-shot rate showed 10000% in Model efficiency#958
iamtoruk merged 1 commit into
mainfrom
fix/dash-oneshot-percent

Conversation

@iamtoruk

Copy link
Copy Markdown
Member

Caught during the v0.9.20 browser surface sweep: the payload's modelEfficiency[].oneShotRate is already a percent (0-100) - the TUI and menubar render it verbatim - but the dash multiplied by 100 again, showing 10000% / 8570% / 9380% in the Model efficiency table. current.oneShotRate (a fraction) keeps its existing correct handling in the overview card. One line plus the unit comment; dash typecheck and vite build clean; verified fixed in the live browser.

…dy a percent

The payload's current.oneShotRate is a fraction but
modelEfficiency[].oneShotRate is 0-100 (the TUI and menubar render it
verbatim); the dash multiplied the latter by 100 again and showed
10000% / 8570% in the Model efficiency table. Caught live during the
release surface sweep.
@iamtoruk
iamtoruk merged commit 6352995 into main Aug 10, 2026
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant