Files
Live_RC/tests
larssand 643902ff15 Add end-of-practice summary to the driver's mobile profile
When a driver's personal 5-minute practice timer finishes, a "Pass
avslutat" card now appears immediately: how this pass's pace and
consistency compared to their recent sessions, any goal or lap-count
milestone crossed during the pass with its reward text made prominent,
and one suggested next goal (reusing the existing pace recommendation,
falling back to the next milestone when there isn't enough data yet).
Scoped to the driver's current class, and explicit about insufficient
sample sizes instead of showing a misleading number.

Adds a per-session consistency calculation to
buildPublicTrainingWindowStats server-side; everything else needed
(stats, goals, recommendation, milestone) was already sent to the
client, so the summary itself is computed there from data already in
hand - no raw laps or driver IDs added to what the public endpoint
exposes.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-09 15:05:49 +02:00
..
2026-08-28 13:47:25 +02:00
2026-09-09 08:08:56 +02:00
2026-09-09 08:08:56 +02:00
2026-09-09 07:52:07 +02:00
2026-09-08 18:26:30 +02:00
2026-09-09 07:52:07 +02:00
2026-09-08 18:26:30 +02:00
2026-09-09 08:08:56 +02:00
2026-08-30 16:14:45 +02:00
2026-09-08 13:21:29 +02:00
2026-09-05 09:59:55 +02:00
2026-09-04 15:58:24 +02:00
2026-09-08 17:26:55 +02:00