mirror of
https://github.com/IAmTomShaw/f1-race-replay.git
synced 2026-05-09 08:25:56 +02:00
[PR #283] Add strategy insight windows for virtual position, undercut analysis, and DRS-train detection #272
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#272
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/283
Author: @polcougar
Created: 4/26/2026
Status: 🔄 Open
Base:
main← Head:strategy-insights📝 Commits (1)
24ffa4fAdd strategy insight windows for pit rejoin and traffic analysis📊 Changes
5 files changed (+764 additions, -0 deletions)
View changed files
📝
src/gui/insights_menu.py(+30 -0)➕
src/insights/drs_traffic_window.py(+139 -0)➕
src/insights/strategy_utils.py(+234 -0)➕
src/insights/undercut_overcut_window.py(+196 -0)➕
src/insights/virtual_position_window.py(+165 -0)📄 Description
Summary
This PR adds three new strategy-focused insight windows to the replay tool:
It also adds shared analysis helpers for strategy views and wires the new windows into the Insights menu.
New Windows
Virtual Position
Estimates where a selected driver would rejoin after a pit stop using a configurable pit-loss assumption and a field reference speed.
Undercut / Overcut
Compares two drivers using current gap, tyre age, recent pace trend, and projected rejoin traffic to support stop-first vs stay-out analysis.
DRS Train / Traffic
Detects multi-car trains, highlights local traffic, and surfaces whether a selected driver is trapped in a DRS queue.
Notes
These are heuristic strategy tools built from the existing telemetry stream payload and do not require new upstream data sources.
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.