mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #241] Fix missing DRS zones by falling back to previous year qualifying data #246
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#246
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/241
Author: @ElirKvothe
Created: 3/2/2026
Status: 🔄 Open
Base:
main← Head:fix/drs-zone-fallback-previous-year📝 Commits (2)
44c5aeeFix missing DRS zones by falling back to previous year qualifying datab7a7b9bRefactor: move DRS fallback logic into helper function in f1_data.py📊 Changes
2 files changed (+58 additions, -1 deletions)
View changed files
📝
main.py(+3 -1)📝
src/f1_data.py(+55 -0)📄 Description
When a session's telemetry lacks DRS activation data (e.g. 2025 Las Vegas GP), the app now automatically loads the previous year's qualifying for the same circuit and maps its DRS zones onto the current track layout.
Fixes #89
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.