mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #236] Add tire degradation analysis for the F1 Insights #239
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#239
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/236
Author: @OlavoFava
Created: 2/23/2026
Status: 🔄 Open
Base:
main← Head:main📝 Commits (3)
7f2755binsights_menu.py: Added a new menu item for tyre degradation insights and linked it to the new window.5552e8aMerge branch 'IAmTomShaw:main' into mainb352f9dThis change is trying to fix the issue of the tyre degradation window not updating correctly when the session is restarted. The main changes include:📊 Changes
8 files changed (+411 additions, -9 deletions)
View changed files
📝
.gitignore(+1 -0)📝
main.py(+2 -1)📝
requirements.txt(+2 -1)📝
src/gui/insights_menu.py(+12 -4)➕
src/gui/tyre_degradation_window.py(+368 -0)📝
src/interfaces/race_replay.py(+13 -1)📝
src/run_session.py(+4 -2)📝
src/tyre_degradation_integration.py(+9 -0)📄 Description
Description
I've implemented a complete tyre degradation analysis system for F1 Race Replay, enabling users to visualize the impact of tyre wear throughout the race in a clear and intuitive way.
Changes
Features Added
Tyre Degradation Analysis Window: New interactive window accessible via "F1 Insights" menu that displays tyre degradation graphs.
Multi-Driver Visualization:
Tyre Health Calculation (%):
X-Axis in Race Laps: Synchronized with race progress, showing cumulative degradation per lap
Automatic Stint Reset: Each tyre compound change starts a new stint with recalculated health
Technical Details
Files Modified
src/gui/tyre_degradation_window.py- New analysis window with graph logicsrc/gui/insights_menu.py- F1 Insights menu integrationFiles Deleted
test_tyre_degradation.py- Non-essential test script removedTesting
Notes
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.