← All posts

4 min read

Two false alarms on my own triage page

Triage answers one question: who do I look at first? One row per athlete, worst first, every alert with a one-line reason. Fixed rules, no model. Rules are easy to trust until real data meets them.

AlertFires when
FormTSB is −30 or lower today
Rampfitness grew 9 or more in a week
Resting HRthe latest of the last 3 mornings is 5 bpm or more above the mean of the 42 days before it
Sleepthe latest of the last 3 mornings is 1 h or more under that mean

Form that starts at zero

Form and ramp come from training stress, and training stress needs a threshold. No FTP, no TSS. Say a coach sets an athlete's FTP and dates it two weeks back. Two weeks of rides now have a TSS. Months of older rides do not, and they add 0.

Fitness starts at zero two weeks ago and climbs like a rocket. The ramp shoots past 9, where "Going hard" starts. Fatigue overtakes fitness and form drops under −30, where "Overloading" starts. A healthy athlete reads like one about to break.

I found this reviewing the rule, not from a coach's complaint. Form and ramp alerts now fire only when at least 70% of the sessions in the last 42 days have a TSS. Below that, the row says why instead of alerting. Seventy is a judgement call. My test data sits at 75%, and I have not tuned the limit on real athletes.

11 h 48 min of sleep

This one I did see, on my own export. One morning gave 6 h 27 min of sleep and the alert said "5 h 21 min under the 42-day mean of 11 h 48 min".

Nobody sleeps nearly twelve hours a night. The raw export holds sleep windows of 17 to 18 hours. One of them runs from 14:44 to 08:06 the next morning. The mean takes them as they are, so a normal night reads as hours short.

I have not filtered them out. The export does not say whether those windows are wrong, and dropping data because it looks odd is a decision I would rather leave to the coach. So at the time of writing the alert still fires, until those days leave the 42-day window.

What the coach sees

Each alert shows its reason and its source: the tool that gives the same figure, and the sessions or dates behind it. That is why the second false alarm is easy to spot. The reason line has a mean of nearly twelve hours in it.

A rule on a mean is only as good as the days in the mean.