Live timing: verify POWERUPS column against a real capture #27
Labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Depends on
#26 Held powerups per racer in standings
mintopia/blur
Reference
mintopia/blur#27
Loading…
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
What to build
Confirm the live-timing POWERUPS column (#24) against real feed data once standings carry
powerups, and fix anything that differs from the mockup.ws_tap.py record(keep the capture out of git).examples/live-timing/index.html; the column sits between MPH and MODS, one icon per slot, empty slots as outlines.examples/live-timing/icons(e.g.shield); missing ones fall back to initials.Acceptance criteria
Blocked by
Not done: needs a real 20-racer SP race recorded from the running game (GUI session), which I cannot drive unattended. No code changed.
Static checks done instead:
powerupskeys, so they cannot verify the column.unknownhaveicons/<name>.webp;unknownfalls back to initials ("U") via modIcon onerror.Next: human records
ws_tap.py record 9000 race.jsonlon a powerups-enabled build, then replay into index.html and tick the ACs.Done on
harmonic/task-26(b9c3147,19ad00c). All onBLUR_ENGINE=recomp.Race run (per feedback): 5 clients in LAN mode, Custom Game → Barcelona Oval (City Breach), 3 laps. All 5 joined, raced and finished; feed recorded from every instance with
ws_tap.py record(/tmp/t26/final/{alpha..echo}.jsonl, ~2.4 MB each, not in git;track=SPA_Barcelona_Oval_1).BLUR_LANSIM=k: instance k is 10.77.0.k to the game, and on the wire it uses 127.0.0.1 with ports +100·k, plus a broadcast fan-out. Documented indocs/multiplayer-lan.md/dev-flags.md.Acceptance criteria (capture replayed into
index.htmlin headless Chrome at 1600, 860 and 700 px):unknown(~1 s, one racer, one instance) falls back to initials "U", now the same size as the icons..mods{display:flex}overrode.wide{display:none}at equal specificity. Every cell shifted, POWERUPS spilled into GAP and POS wrapped. Now.row > .wide.Also fixed: racer names were truncated to 5 chars (
charlie→charl). Node+0x54is not the name length (memory dump: 5 for every player), so names are now read up to the NUL. Verified on a 3-instance run; ADR 0013 updated.Placement: the column sits after MODS (MODS | POWERUPS | GAP), per #24's mockup. Below 900 px it follows RACER. The issue's "between MPH and MODS" wording was not applied, since MPH is at the far right.
Follow-up: #28 covers feed problems seen in the captures, all outside this ticket: names drop after finish, a bogus 0.1 s best lap,
race_resultinconsistent across instances, and theunknownblip.Tests: full ctest 23/23 pass.
Completed and merged by Harmonic (task 26).