live_timing: display event-relevant information #89

Merged
joaj merged 1 commit from event-info-display into master 2026-09-09 20:30:13 +00:00
Owner

Closes #83

The live timing display now builds rows shaped for each discipline rather
than dumping raw fields:

  • Skidpad: one row per run with run number, left, right, average, status (DNF/DQ), and delta to the best run average
  • Acceleration / Autocross: run number, time, status, delta to the best time
  • Endurance: lap count, previous lap, time, cumulative total, delta to the best single lap

The relay now forwards internal fields (discipline, run_group_id, run_lap_index, lap_time_us) so the display can group skidpad runs and compute deltas/totals. Underlying per-lap coloring (#81) also keys off the skidpad run average.

Note: this branch is based on lap-coloring (#88), so its diff includes the coloring work until #88 merges.

Tests added in live_timing_server/tests (run: PYTHONPATH=live_timing_server uvx --from pytest pytest live_timing_server/tests).

Closes #83 The live timing display now builds rows shaped for each discipline rather than dumping raw fields: - **Skidpad**: one row per run with run number, left, right, average, status (DNF/DQ), and delta to the best run average - **Acceleration / Autocross**: run number, time, status, delta to the best time - **Endurance**: lap count, previous lap, time, cumulative total, delta to the best single lap The relay now forwards internal fields (discipline, run_group_id, run_lap_index, lap_time_us) so the display can group skidpad runs and compute deltas/totals. Underlying per-lap coloring (#81) also keys off the skidpad run average. Note: this branch is based on lap-coloring (#88), so its diff includes the coloring work until #88 merges. Tests added in live_timing_server/tests (run: PYTHONPATH=live_timing_server uvx --from pytest pytest live_timing_server/tests).
live_timing: show event-relevant info per discipline
Some checks failed
ci/woodpecker/pr/main Pipeline was canceled
e77f77c221
The display now builds rows shaped for each discipline instead of
dumping raw fields:

  skidpad      - one row per run: run, left, right, average, status, delta
  acceleration/autocross - run number, time, status, delta
  endurance    - lap count, previous lap, time, cumulative total, delta

The relay forwards internal fields (discipline, run_group_id,
run_lap_index, lap_time_us) alongside the display fields so the live
timing server can group runs and compute deltas/totals. Skidpad runs are
combined from their constituent laps; deltas and cumulative totals are
computed from the displayed window. Coloring now also keys off the
skidpad run average.

Closes #83
joaj force-pushed event-info-display from e77f77c221
Some checks failed
ci/woodpecker/pr/main Pipeline was canceled
to be93ce0f26
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
2026-09-09 19:55:15 +00:00
Compare
joaj force-pushed event-info-display from be93ce0f26
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
to 4bd23912d6
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
2026-09-09 20:02:00 +00:00
Compare
joaj force-pushed event-info-display from 4bd23912d6
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
to d67080beab
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
2026-09-09 20:08:47 +00:00
Compare
joaj force-pushed event-info-display from d67080beab
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
to 24a255ed44
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
2026-09-09 20:18:15 +00:00
Compare
joaj force-pushed event-info-display from 24a255ed44
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
to 8cce19ef63
Some checks failed
ci/woodpecker/pr/main Pipeline was canceled
2026-09-09 20:24:28 +00:00
Compare
joaj force-pushed event-info-display from 8cce19ef63
Some checks failed
ci/woodpecker/pr/main Pipeline was canceled
to 25a9f24e11
All checks were successful
ci/woodpecker/pr/main Pipeline was successful
2026-09-09 20:26:35 +00:00
Compare
joaj merged commit 13f1f13b05 into master 2026-09-09 20:30:13 +00:00
joaj deleted branch event-info-display 2026-09-09 20:30:13 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
fspt/timekeeping!89
No description provided.