Adjusting FTP doesn't recalculate stored stats or commentary #239

Closed
opened 2026-11-08 21:15:47 +00:00 by chris-kreidl · 2 comments
chris-kreidl commented 2026-11-08 21:15:47 +00:00 (Migrated from github.com)

At the time this ride was recorded and originally scored FTP was set to 168. Two days later I changed the FTP to 201.

TSS in the headline stats did accurately reflect that change (going from 324 TSS to 226), but the coach's notes, comparison against the plan, and time-in-zone charts have not been updated.

Image
At the time this ride was recorded and originally scored FTP was set to 168. Two days later I changed the FTP to 201. TSS in the headline stats did accurately reflect that change (going from 324 TSS to 226), but the coach's notes, comparison against the plan, and time-in-zone charts have not been updated. <img width="1098" height="807" alt="Image" src="https://github.com/user-attachments/assets/393545d1-f742-4d2d-90e3-276886f9a88c" />
chris-kreidl commented 2026-11-11 12:53:57 +00:00 (Migrated from github.com)

After further inspection, we -do- recalculate and display updated values, it's just delayed. Any way to speed this up?

After further inspection, we -do- recalculate and display updated values, it's just delayed. Any way to speed this up?
chris-kreidl commented 2026-11-19 03:21:43 +00:00 (Migrated from github.com)

Status (checked 2026-11-18): the 2026-11-11 question (can the recalculation be quicker?) is still unanswered. A threshold save rescores rides and load in the request (rescoreRides, src/server/rescore-store.ts). The ride's take, plan comparison and zones refresh later, and this review didn't trace what triggers that or how long it waits. That's the first step when this is picked up.

**Status (checked 2026-11-18):** the 2026-11-11 question (can the recalculation be quicker?) is still unanswered. A threshold save rescores rides and load in the request (`rescoreRides`, `src/server/rescore-store.ts`). The ride's take, plan comparison and zones refresh later, and this review didn't trace what triggers that or how long it waits. That's the first step when this is picked up.
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
ckreidl/trainer#239
No description provided.