<!-- Generated by book/tools/make-index.py from the book source. -->

> Hedengren, J. (Ed.) (2027). Chapter 14: Summary and Outlook. In *Data-Driven Athletics: Measuring, Modeling and Coaching Human Performance with Video and Wearable Data* (pp. 382–398). IRSRI Sports Research Institute. CC BY 4.0.

**Question.** What can be trusted now, what is coming, and what is yours to decide?

**Objectives.**
- Say, for each quantity in the book, how it is measured, how to check it for free, how large its error is, and how far to trust it.
- Choose a sensor or a camera, a protocol and a check for a coach's question.
- Tell a sourced claim about coming technology from an opinion.
- Divide work between an AI agent and yourself, and name what stays with a person.
- Pick a gap in the field and start a project on it.
- Name the engineering use of each method in the book, from sensor validation to leakage.
- Repeat your first measurement and say what changed: in you, in the number and in how you read it.

# 14 Summary and Outlook

In week 1 you filmed a jump, counted frames and wrote down a height. You
probably believed the number because an app printed it. Thirteen chapters
later you know where that number came from: a frame rate, a pose model, a
rule for takeoff, a scale and a formula, each with an error you can name and
check. This chapter collects what the book showed into one table, turns it
into a way of choosing a measurement, looks at what is coming, and ends where
the book began, with the same jump. The running example is Maya, the
volleyball blocker of Chapter 1, who measured herself in
week 1 and measures herself again now.

## 14.1 What the Chapters Showed

Table 14.1 is the book on one page. Each row is a
quantity you met, the way it was measured, the best check that costs nothing,
the size of error the chapter found, and how far to trust it. Every entry comes
from the chapter named in the last column; go back there for the reasoning.

The trust column uses three words, extending the three levels of trust for
video in Chapter 8 to every sensor in the book:

- **Act.**  After its one check (the frame rate, the strap's contact), the
number is good enough to change what an athlete does.

- **Trend.**  Compare an athlete with themselves, measured the same way each
time. Do not compare the number with another athlete's or with a published
norm until it has been checked against a reference.

- **Context.**  Useful for asking a question; not enough on its own to answer
one.

*Table 14.1. The book on one page: each quantity, how it is measured, the best free check, the typical error found in the chapter cited, and the trust level. Errors are those of the examples and studies in each chapter, not guarantees for your setup.*

| Quantity | How measured | Best free check | Typical error | Trust | Ch. |
|---|---|---|---|---|---|
| Event times, counts, cadence (video) | Frames between events, over many cycles | Metronome; stopwatch in the frame | One frame: 33 ms at 30 fps. Cadence within 1 steps/min of a metronome on synthetic traces | Act | 8, 9 |
| Jump height from flight time | $g t^2/8$ from frames in the air | Reach marks on a wall; a hand frame count | One frame at a 0.50 s flight: 4.2 cm at 30 fps, 2.1 cm at 60 fps. Wall and video differ by about 6 cm because they measure different things | Trend | 1, 10, 11 |
| Contact time (video) | A threshold on the foot's height trace | Frame count by two raters on a high-rate clip | 0.13 to 0.28 s on one clip as the threshold moves | Trend | 9 |
| Joint angle in the side view | Three keypoints, camera square | Printed protractor | 4 to 7 against motion capture in a laboratory study; a camera 30 off square adds about 7 to a bent knee | Trend | 3, 8 |
| Front-view tilt (pelvic drop) | Two points, or a band at the waist | Level line on a wall | 5 px of independent error on each of two hip points 100 px apart gives 4, the size of the drop sought | Context | 8, 9 |
| Lengths and speeds (video) | A scale from stature or a known object | Tape or taped distance in the plane | A reference 0.5 m nearer the camera: 11% short. Two apps' stature rules once gave scales 12.6% apart | Trend | 8 |
| Ball release angle and speed | Ball center over the first frames | Protractor on a printed frame | 20 off square: a 50 launch reads 51.7. Half a frame at 60 fps: 25% of ball speed | Trend | 10 |
| Heart rate, chest strap | Electrical R waves | A 30 s pulse count | Concordance 0.996 with a laboratory ECG across exercise modes | Act | 5 |
| Heart rate, wrist optical | Pulse wave through the skin | The strap, worn at the same time | Near zero on average at rest and on a treadmill; -7.3 bpm in strength work; 13.4% error in rowing | Trend | 5 |
| Maximal heart rate from age | A formula | A measured maximum, if safe | Misses individuals by about 10 bpm (one standard error) | Context | 5 |
| Heart rate variability (RMSSD) | RR intervals at rest | Same posture and time; share of beats removed | One missed beat in five intervals: 15.8 to 562 ms. Large day-to-day swings | Trend | 5, 12 |
| Heart-rate recovery time constant | Fit to the fall after work | Strap data refit from the stop | $\pm\SI{9}{\second}$ from six hand counts; a fit started at the wrong point gave 68 s for a true 50 s | Trend | 2 |
| Distance and pace (satellite) | Sum of position fixes | Laps in lane 1 of a track | Eight watches against a measuring wheel: mean absolute percentage error 3.2 to 6.1%; long on a track, mostly short in forest and among buildings | Trend | 6 |
| Watch estimates (maximal oxygen uptake, readiness) | A model inside the watch | None free | Oxygen uptake from rest: limits of agreement $-13$ to +17 mL/kg/min; no maker of 14 readiness scores disclosed its formula | Context | 6 |
| Energy expenditure from a device | A model inside the device | None free | Not accurate for any maker in a review of 158 studies | Context | 5, 6 |
| Interstitial glucose in exercise | Enzyme sensor under the skin | Finger-stick meter | MARD 12% at rest, 34% in exercise; read about 1.5 mmol/L high | Context | 7 |
| Lactate from sweat | Enzyme sensor in a skin patch | Finger-stick lactate after a step | $r=0.49$ with blood lactate; 0.27, not significant, in the heat | Context | 7 |
| A change in one athlete | Change against typical error and smallest worthwhile change | A retest | A typical error of 0.89 cm from five pairs could be anywhere from 0.58 to 2.11 cm | Trend | 11 |
| A model's accuracy | Score on data it has not seen | Hold out whole athletes | $R^2$ of 0.92 with a random split; 0.12 with runners held out | Context | 11 |
| A number in a report | A sentence | The athlete says it back | A rating label flips for a change of 0.1 steps/min near a threshold | Trend | 13 |

Read down the trust column and a pattern appears. The numbers you can act on
are the ones that need no scale and no model: a count of frames, the time
between electrical beats, the number of steps against a metronome. Every step
away from them adds an assumption and lowers the trust: a scale (lengths and
speeds), a camera that must be square (angles), a fit with choices inside it
(recovery, contact time), a model you cannot see (energy expenditure, glucose
in interstitial fluid). That is the distinction between measured, derived and
modeled quantities of Section 1.3, now with sizes
attached.

A second pattern is that the error of the number is often not the error that
matters. The jump app's arithmetic was right in week 1; the question was when
the feet left the ground. The Heart app's fit was right; the question was what
the recovery was measured from. Both apps were changed once checking
exposed the question. A model's $R^2$ was right; the question was how
the data were split. Most of the large errors in the table are errors of
definition, setting or interpretation, and no better sensor removes them.

## 14.2 Choosing a Measurement

Every chapter began from a question. Turned around, the table gives a way to
choose a measurement for a new one. Work down these six questions before you
film or strap anything on.

- **What will someone decide?** Name the person and the action: the
coach moves an athlete to the next training block, the athlete changes a cue.
If no decision depends on the answer, stop (Chapter 1).

- **What quantity answers it, and at which trust level?** Prefer a
count or a time to an angle, and an angle to a length. If only a
context-level quantity answers the question, say so before you collect.

- **How big a change matters?** Agree the smallest worthwhile change
with the coach or athlete before the retest (Chapter 11).

- **Can the instrument resolve it?** Compare the change with one frame,
one beat or one fix, and with the typical error. If the noise is larger than
the change, choose a faster camera, more trials or a different quantity.

- **What is the free check?** A metronome, a wall mark, a taped
distance, a strap, a protractor. Plan it into the session, not after it.

- **Who sees it, and what will you say?** Consent, the minimum data,
and a one-page report with one recommendation and a retest date
(Chapter 13).

**Example 14.1: Can a 2 cm gain be seen?.**

Maya's coach wants to know whether six weeks of plyometric work raised her
jump by 2 cm. Work the guide. The decision is whether to keep
the block. The quantity is flight-time height (trust: trend, so the same setup
both times). The worthwhile change for this squad is the
0.65 cm of the teammates in Section 11.1,
and their typical error, 0.89 cm for one jump, is the noise.

*Resolution.* Near a 0.50 s flight, one more frame adds
$9.80665\,(0.50+1/f)^2/8 - 9.80665\times0.50^2/8$: 4.22 cm at
30 fps, 2.08 cm at 60 fps and
0.51 cm at 240 fps. At 30 fps a 2 cm
gain is smaller than one frame; film at 60 fps or faster.

*Trials.* With one jump a session, the noise of a change is
$\sqrt2\times0.89 = \SI{1.26}{\centi\metre}$, and a true 2 cm
gain would show as worthwhile with a chance of about 0.86. Averaging three
jumps a session divides the noise by $\sqrt3$, to 0.73 cm, and
the chance rises to 0.97. Listing 14.1 confirms the
arithmetic.

*Check and report.* A wall mark at each session; a retest date in the
report. The plan: three jumps, 60 fps or more, the capture rate set in
the app, the same tripod spot.

**Listing 14.1.** Frame step and trials against a 2 cm gain (`code/choose.py`). (`code/choose.py`)

```python
from scipy.stats import norm

G, TE, SWC, GAIN = 9.80665, 0.89, 0.65, 2.0   # m/s^2, cm, cm, cm

def h_cm(t):
    return 100 * G * t**2 / 8

for fps in (30, 60, 240):
    step = h_cm(0.50 + 1 / fps) - h_cm(0.50)
    print(f"{fps:3d} fps: one frame at a 0.50 s flight = {step:.2f} cm")

for k in (1, 3, 5):                       # trials averaged per session
    noise = np.sqrt(2) * TE / np.sqrt(k)  # noise of a change in session means
    p = 1 - norm.cdf((SWC - GAIN) / noise)
    print(f"{k} trial(s) a session: noise {noise:.2f} cm, chance of gain {p:.2f}")
```

```text
 30 fps: one frame at a 0.50 s flight = 4.22 cm
 60 fps: one frame at a 0.50 s flight = 2.08 cm
240 fps: one frame at a 0.50 s flight = 0.51 cm
1 trial(s) a session: noise 1.26 cm, chance of gain 0.86
3 trial(s) a session: noise 0.73 cm, chance of gain 0.97
5 trial(s) a session: noise 0.56 cm, chance of gain 0.99
```

> **Key idea.**
> 
> Choose the measurement from the decision backward: the action, the quantity
> with the highest trust that answers it, the smallest change that matters, an
> instrument and a number of trials that can resolve it, and a free check. Most
> of the precision you need is bought with protocol, not with hardware.

## 14.3 What Is Coming

Forecasts in technology age quickly, so this section keeps two kinds of
sentence apart. A sentence with a citation reports what a source shows. A
sentence that begins *In the editor's view* is an opinion, offered for you
to test against what happens.

\paragraph{Sensors maturing.} Chapter 7 described sensors that
read the chemistry of the body. Some are already on sale: in the United States
the first interstitial glucose sensor sold without a prescription was cleared
on 5 March 2024, for adults who do not use
insulin , and in June 2026 one was cleared for
people aged two and older who do not use insulin (Chapter 7). Whether they help a healthy athlete is
another matter. In 13 para-cyclists the sensor's mean absolute relative difference (MARD)
from a finger-stick meter rose from 12% at rest to 34% in exercise, and in exercise it read about
1.5 mmol/L higher than a finger-stick
meter ; a review found no consensus
on how to interpret the readings for performance .
Continuous lactate is earlier still: a microneedle patch tracked blood lactate
in five healthy adults with a median lag of about five
minutes , and a sweat patch that estimates
sweat rate and sweat chloride has been tested in 312
athletes , in a study with the developers
among its authors; an independent test of a consumer version did worse
(Chapter 7). In the editor's view the pattern of
heart-rate sensing will repeat: a period in which the sensor is sold before its
error in exercise is known, followed by studies, by activity, that sort the
uses that hold from those that do not. The evidence table of Chapter 7
(Table 7.2) and its five questions for any new
sensor (Section 7.7) are how you will sort them.

> **Status: 2026.**
> 
> {Chemical sensors}
> Over-the-counter glucose sensors exist for people who do not use
> insulin: adults since 2024 , and children from
> age two, supervised by an adult, since 2026 (Chapter 7). No
> continuous lactate sensor has regulatory clearance; the human studies are
> small, 5 and 11 people 
> (Chapter 7). Check both facts again before you
> rely on them.

\paragraph{Three-dimensional pose from two or more phones.} A single camera
loses depth, and that loss is behind the low trust of front-view tilts and
lengths in Table 14.1. Two or more synchronized phones
can recover it: one open system computes three-dimensional joint motion, and
estimates of the forces behind it, from videos captured with two or more
smartphones . In the editor's view this
will move several rows of the table up one trust level, angles out of the side
view above all, but not the rows whose error is one of definition or
interpretation. A second camera does not tell you when stance ends or whether a
knee angle predicts injury.

\paragraph{Models that describe movement in words.} Language models have been
trained to treat human motion as a sequence of tokens, so that one model can
generate motion from a sentence and write a caption for a
motion . In the editor's view, models of
this kind will soon draft the coaching sentence directly from a clip. That will
make the checks of Chapter 13 more important, not less: a fluent
sentence about a knee is still a level-four claim (Chapter 8), and it
must be traced to a number, the number to a frame, and the frame to the video.

\paragraph{AI agents running the analysis.} This is not a forecast. Every form
app in this book has a “Process a folder” page that publishes a programming
interface, `window.apoptAutomation`, which an agent controlling a
browser can use to start a job, follow it and read its results, with nothing
installed and the video never leaving the computer
(shared/automation-jobs.ts, lines 165–187). Each app also writes its
result as plain text in one fixed layout, so that a person or an agent reads
the same thing (shared/markdown-results.ts, lines 1–17), and a
`.json` receipt records the settings that produced it
(Chapter 4). An agent can therefore process a season of clips
overnight and draft a summary. In the editor's view this moves the student's
work from running the analysis to checking it: reading the receipt for the
capture rate and the stature before reading any result, which is the first
check of Section 8.10.

## 14.4 Working with AI Agents

You have used an AI assistant in every chapter with the same four steps:
specify, generate, verify, defend (Section 1.7). By now
an agent can do more than generate a function. It can write a whole analysis
notebook, build and test a browser app (Chapter 12), process a folder of
clips through an app, search the literature and draft a report. What it does
not do is decide what matters. Four things stay with a person:

- **The question.**  Which decision the work serves, and whether a measurement
should be made at all.

- **The check.**  A second route to the number: a hand calculation, a free
reference, a source opened and read. An agent can run a check you specify; it
cannot know which check its own output needs.

- **The relationship with the athlete.**  Consent, trust, the conversation of
Chapter 13, and the athlete's right to decide who sees their data.

- **The decision.**  Someone has to be accountable for what the athlete is told
and does. That is you.

### 14.4.1 A worked case: how this book was made

As the preface says, AI agents drafted this book's chapters, wrote and ran its
listings, and checked its numbers against the apps' source, under a plan and
decisions set by the editor. Every chapter folder keeps two records:
`SOURCES.md`, which says for each reference what claim it supports and
whether it was opened, and `CHECKS.md`, which gives every number's
source and the command that recomputes it, and every app fact as a file and
line. Table 14.2 lists what that checking caught. Each
row is in the record; none required a laboratory.

*Table 14.2. What checking caught while this book was written, how, and what changed. The writers reported the app findings; the apps were then fixed, and the book describes the fixed apps.*

| What was found | How it was caught | Where |
|---|---|---|
| The running app set its scale by dividing the nose-to-ankle span by the full stature, with no correction for the head and foot it cannot see, so its lengths read about 12.6% long against the jump app's rule. It now divides by 0.888 of stature, so every length is $\times 0.888$ | The two apps' source read side by side, and a hand calculation of both scales | 8 |
| The basketball app's release angle had no gravity term over its fit window: a ball launched at 50 and 7 m/s read 45.3. It now fits the path with gravity removed, and warns that filming off the side reads high | A hand calculation of the ball's displacement over the first frames | 10 |
| The Heart app measured recovery from the session's highest 15-second median, not the end of work, so a synthetic file with a true time constant of 50 s gave 68 s. It now measures from the end of work and gives 50.6 s | Synthetic data with a known answer | 2 |
| The jump app's “Knee Angle” was described as flexion, but its value is the included angle, $180^\circ$ minus flexion. The description now says included angle | The source read beside the chapter's definition | 3 |
| Every example clip is stored at 30 fps, including those filmed at 60 and 120 fps | The file headers read directly | 8 |
| A course data set held 292 duplicated rows and 50 speed labels that disagreed with their own stride data; a random-split $R^2$ of 0.94 became 0.38 with whole runners held out | An agreement check between columns, and a split by runner | 11 |
| The plan said glucose sensors read low in exercise; the cited source did not report it, and the para-cyclist study found them reading high | Opening each source before citing it | 7 |
| Sources whose claim could not be found in the text: a time-constant range, a usability benchmark, an earlier summary of a study as “did not predict” where the study reports “weakly to moderately” | The same | 2, 12, 8 |
| The student app's chart was blank while all five of its tests passed | Looking at the screen | 12 |
| One writing session saved its own style file over the book's; it was found and moved to its own name | Reading the file before building on it | — |

Three lessons come out of the table.

*Fluent is not checked.* Every one of these errors produced output that
looked right: a scale, an angle, a time constant, an $R^2$, a citation with the
right authors. None raised an error message. They were found only because
someone specified a second route to the answer and compared.

*The checks were cheap.* A hand calculation, a synthetic file, a file
header, a look at the screen, opening a source. The checks of this book are the
same free references you have used all term. What made them work was the
decision to do them for every number, not a better tool.

*The judgment stayed with a person.* An agent can be asked to compare two
apps' scale rules, and it will. Deciding that the comparison was needed, that a
12.6% difference matters for a step length but not for a cadence, and that
the apps should be fixed and the book rechecked against the fixed apps, were
decisions. So was dropping a claim that could not be sourced instead of
keeping it because it was probably true. In a report to an athlete, those
decisions are yours.

> **Check the AI: A summary that reads well.**
> 
> An agent processes twelve of a runner's clips through the running app's folder
> page and writes: “Step length increased from 1.28 to 1.41 m over the season,
> a 10% gain in stride efficiency.” Each number matches a results file. Name
> two things to check before you send it. (Answer: the receipts' stature and
> capture rate for every clip, since the running app's lengths depend on the
> stature typed and every time on the rate, and the running speed of each clip,
> since step length rises with speed; “stride efficiency” is not a quantity
> any chapter defined.)

## 14.5 Gaps Worth Working On

The table also shows where the field is thin. Each gap below comes with a
project a team could start with a phone and the apps.

\paragraph{Validation without a laboratory.} None of the apps in this book has
been validated against a laboratory system (Chapter 8), and most
readers will never have one. The
free references of this book (metronome, wall marks, taped distances, printed
protractors, a chest strap) can still give an agreement study of the kind in
Chapter 5 and Chapter 11. *Project:* for one app and
one measure, film 20 trials alongside a free reference and report bias and
limits of agreement, by camera angle.

\paragraph{Athletes the models were not trained on.} Pose models learn from
photographs of people, and they find best the kinds of people and postures they
have seen. For optical heart-rate sensors the evidence on skin tone is mixed,
and tattoos clearly degrade optical sensing (Chapter 5). A pose model lost a
back-flipping athlete's legs at takeoff and landing (Chapter 8); in the
editor's view unusual bodies, clothing, equipment and postures are where models
fail first.
*Project:* measure the share of frames in which a person is found, and
the confidence trace, for one movement across athletes who differ in the way
that worries you, with consent.

\paragraph{Women, youth and para-athletes in the evidence.} In six sport and
exercise science journals from 2014 to 2020, 34% of participants were women
and 6% of studies studied women only .
Sensor errors also differ between groups: in the para-cyclist study, the
glucose sensor's error in exercise was 41% in hand cyclists and 24% in leg
cyclists . A norm or an error size
from one group is a hypothesis for another. *Project:* for one measure in
your sport, list the populations behind its reference values, and repeat a
reliability study of Chapter 11 in a group the list leaves out.

\paragraph{Turning a measurement into a change that lasts.} In the editor's
view, the evidence that a number changes what an athlete does is thinner than
the evidence that the number is accurate. Learning is judged by a retest without the cue (Chapter 13),
and few reports ask for one. *Project:* with three athletes who agree,
deliver a one-page report with one cue, then retest at two and six weeks
without the cue, and report what held.

\paragraph{Privacy when sensors are always on.} A watch, a ring and a phone
record all day. The book's rule has been to keep data on the device, share the
minimum and let the athlete decide who sees it (Chapter 12,
Chapter 13). Continuous records make that harder: a route reveals a
home unless its ends are trimmed (Chapter 6), a night heart rate
reveals illness. *Project:* take one continuous
record of your own, list what a stranger could infer from it, and design the
smallest summary that still answers a coach's question.

## 14.6 The Same Methods in Other Fields

Nothing in this book's methods knows it is about athletes. A chest strap is a
sensor; a runner's step rate is a signal; a squad is a fleet of units that
differ from one another. Many of the engineer's notes said so in passing. Table 14.3 says it in one place, and it
works in both directions. If you go on to engineering, you already know these
methods from a domain where you could check the answer with a wall mark. If
you came from engineering, you have now used them on the hardest plant there
is: a person who can say no.

*Table 14.3. Methods of this book and the same methods in engineering. The last column points to a page of the two companion courses where one exists, *Data-Driven Engineering* (DDE) and *Machine Learning for Engineers* (PDS), where the engineering version is taught.*

| Method | In this book | In engineering | Course page |
|---|---|---|---|
| Agreement with a free reference | Video jump height against a wall mark; app against a chest strap (Chapter 1, Chapter 11) | *Sensor validation* in a plant: a temperature or flow transmitter against a calibrated reference, with a check point held back from the calibration | https://apmonitor.com/dde/index.php/Main/SensorConditioning |
| Resolution of the instrument | One frame at the capture rate (Chapter 8, Chapter 10) | The span and conditioning of a transmitter, for example a 4–20 mA signal scaled to a range | https://apmonitor.com/dde/index.php/Main/SensorSignal |
| Cleaning before computing | Missed and extra heartbeats removed before RMSSD (Chapter 5, Chapter 12) | Removing failed-sensor values and outliers before a model sees them | https://apmonitor.com/pds/index.php/Main/CleanseData |
| Trend against noise | A rolling mean of morning heart rate; heart-rate drift in a long effort (Chapter 2, Chapter 11) | *Process drift*: a slow change in a signal from fouling, wear or a sensor going out of calibration | https://apmonitor.com/dde/index.php/Main/PandasTimeSeries, https://apmonitor.com/pds/index.php/Main/ARXTimeSeries |
| Split by athlete | Leakage when steps of one runner fall on both sides of a split (Chapter 11) | Leakage in equipment-failure models: hold out whole machines or battery cells, not rows from each | https://apmonitor.com/pds/index.php/Main/SplitData, https://apmonitor.com/pds/index.php/Main/BatteryLife |
| Precision and recall | Classifying rare events against many normal ones (Chapter 11) | Detecting rare defects or faults, where a model that always says “no fault” is right most of the time | https://apmonitor.com/pds/index.php/Main/SteelPlateFaults, https://apmonitor.com/pds/index.php/Main/ImbalancedData |
| A model with residuals | The critical-speed line through two or three races (Chapter 6, Chapter 11) | An empirical performance model of a unit, whose residuals flag a bad run | https://apmonitor.com/pds/index.php/Main/RegressionOverview |
| Scenario under a constraint | A race plan against a baseline with $D'$ as the limit (Chapter 13) | A what-if run on a process model with an operating limit, such as a heater's tube-skin temperature | https://apmonitor.com/dde/index.php/Main/FiredHeaterSimulation |
| Three required inputs | Normal, missing and invalid files (Chapter 12) | Testing analysis software against a good record, a dropped sensor and an out-of-range value before it meets live data | (Chapter 12) |

Three of the rows deserve a sentence each. *Sensor validation* is the
first job of any measurement in a plant, as it was in week 1: before trusting a
reading, compare it with something simpler that you trust, and keep one point
out of the calibration to test it. *Drift* is the plant's version of
fatigue and fitness: a slow change hidden under fast noise, which a single
reading cannot show and a rolling window can. And *leakage* is the same
mistake in both fields: if rows from one runner, or cycles from one battery
cell, sit on both sides of a split, the model is tested on what it has already
seen, and it will look better than it is on the next runner or the next cell.
The companion course's battery-life example holds out whole cells, 11 for
training and 3 for testing, for exactly this reason.

What does not transfer is the relationship. A transmitter does not consent, get
discouraged by a label, or decide whether to follow a recommendation. The
chapters on communication and boundaries (Chapter 13) have no row
in the table, and that is the part of this course an engineer is least likely
to meet again in a textbook.

## 14.7 Your Next Step

The course mixed four kinds of student on purpose. Each leaves with something
the others brought.

- **The engineer**  has learned that a measurement is only as good as its
definition, and that the body is a system with slow and fast states
(Chapter 2). A next step is a validation study of one sensor, or a
contribution to an open tool: a test with a known answer, a clearer error
message, a free check built into the screen.

- **The data scientist**  has learned that rows are not athletes, that a split
decides a score, and that ten athletes can still show an effect
(Chapter 11). A next step is a model built on a team's own data
with a leakage audit and a written plan, or an agent workflow whose every
output is checked against the files.

- **The exercise scientist**  has learned to read code, to recompute a number
and to ask what an app's output is *of*. A next step is a reliability
study for one test in one population, filed before the data are collected.

- **The coach and the athlete**  have learned to ask what a number would
change, to read a range, and to say no to a dashboard. A next step is a season
of one question: one measure, one retest schedule, one report a month.

The course site lists internships at https://www.irsri.org/internships.
When this chapter was written it described two programs of about 126 hours over
a term: one applying video and pose analysis to athletes' videos and reporting
to coaches, and one in youth coaching that uses form analysis and watch data.
Check the page for the current list. The course's own project is the
first step on any of these paths: the app you show at the showcase (Build step
B-14, Exercise 14.8) is a small, finished, checked
tool with a user, which is more than most first internships ask for.

## 14.8 Reassess

The pathway of Section 1.2 ends with
*reassess*. Do it now, on yourself, with the measurement you made in
week 1 (Exercise 1.17).

- Find your week-1 notes and results files. Write down what you believed
then: the number, and why you trusted it.

- Repeat the measurement with the same protocol: the same wall, the same
tripod spot and height, the same warm-up, three jumps. This time, set the
capture rate in the app and keep the receipt.

- Count the frames in the air by hand for each jump, and check the app's
flight time against your count.

- Compute the change and its range, with the spread of your own trials as
the noise.

- Write half a page: what changed in the number, what changed in how you
read it, and what you would do differently if you started the course again.

**Example 14.2: Maya, week 1 and week 14.**

In week 1 Maya's three jumps were 31, 33 and 32 frames in the air at
60 fps: 32.7, 37.1 and 34.9 cm, a mean of
34.9 cm (Table 1.1). In week 14,
with the same setup, they are 33, 34 and 34 frames: 37.1, 39.4 and
39.4 cm, a mean of 38.6 cm. These are
illustrative values; yours will differ.

The change is $38.6-34.9=\SI{3.7}{\centi\metre}$. Her trials scatter with a
standard deviation of about 1.8 cm (pooled over both
sessions), so the standard error of a change between two means of three is
$1.8\sqrt{1/3+1/3}=\SI{1.47}{\centi\metre}$
(Equation \eqref{ch13-coaching:eq:se} of Chapter 13). The
90% range is $3.7\pm1.645\times1.47$, from 1.3 to 6.1 cm.
Against the smallest worthwhile change of 1.4 cm from
Section 1.4, the chance of a worthwhile gain is
$\Phi\big((3.7-1.4)/1.47\big)=0.94$: *likely*
(Table 11.2). Listing 14.2
confirms it.

The number is not the only thing that changed. In week 1 Maya read
“37.1 cm” as her jump. Now she reads it as 33 frames, knows
that one frame is 2 cm at this rate, knows the wall says
something different and why, and would not tell her coach she improved on the
strength of one jump.

**Listing 14.2.** Week 1 against week 14 (`code/reassess.py`). (`code/reassess.py`)

```python
import numpy as np
from scipy.stats import norm

G, FPS, SWC = 9.80665, 60, 1.4          # m/s^2, frames/s, cm (Chapter 1)
week1 = np.array([31, 33, 32])           # frames in the air
week14 = np.array([33, 34, 34])

def heights_cm(frames):
    t = frames / FPS
    return 100 * G * t**2 / 8

h1, h14 = heights_cm(week1), heights_cm(week14)
print("week 1 :", h1.round(1), "mean", h1.mean().round(1))
print("week 14:", h14.round(1), "mean", h14.mean().round(1))
sd = np.sqrt((h1.var(ddof=1) + h14.var(ddof=1)) / 2)   # pooled trial SD
se = sd * np.sqrt(1 / len(h1) + 1 / len(h14))           # SE of the change
d = h14.mean() - h1.mean()
print(f"change {d:.1f} cm, trial SD {sd:.1f}, SE {se:.2f}")
print(f"90% range {d - 1.645*se:.1f} to {d + 1.645*se:.1f} cm")
print(f"chance true change > {SWC} cm: {norm.cdf((d - SWC) / se):.2f}")
```

```text
week 1 : [32.7 37.1 34.9] mean 34.9
week 14: [37.1 39.4 39.4] mean 38.6
change 3.7 cm, trial SD 1.8, SE 1.47
90% range 1.3 to 6.1 cm
chance true change > 1.4 cm: 0.94
```

> **Try it in the app: The same jump, fourteen weeks later.**
> 
> Film three countermovement jumps from the side, whole body in frame, phone on
> the week-1 tripod spot at waist height, at 60 fps or more. Set the
> capture rate you filmed at and type your stature. Run Basic mode, save the PDF,
> the text result and the receipt. Then open Advanced mode and compare what it
> shows with what you wrote in week 1.
> 
> 
> https://apopt.com/jump/jump.php

### 14.8.1 Telling the athlete

The athlete this time is you, and Maya's coach. Two summaries of the same data:

*Poor.* “Huge progress! Jump up from 34.9 to 38.6 cm, a 10.6% gain in
explosive power. The plyometric block worked.”

*Better.* “Your jump is likely higher than at the start of term: about
4 cm, and at least 1 cm on a cautious reading.
Three jumps each time, same camera spot, filmed at 60 frames a second. We can't
tell from this whether the plyometric block caused it; you also played a full
season. Keep the block; we'll retest the same way in six weeks.”

The poor version gives three decimal places the measurement does not support,
renames height as “power”, claims a cause, and offers no range or retest. The
better one states the change as a range in whole centimeters, says how it was
measured, separates what the data show from what they cannot, and ends with an
action and a date, the five parts of the coaching artifact of
Chapter 13.

### 14.8.2 A season, not a snapshot

The reassessment compares two sessions, and two sessions hide two things.
The first is learning: the first time you do a test you are still learning
it, and a change in the mean between early trials can be a practice effect
rather than fitness . The second is the
ordinary week: one good or bad day looks the same as a change when it is the
only other number you have. An *athlete record* kept all term answers
both. It is one table with one number per row, rows added and never edited,
and columns for the device, the app version and the protocol version beside
every value (Appendix J). The course fills it two
ways: the *Monday five*, three jumps on video and a one-minute resting
pulse each week, and a longer battery in weeks 1, 5, 9 and 13.

Figure 14.1 is Maya's jump record for the term,
one point a week, each the mean of three jumps. Weeks 1 and 14 are the
sessions of Example 14.2; weeks 2–13 are
**synthetic**, made by Listing 14.3 to show
the method. Read it in four steps.

- **Baseline.** Take the mean and standard deviation of the first
weeks after the practice week, here weeks 2–5: 36.1 cm and
0.79 cm. The band of one standard deviation runs from 35.4 to
36.9 cm. Week 1, at 34.9, sits below the whole baseline: that
is the practice effect.

- **Worthwhile.** Add the smallest worthwhile change
(1.4 cm, Section 1.4) to the
baseline: 37.5 cm. A change that matters has to clear that
line, not just the band.

- **Run rule.** One point above the band happens by chance about one
week in six. Process engineers watch for patterns that are rare when nothing
has changed, such as four of the last five points more than one standard
deviation above the center line . Maya meets that
rule in week 9. Such rules buy sensitivity with false alarms, and a band from
four weeks is itself rough, so treat the rule as “look closer”, not as
proof.

- **Size.** The mean of weeks 11–14 is 2.7 cm above
the baseline, twice the smallest worthwhile change. The two-session reading
said 3.7 cm; about a centimeter of that was week 1's
practice. A straight line through weeks 6–14 rises
0.19 cm a week, but its 90% interval, $-0.01$ to 0.39,
includes zero: nine noisy weeks pin down a shift in level better than a
slope.

*Figure 14.1. Maya's term in the athlete record (weeks 2–13 synthetic). Shaded: the baseline band, mean (dashed) $1$ standard deviation of weeks 2–5. Dotted: baseline plus the smallest worthwhile change. Week 1 lies below the band (practice); from week 6 the points sit above it, and four of five are above it by week 9.*

**Listing 14.3.** Reading a season against its baseline (`code/season.py`, the core lines). (`code/season.py`)

```python
base = h[1:5]                                  # weeks 2-5: week 1 is practice
m, s, SWC = base.mean(), base.std(ddof=1), 1.4
above = h > m + s
rule = [w for w in range(5, 14) if above[w - 4:w + 1].sum() >= 4]   # 4 of last 5
slope = stats.linregress(weeks[5:], h[5:])
half = stats.t.ppf(0.95, weeks[5:].size - 2) * slope.stderr      # 90% half-width

print("weekly means:", " ".join(f"{x:.1f}" for x in h))
print(f"baseline wk 2-5: mean {m:.1f}, SD {s:.2f}; band {m - s:.1f} to {m + s:.1f}")
print("weeks above band:", [int(w) for w in weeks[above]])
print("4-of-5 rule first met at week", int(weeks[rule[0]]))
print(f"two-point change wk1->wk14: {h[-1] - h[0]:.1f} cm")
print(f"change from baseline, mean wk 11-14: {h[10:].mean() - m:.1f} cm")
b = slope.slope
print(f"trend wk 6-14: {b:.2f} cm/wk (90% {b - half:.2f} to {b + half:.2f})")
```

```text
weekly means: 34.9 36.3 36.8 36.5 35.0 37.4 37.4 37.8 38.1 38.9 40.3 37.8 38.8 38.6
baseline wk 2-5: mean 36.1, SD 0.79; band 35.4 to 36.9
weeks above band: [6, 7, 8, 9, 10, 11, 12, 13, 14]
4-of-5 rule first met at week 9
two-point change wk1->wk14: 3.7 cm
change from baseline, mean wk 11-14: 2.7 cm
trend wk 6-14: 0.19 cm/wk (90% -0.01 to 0.39)
```

One more rule keeps a record honest. When the `device`,
`app_version` or `protocol_version` column changes, a new
phone, an app update, a different camera spot, the series may step for
reasons that have nothing to do with training. Mark the week on the chart,
do not read a step there as a change in the athlete, and rebuild the baseline
from the weeks after it; the next battery gives a new typical error. This is
why the record keeps those columns: you cannot see a device change in the
numbers alone.

## Summary

- Trust follows the number of assumptions: counts and times (act), angles
and lengths measured the same way each time (trend), modeled outputs (context).
Table 14.1 gives every quantity of the book with its
check and error.

- The largest errors are usually of definition, setting or interpretation,
not of the sensor. No better hardware removes them.

- Choose a measurement from the decision backward; buy precision with
frame rate, trials and protocol before hardware.

- Coming: chemical sensors whose exercise error is still being measured;
three-dimensional pose from several phones; models that describe movement in
words; agents that run the apps through their automation interfaces. Keep
sourced claims and opinions apart.

- Agents write, run and draft. The question, the check, the relationship
with the athlete and the decision stay with a person. In making this book,
cheap checks caught errors that fluent output hid.

- Gaps worth a project: validation without a laboratory, athletes the
models were not trained on, women, youth and para-athletes in the evidence,
change that lasts, privacy when sensors are always on.

- The same methods run plants: sensor validation, process drift, cleaning,
leakage in equipment-failure models, rare-fault detection and what-if runs
under an operating limit (Table 14.3). The
relationship with the athlete is the part that does not transfer.

- Reassess: repeat week 1, report the change as a range, and note how your
reading of the number changed. Better still, read it against the whole
record: a baseline after the practice week, a band, a run rule, and a new
baseline at every device or protocol change.

| Quantity | Formula |
|---|---|
| One frame of jump height near flight $t$ | $g\big[(t+1/f)^2-t^2\big]/8$ |
| Noise of a change in means of $k$ trials | $\sqrt2\,\mathrm{TE}/\sqrt{k}$ |
| Standard error of a change, $n_1$ and $n_2$ trials | $s\sqrt{1/n_1+1/n_2}$ |
| 90% range of a change | $\Delta\pm1.645\,\mathrm{SE}$ |
| Chance of a worthwhile gain | $\Phi\big((\Delta-\mathrm{SWC})/\mathrm{SE}\big)$ |

**New terms:** trust level (act, trend, context), automation
interface, AI agent, reassessment, sensor validation, process drift.

**Going further:** https://apmonitor.com/pds/index.php/Main/AgenticWorkplan and
https://apmonitor.com/pds/index.php/Main/AgenticCoding on planning and coding with agents; https://apmonitor.com/pds/index.php/Main/CourseProject for
the structure of a project report with a leakage audit and an AI-use
disclosure; https://apmonitor.com/dde/index.php/Main/AgenticData on working with agents on data; the course
pages in Table 14.3 for the engineering side of
each method.

**Track it:** the week-14 `cmj` retest, read against the whole term (Appendix J).

## Exercises

> **Course use: Week 14.**
> 
> **P28** (due Class 28, *Measure*): 14.1, 14.3, 14.5, 14.7, 14.8, 14.9, 14.12; about 220 minutes. A case-file exercise may be done on your own data instead. The full map is in the Course Guide.

**Exercise 14.1** (Discussion · Foundation · 10 min · CORE)

A runner's season report contains six numbers: (a) a cadence of
172 steps/min from a side-view clip filmed and set at 60 fps; (b) a step
length of 1.31 m from the same clip; (c) a knee angle at contact of
\ang{158} from the same clip; (d) a wrist heart rate of 148 bpm during
an indoor rowing session; (e) one morning's RMSSD of 38 ms;
(f) an interstitial glucose reading of 4.2 mmol/L at
30 km of a long run. Sort them into act, trend and context
(Table 14.1), give one reason and one free check for
each, and say which one you would leave out of a report to the runner.

**Exercise 14.2** (Discussion · Foundation · 15 min)

Choose a quantity from your project that is not in
Table 14.1. Write its row: quantity, how measured, best
free check, typical error, trust level and chapter. For the typical error, say
whether you measured it, took it from a chapter, or are guessing.

**Exercise 14.3** (Discussion · Core · 20 min · CORE)

A soccer coach asks whether a winger's first five meters got faster after
four weeks of acceleration work. Work the six questions of
Section 14.2. Say what you would measure, at what
frame rate, with how many trials, with what free check, and what you would
not claim.

**Exercise 14.4** (Discussion · Core · 15 min)

Take three sentences from Section 14.3, one with a
citation and two that begin “In the editor's view”. For the cited one, say
exactly what the source showed and what it did not. For each opinion, rewrite
it as a prediction that could be shown wrong: what would be measured, in whom,
and by when.

**Exercise 14.5** (Discussion · Core · 20 min · CORE)

You will let an AI agent process 40 clips of your team through an app's
“Process a folder” page and draft a season summary. Write the plan in three
lists: what the agent does; the checks you will specify, with the expected
result of each; and the decisions you keep. Then pick one row of
Table 14.2 and say which check in your plan would have
caught it.

**Exercise 14.6** (Discussion · Extension · 30 min)

Choose one gap of Section 14.5 and write a one-page
project proposal: the question and the decision it serves, the measure and its
trust level, the free reference, who takes part and how consent is obtained,
the analysis written before data collection, and what result would count as
the project not working.

**Exercise 14.7** (Discussion · Foundation · 30 min · CORE)

Reassess yourself (Section 14.8). Use the jump app,
https://apopt.com/jump/jump.php, in Basic mode: side view, whole body in frame, phone on
the week-1 tripod spot at waist height, three countermovement jumps, filmed at
60 fps or more with the capture rate set in the app. Save the PDF, the
text result and the receipt. Count the frames in the air by hand for each jump.
Open Advanced mode and find one thing Basic mode left out. Then write half a
page: the change and its range, what you believed about the week-1 number and
what you believe now, and what you would do differently. You need not share
your numbers; the half page is graded, not the jump.

**Exercise 14.8** (Build · Core · 90 min · CORE)

*Build step B-14: the showcase checklist.* Before you show your project
app, confirm each item and bring the evidence.

- One decision and one user, written at the top of the spec
(Chapter 12).

- The app is online and opens on a phone.

- A test with a hand-worked answer passes, and you can show the hand
calculation.

- A synthetic or example file with a known answer gives that answer on
screen, and you have looked at the screen, not only the tests.

- The number's free check is stated in the app or the report, with its
typical error (Table 14.1 style).

- Data stay on the device: the browser's network panel shows no upload of
user files.

- A plain-language summary and a one-page report with one recommendation
and a retest date (Chapter 13).

- At least three users have tried it; you can name one change their test
caused.

- Every source you cite was opened; your AI prompt log is kept.

- An 8-minute demonstration, rehearsed with a timer, and answers ready for 4 minutes of questions, including “how good is the number?”

**Exercise 14.9** (Discussion · Foundation · 10 min)

Match each method of the book to its use in engineering, and give one sentence
on why the method is needed there.

- Comparing a video jump height with a wall mark.

- A rolling seven-day mean of morning heart rate.

- Holding out whole runners when testing a model of step data.

- Removing missed and extra heartbeats before computing RMSSD.

- Reporting precision and recall for a rare event.

Uses (one each): detecting rare faults in steel plates; validating a plant's
temperature transmitter against a calibrated reference; removing failed-sensor
readings before fitting a model; testing a battery-failure model on cells it
has not seen; seeing slow drift in a process signal.

**Exercise 14.10** (Discussion · Core · 20 min)

Choose one row of Table 14.3 and open its course
page. Rewrite one exercise you did in this book as the engineering version:
name the sensor or unit, the reference or check, the error you would report
and the decision it serves. Then name one thing that carries over exactly and
one thing that does not.

**Exercise 14.11** (Discussion · Core · 20 min)

A maintenance team's model predicts pump failures from sensor data. It was
scored by shuffling one year of one-minute records from twelve pumps into a
random 80/20 split, and it reports 98% accuracy. Write a message of no more
than 150 words to the team's manager, who is not a data scientist, explaining
why the number is likely too high and what test would give an honest one. Use
the runner example of Chapter 11 as your comparison.

**Exercise 14.12** (Field collection · Foundation · 40 min)

*Reassess Week 1.* Repeat the field exercise of week 1
(Exercise 1.17) under the same protocol, and compare
today's results with the scatter you measured then. Equipment: the same wall,
chalk or sticky notes, tape measure, phone and tripod spot as in week 1, and
your week-1 record.

- Safety: warm up as in week 1 (five minutes of easy jogging, ten squats,
five easy jumps). Jump on a flat, non-slip floor in athletic shoes. Stop if
anything hurts. Skip the jumps if you have been told not to jump.

- Consent: only your own data. If a teammate films you, agree that the
video stays on your phone.

- Read your week-1 record and write down the protocol you used: frame rate,
phone distance and height, warm-up, footwear, time of day. Match each one; note
any you cannot match.

- Mark your standing reach. Film three countermovement jumps,
30 s apart, side view at 60 fps, touching the wall at the top
of each.

- Measure each reach mark and count the frames in the air for each jump.
Compute the reach heights and the video heights ($g(n/f)^2/8$).

- For each method, compute today's mean and range, and week 1's mean and
range.

Record: the protocol and any differences from week 1; six heights today and six
from week 1; for each method, the change in the mean and week 1's range of three
trials. State whether each change is larger than week 1's range, and whether the
gap between the two methods is about the same as in week 1.

**Exercise 14.13** (Discussion · Core · 20 min)

Maya's weekly jump means for weeks 1–8 are 34.9, 36.3, 36.8, 36.5, 35.0,
37.4, 37.4 and 37.8 cm
(Figure 14.1).

- Why is week 1 left out of the baseline? Name the effect.

- Compute the mean and standard deviation of weeks 2–5 by hand, and the
band of one standard deviation.

- Which of weeks 6–8 lie above the band? Has the four-of-five rule been met
by week 8?

- In week 10 Maya's phone is replaced by one that films at
120 fps instead of 60 fps. What do you write in the record, and
how do you read weeks 10–13?

**Exercise 14.14** (Discussion · Foundation · 15 min)

For each entry in a student's record, say whether it most likely shows a
training effect, a device or protocol step, learning, or ordinary noise, and
what the student should write in the `note` or `conditions`
column.

- Week 1 to week 2: jump up 2 cm; nothing else changed.

- Week 7: one jump week 2.5 cm below the band after a
four-hour night; week 8 is back inside.

- Week 9: the app's page was updated; from then on the flight times read a
little longer.

- Weeks 8–12: four of five points above the band, after a five-week jump
program begun in week 6.
