mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #177] [MERGED] A dynamic tyre degradation visualization #195
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#195
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/177
Author: @bokiiiiiii
Created: 1/20/2026
Status: ✅ Merged
Merged: 1/29/2026
Merged by: @IAmTomShaw
Base:
main← Head:main📝 Commits (10+)
6699ce1Add Bayesian state-space tyre degradation model4c8052cStabilize tyre degradation estimation using median slopes and compound-specific priors2e4d537Merge branch 'main' into bayesian-tyre-degradationee44b8fRefactoring the tyre degradation to universal and condition-aware modelb481ebcMinor cleanupae22204Merge branch 'bayesian-tyre-degradation' of https://github.com/skandas1304/f1-race-replay into bayesian-tyre-degradationb2c92a7Merge branch 'main' into bayesian-tyre-degradation5fd41d3#176: Add tyre degradation visualization644a5f6Merge branch 'IAmTomShaw:main' into main65685a1Merge branch 'IAmTomShaw:main' into main📊 Changes
7 files changed (+976 additions, -18 deletions)
View changed files
📝
main.py(+2 -1)📝
src/arcade_replay.py(+3 -2)➕
src/bayesian_tyre_model.py(+667 -0)📝
src/f1_data.py(+22 -5)📝
src/interfaces/race_replay.py(+26 -1)➕
src/tyre_degradation_integration.py(+161 -0)📝
src/ui_components.py(+95 -9)📄 Description
Issue Link: #176
Data Layer: Extract TyreLife from the FastF1 telemetry data. Implement a session-wide max_tyre_life_map that identifies the longest recorded stint for each compound across all drivers. This serves as a dynamic 100% capacity baseline for different tracks.
UI Layer: Use a clipping effect (via window.ctx.scissor) to render the bright compound icon over a darkened background, creating a water-level depletion effect as tyre_health_ratio decreases.
Visualization:
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.