Add persistent driver training history and progression

This commit is contained in:
larssand
2026-08-24 16:06:36 +02:00
parent 79a8cb24b8
commit c2ed00861a
8 changed files with 424 additions and 36 deletions

View File

@@ -172,8 +172,10 @@ Recommended deployment:
The `Training` menu provides a non-race progression view for registered drivers:
- lifetime valid laps calculated from stored session results
- number of recorded sessions, personal best, and recent consistency spread
- durable lifetime valid-lap ledger synchronized from stored session results
- practice days, recorded sessions, personal best, overall/recent averages, controlled-lap streak, and recent consistency spread
- daily history for the latest practice days and recent personal-best improvement
- automatic progression levels at useful lap totals without manual setup
- a 20-minute recommendation split into maximum-focus and controlled 80-90% blocks
- custom lap milestones with quick targets at `500`, `1000`, and `1500` laps
- optional reward text and a delivered/redeemed state
@@ -183,6 +185,8 @@ Direct mobile/bookmark link: `http://<server-ip>:8081/?view=training`. Selecting
Training statistics currently include only valid laps linked to a registered driver. Anonymous Open Practice transponders are intentionally excluded until they are assigned to a driver.
Judging corrections update ledger laps while the source session still exists. Once a session is deleted, its synchronized training laps remain in the ledger so lifetime progression is not lost. Full data export includes the ledger and reward goals.
## Create Race Wizard
- `Race Setup` now starts with a four-step wizard for new races: