server.py's press_logit was computed and recorded into history/stats
already, but never included in the live "done" SSE payload itself — so
the per-run display had nothing to read. hermes had already built the
full frontend for this (fieldsFor/paintKV/.kv block, labeled "first word"
— independently converged on the same researchchamber.fun-inspired idea:
show the raw logit(1)-logit(0) score next to each run, not just a
pressed/no-press label), and seedCard() already worked since history
entries carried it — only the live in-flight event was missing the field.
Also added the same score to the "cause it yourself" panel's status line.
Idea credit: researchchamber.fun shows this as "first word" next to every
run; reviewing their site for integration ideas surfaced that this was
half-wired on our side already.
- press_logit(prompt): single forward pass reading logit(1)-logit(0) at
the next token, matching exp37_framing_battery.py's own measurement
(max_new_tokens=1, greedy, scores[1]-scores[0]) instead of the free-text
"^1|^0" regex. The regex read "unclear" on a large fraction of runs that
still had a clear next-token preference, because free sampling at
temperature under a long "explain your reasoning" prompt rarely opens
with a bare digit. Wired into both the shared cycle and /steer; the
scoreboard now classifies on this, free text still shown + still
classified for its own per-card verdict (_classify unchanged).
- live.html: the stream-staleness detector (45s / 3 missed heartbeats)
only ever displayed a warning and never reconnected — EventSource
doesn't reliably notice every dead-but-not-closed connection (proxy or
laptop sleep/wake can leave it looking "open"). Now it actually forces
scheduleRetry() instead of just reporting the problem, so the page
self-heals instead of requiring a manual refresh.