You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit b904914
Browse filesBrowse the repository at this point in the historyBrowse files
Fix energy-per-token unit label and aggregate calculation
Per #22, the per-token energy figure was displayed as "W/Tk" but the
underlying value is W ÷ (tok/s) = J/tok. Relabel everywhere user-facing
(UI cells, chart, report markdown, exports) to J/Tk / J/tok.
Also fix the session aggregate: it was the arithmetic mean of per-sample
ratios, each dividing by cumulative tok/s. Early samples divide by a
warming-up tok/s, biasing the mean ~40% high. Now computed as
avgSystemPower / stats.tokensPerSecond at session.complete, which is
the principled J/tok and matches what users derive from the displayed
avg power and avg tok/s.
DB column names (watts_per_token / avg_watts_per_token) and CSV/JSON
export keys are unchanged for downstream compatibility.
Co-Authored-By: Claude Opus 4.7 (1M context) <[email protected]>
0 commit comments