mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
Labels
No labels
bug
enhancement
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/f1-race-replay#156
Loading…
Add table
Add a link
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?
📋 Pull Request Information
Original PR: https://github.com/IAmTomShaw/f1-race-replay/pull/125
Author: @heytt-satra
Created: 12/25/2025
Status: 🔄 Open
Base:
main← Head:fix/leaderboard-issue-34📝 Commits (2)
3209fb8fix: resolve race leaderboard position mismatch (#34)7b9d2d6fix: use official race results for final leaderboard positions📊 Changes
4 files changed (+65 additions, -34 deletions)
View changed files
📝
main.py(+2 -1)📝
src/arcade_replay.py(+2 -1)📝
src/f1_data.py(+33 -1)📝
src/interfaces/race_replay.py(+28 -31)📄 Description
Description
Fixed a bug where the race leaderboard displayed incorrect positions at the end of the race.
The issue was caused by:
dist(race distance) resetting every lap instead of accumulating.Changes
_process_single_driverto correctly accumulatetotal_dist_so_far.distfrom telemetry.Verification
Verified by running the 2025 Australia GP replay. The final leaderboard now matches official results.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.