# Trust, Load and the Coach

Class 12, Chapter 6: GPS Watches and Motion Sensors. 26 slides, about 33 minutes.

## 1. Title

Slide up while people sit down. Last class we took the watch apart. Today we ask how good each of its numbers is, take the speed-duration line one step further, and then do the part that matters most: write one week of a real runner's training for a coach. Then the build: your own page that puts a run on a map.

## 2. The evidence, by output and setting  (2.5 min)

Here is the evidence for the numbers in this chapter, condensed from the book's table. Distance is good on a track, within a few percent and usually long, and worse in a forest or among buildings, usually short. In a half marathon, watches averaged within about half a percent. Elevation gain reads low on hills and invents a few metres on the flat. And the further down the list, the more modeled the output: running power has no reference standard, the oxygen-uptake estimate can miss an individual by more than ten units, calories are accurate for no brand, and readiness scores do not even publish their formulas.

## 3. 10.14 km on a 10.00 km course  (2.5 min)

Now the chapter's opening question. The watch says ten point one four on a ten kilometre course: one point four percent long. Did the runner run farther, or did the watch? [Take answers, then click.] Both effects push the reading up. A course is measured along the shortest line; a runner swinging wide at corners or weaving past others covers more. And the watch's own error is easily that big. So the watch alone cannot answer. The test that separates them is the one you just did: lane one of a track, where the line is known and the watch's error is the only error left. Then repeat it, because the sky changes.

## 4. Measured, derived or modeled?  (2 min)

[Thirty seconds, hands up.] D, running power. Nothing measures a runner's mechanical power in the field, so there is nothing to check it against; each maker chooses a model of acceleration, speed, slope and body mass, and two devices disagree. The other three are derived: each is computed from a measured quantity by a rule you can write down and test. Distance from fixes, cadence from peaks, gain from pressure. That is the sorting habit for every screen: measured, derived, modeled, and give each the trust its tag deserves. Modeled also covers calories, sleep stages and readiness scores.

## 5. Sort the screen  (1 min)

The whole chapter sorted onto three cards. Measured: fixes, Doppler speed, acceleration, pressure, torque. Derived: distance, pace, cadence, step length, grade, gain. Modeled: everything on the right, which includes most of the numbers watches advertise. One status note for this year. Dual-frequency receivers are now common and sold as more accurate. The clearest evidence is a phone standing still; no study had yet compared the same watch with the feature on and off during running. So treat the claim as plausible and unproven, until your own track test says otherwise.

## 6. A harder baseline  (3 min)

Last class the line beat the mean baseline easily, and I said that was too easy. Here is the honest baseline: one constant speed, no intercept. On all three trials the line wins clearly, thirteen metres against sixty-seven. Now the real test. [Ask: leave out the middle trial; which model predicts it better?] [Click.] The constant speed, by twenty metres against twenty-nine. The model that fits better lost the prediction. With three trials, one held-out point is one draw, and that trial was run below the line anyway. To decide you need more trials and several held-out efforts. That is Chapter eleven's job.

## 7. Critical speed sets training paces  (2 min)

Why fit the line at all? Because it anchors training paces in physiology. Below critical speed, oxygen uptake and lactate rise and then settle; above it they keep climbing until you must slow. So steady runs belong well below it, threshold work just under it, and intervals above it are limited by D prime. Run faster than critical speed and the time you can last is D prime over the excess speed: four and a half metres a second lasts about eight hundred seconds; five lasts two forty. A thousand-metre repeat at four and a half uses forty-eight metres of a hundred seventy-one, so the recoveries decide how many you get.

## 8. The instructor's cadence, run by run  (2 min)

Real data again: the instructor's nineteen runs this spring, one dot each. Across the bottom, mean speed over the run; up the side, the watch's average cadence, already doubled from the per-leg value in the file. Cadence is a derived number we can trust from a wrist, because counting impacts works from almost anywhere. [Ask the room for one sentence.] In this set, the faster runs tend to have the higher cadence. Now the harder half: what can this chart not tell us? Whether the speed caused it, or hills, or fatigue, or the kind of session. Each dot is a whole run's average, too.

## 9. Twelve weeks, scored as the dashboard scores them  (2.5 min)

The book's synthetic season: twelve weeks, five runs a week, a gentle build, a training camp in week nine, an easy week ten. On top, daily load as thin bars, the seven-day average dashed and the forty-two-day average solid. The dashboard labels those fatigue and fitness, which are names, not measurements. Below, the seven over twenty-eight day ratio, which only exists from day twenty-seven. The camp lifts it to one point three seven, although the camp week was one and a half times the weeks before it. Remember why: the week is inside its own baseline.

## 10. What the label should say  (1.5 min)

Words on a screen are claims. An earlier version of the Watch dashboard called a high ratio a spike and added elevated injury risk. Checking that label against the research is what changed it. The ratio is coupled, noisy, and no study has shown that changing it changes injuries. So the label now says what the number does show: the last week was much bigger than the last month. That is worth noticing and worth a conversation. The phrase sweet spot is still there, borrowed from the same literature. Read it as a description of training, never as this athlete's risk.

## 11. Two summaries of the camp week  (3 min)

Two summaries of the camp week for the athlete's coach. [Read the left one aloud.] A list of abbreviations, a ratio the coach cannot interpret, a guess at a cause, and an injury prediction with an outsized instruction. The better one, on the right, gives three numbers the coach can picture: hours, load against her recent weeks, and easy-run heart rate. In the book it also points to one chart, weekly load with this week marked. It makes one proportionate recommendation, and it says what the number cannot see. Now you write one.

## 12. Your turn: the instructor's week of 11 May  (3 min)

[Four minutes, alone, then swap with a neighbor.] Here is a real week, the instructor's, from the watch case file, and the week before it. Write the summary a coach could use. Three numbers, one chart you would attach, one recommendation, and one sentence on what the numbers cannot see. Some things to notice before you write: the two weeks are almost identical in load; the heart rate is optical, from the wrist; the maximum used for load is just the highest value in the set; and the file has three empty weeks before May. Do not guess at causes, and do not predict injury.

## 13. Build Lab B-6: an activity file on a map  (2.5 min)

This week's build step, in your Vite project. Prompt your assistant for each part, then test it. First, load a GPX file and add up haversine distances, with two known answers. Second, pace, heart rate and elevation charts, with pace from a ten-second mean, not one-second speed. Third, the route on a canvas and a splits table. Fourth, pauses: any gap over five seconds is a pause, and a test file that pauses for a minute at five hundred metres must still give a first split of two ninety-nine point eight. FIT files are optional. You are graded on the tests.

## 14. Listing 6.15: known-answer tests  (2 min)

Write the tests before the page. The first is Example six one: a ten-thousandth of a degree of latitude is eleven point one two metres. The second builds a synthetic run due north at a known speed for six hundred fifty seconds; it covers twenty-one sixty-eight metres, so there must be two full kilometre splits, each two ninety-nine point eight seconds. The third checks the map: at forty degrees a thousandth of a degree of longitude must draw shorter than the same of latitude. Run it with node. If all three pass, most of the usual mistakes are already ruled out.

## 15. Check the AI: three failures the tests catch  (2 min)

The book lists the three common failures in this build, and an assistant will happily make all three. [Give them a minute.] The split a minute long: the code used clock time, so the pause sits inside the split; build a timer time that skips gaps over five seconds. The stretched route: the projection forgot the cosine of latitude, the same mistake as last class. The jagged pace: one-second speed from positions, which we saw is too noisy to show. Each is one line to fix, and each is caught by a test you already have. That is why the tests come first.

## 16. Before Class 13  (1.5 min)

Homework thirteen is due at the start of next class. From a watch archive, the instructor's or your case-file athlete's, find the best distance in windows of three, six, ten and twenty minutes, fit the speed-duration line, and report it with units, residuals and both baselines. Chart load over weeks on a full calendar, empty weeks as zero. Then your first presentation: three slides for a coach, one finding, the evidence, one limit, one action. Finish build step six. Read sections seven one to seven six: glucose, lactate and the sensors arriving next.
