Skip to content

fix(results): source round-robin Best-lap from the standings endpoint#319

Merged
ryan-johnson2 merged 1 commit into
develfrom
rr-bestlap-from-standings
Jun 29, 2026
Merged

fix(results): source round-robin Best-lap from the standings endpoint#319
ryan-johnson2 merged 1 commit into
develfrom
rr-bestlap-from-standings

Conversation

@ryan-johnson2

Copy link
Copy Markdown
Contributor

After #318 (heat results scored with the round's win condition), a FirstToLaps round's result metric is ReachedAt, so the round-robin Best-lap column went empty. Now sourced from session.roundStandings (best_lap_micros, always computed). Points + order unchanged. check 0 errors; 546 + 38 tests. 🤖 Generated with Claude Code

After scoring heat results with the round's win condition, a FirstToLaps round's result metric is
ReachedAt (not BestLapMicros), so the round-robin viz's "Best lap" column went empty. Source best lap
from session.roundStandings (best_lap_micros, always computed regardless of win condition) instead of
the heat-result metric; points + ranking order unchanged.

check 0 errors; 546 rd-console + 38 component tests.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@ryan-johnson2 ryan-johnson2 merged commit c4b73fe into devel Jun 29, 2026
3 checks passed
@ryan-johnson2 ryan-johnson2 deleted the rr-bestlap-from-standings branch June 29, 2026 02:14
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