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

> Hedengren, J. (Ed.) (2027). Appendix G: Course Project Handbook. In *Data-Driven Athletics: Measuring, Modeling and Coaching Human Performance with Video and Wearable Data* (pp. 498–503). IRSRI Sports Research Institute. CC BY 4.0.

# G Course Project Handbook

\providecommand{\ddaweight}[2]{#2%}

The course project is the place where the whole pathway runs once, end to end,
for a real person. A team of three to four students builds an app, or a
substantial new capability in an existing app, that helps *one user* make
*one decision*. Teams form in Class 19 (Week 10). The work is handed in at
six checkpoints that ride on the homework from P20 to P27, and it ends with a
final package and the Week 14 showcase: an 8-minute demonstration and 4 minutes
of questions.

This appendix is the handbook for that work: the brief, the checkpoints, the
deliverables, the leakage audit, how the project is graded, an outline for the
report, team roles, and the contribution and peer statements.

## G.1 The Brief

Build a tool that a named person could use, this season, to make a decision
they make now by guesswork. The tool must:

- answer **one question for one user**, written as a decision
  (Chapter 1): “Should Maya's step-rate cue stay, or change, after
  this week's retest?” rather than “analyze running form”;

- take **real input**: a video, a watch archive, a chest-strap
  recording, a phone sensor log or a training log, from you, a consenting
  teammate, the instructor's data or a case file;

- **check its number** against a second route: a hand calculation, a
  free reference such as a tape, a metronome or a hand count, or a second
  device, and state the typical error (Chapter 14);

- **say how sure it is** in words an athlete understands
  (Chapter 13);

- **keep data on the device**, with no accounts and no upload
  (Section 12.5);

- make **training claims only**: no diagnosis, clearance or injury
  prediction.

\paragraph{What counts as substantial.} A new app built from your B-1 to B-11
steps counts. So does a new capability in one of the course's open apps, if it
adds a measurement, a check or a report the app does not have, with its own
tests. A restyled page, a second chart of a number the app already shows, or a
model trained but never put in front of a user does not count.

\paragraph{Examples of a good scope.} A retest page for a distance coach that
says whether a runner's cadence changed by more than the smallest worthwhile
change. A morning-recording checker that tells a rower whether today's strap
file is clean enough to use. A trial table for a volleyball team's approach
jumps with the median, spread and a retest date. A start-timing tool that
reports the frame-rate uncertainty beside every split. Each names a user, a
decision, an input and a check.

\paragraph{Data you may use.} Your own data; a teammate's or an athlete's with
written consent on the forms of Appendix E; the
instructor's data; the case files; and open data sets with a license that
allows it (Appendix I). Data from minors need a
guardian's consent and the athlete's assent, and no image of a minor leaves the
team. Class projects are teaching, not research: a team that wants to publish
needs the institution's research review before it collects anything.

## G.2 Timeline and Checkpoints

The project runs through Weeks 9 to 14. Table G.1
shows where it sits in the homework; six of the assignments carry a checkpoint,
which the instructor reviews and returns with comments before the next one is
due. A checkpoint is graded as part of its homework assignment with the rubric
of the Course Guide.

*Table G.1. The project in the homework. The checkpoints are in bold.*

| **Week** | **Homework** | **Class** | **Project work** |
|---|---|---|---|
| 9 | P19 | 19 | Project pitch: two slides (user, decision, data). Teams form in class. |
| 10 | P20 | 20 | **Checkpoint 1: scope and plan** |
| 10 | P21 | 21 | Data audit and descriptive plots of the project data |
| 11 | P22 | 22 | **Checkpoint 2: baseline** |
| 11 | P23 | 23 | First leakage audit (Section G.4) |
| 12 | P24 | 24 | **Checkpoint 3: prototype** |
| 12 | P25 | 25 | **Checkpoint 4: user test** |
| 13 | P26 | 26 | **Checkpoint 5: release candidate** |
| 14 | P27 | 27 | **Checkpoint 6: final package** and the Week 14 showcase |

### Checkpoint 1: Scope and plan (P20, Class 20)

\addcontentsline{toc}{subsection}{Checkpoint 1: Scope and plan}
\appGfield{Hand in} two to three pages and a team agreement.

- The one-page specification of Section 12.1: user,
  question, input, one screen, output, rules, a test with a hand-worked answer,
  and what the tool will not do.

- The user need in the user's own words, from a conversation you had with
  them, and the decision it serves.

- The success measure: what result, by the showcase, would show the tool
  works? Name the number and the check (for example, “cadence within 1 step a
  minute of a metronome count on five clips”).

- The data plan: sources, who is recorded, consent and media releases
  needed, where files are stored, when they are deleted, and the case-file
  fallback if a person withdraws.

- Roles (Section G.9) and a schedule to the
  showcase.

- Risks: the two things most likely to stop the project, and what you will
  do if they happen.

### Checkpoint 2: Baseline (P22, Class 22)

\addcontentsline{toc}{subsection}{Checkpoint 2: Baseline}
\appGfield{Hand in} a notebook and one page.

- The cleaned data with its data dictionary, provenance and change log
  (from P21).

- The typical error of your measurement from a test and retest, and the
  smallest worthwhile change you will use, set before you look at the outcome
  (Section 11.1).

- A simple baseline that a coach could compute without you: the athlete's
  own mean, the last value (a persistence baseline), or the most common class.

- If the project uses a model, the model against that baseline on a
  held-out plan that matches the use: split by athlete for new athletes, by time
  for the same athletes later (Section 11.7).
  A model that cannot beat the baseline is a finding; report it.

### Checkpoint 3: Prototype (P24, Class 24)

\addcontentsline{toc}{subsection}{Checkpoint 3: Prototype}
\appGfield{Hand in} a link to the running app and its source.

- The app runs end to end on sample input: file in, result and chart on
  screen, a summary out (build step B-12).

- Three tests pass with `npm test`: *normal* input with a
  hand-worked answer, *missing* values (a gap, an empty column, a short
  file), and *invalid* input (wrong units, text in a number column, the
  wrong file type), each with the behavior you chose and wrote down.

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

### Checkpoint 4: User test (P25, Class 25)

\addcontentsline{toc}{subsection}{Checkpoint 4: User test}
\appGfield{Hand in} the test log and a list of changes.

- A structured test with at least two users who did not build the app (five
  if you can, Section 12.8), three tasks given as goals,
  with the protocol of Appendix E (P17).

- The log: hesitations, wrong taps, misreadings, whether each task was
  finished, and how long it took.

- The changes, in priority order, with the problem each one fixes; the
  first two made before Checkpoint 5.

- A privacy check: the browser's Network panel shows no upload of the
  user's file, and the page says so.

### Checkpoint 5: Release candidate (P26, Class 26)

\addcontentsline{toc}{subsection}{Checkpoint 5: Release candidate}
\appGfield{Hand in} a tagged version of the app and a two-page error analysis.

- The report in the app (build step B-13): a one-page report with one
  finding, its uncertainty in words and numbers, one recommendation and a
  retest date (Chapter 13).

- The report delivered to the user, and their response in their own words.

- An error analysis: where the tool is wrong and by how much, on the cases
  you checked; the worst case and why; what it should not be used for.

- The leakage audit, final version.

- The version frozen: from here, only fixes.

### Checkpoint 6: Final package (P27, Class 27)

\addcontentsline{toc}{subsection}{Checkpoint 6: Final package}
\appGfield{Hand in} the deliverables of
Section G.3 and present at the showcase.
Work through the build step B-14 checklist (Exercise 14.8)
first, and bring its evidence.

## G.3 Deliverables

The final package is one folder, or one repository, with a README at the top
that lists where each item is.

- **A runnable app**: the link to the published app, and the version
  number and date shown in its footer.

- **Source and environment notes**: the source code, and a README that
  says how to install, build, test and publish it, with the versions of Node.js
  and of each library.

- **Sample data or an access procedure**: a de-identified or synthetic
  example file that runs in the app, or, where the data cannot be shared,
  instructions for getting equivalent data (for example, the case-file address).

- **A data dictionary**: every field the app reads or writes, with its
  meaning, unit, type, allowed range and missing-value code
  (Appendix F), plus the provenance of each data source
  and the change log of your cleaning.

- **Tests and evaluation**: the test suite and its output; the
  checks against a second route; the baseline comparison; the user-test log;
  the error analysis; the leakage audit.

- **An AI-use log**: the tools used, for what, and what you checked or
  changed (Section A.5), with a one-paragraph AI-use
  statement in the report.

- **A report of 4 to 6 pages**, outlined in
  Section G.8.

- **A one-page user guide** for the user, not for the grader: what the
  tool is for, how to record the input, how to read the result, what it cannot
  tell you, and what to do if the result looks wrong.

- **An 8-minute demonstration** at the showcase, with slides, followed by
  4 minutes of questions, ending with an answer to “how good is the number?”

- **Contribution and peer statements**
  (Section G.10).

## G.4 The Leakage Audit

Leakage is information in the training data that would not be there when the
tool is used for real, and that makes a test score look better than the tool
is. Section 11.7 shows the size of the effect on
real running data: a model that explained 92% of the variance with a random
split of steps explained 12% for runners it had not seen. Every project that
reports a model's accuracy, a threshold, a classifier or a forecast hands in a
written leakage audit. Answer each question in
Table G.2 with a sentence and the evidence: a line
of code, a count, or a table of which athletes and days are in which set.

*Table G.2. The leakage audit. A “yes” to any of questions 3 to 9 needs a fix or a stated limit in the report.*

|  | **Question** | **Evidence to show** |
|---|---|---|
| 1 | Who will the tool be used on: new athletes, or the same athletes later? | One sentence from the spec |
| 2 | What is the split, and does it match question 1 (by athlete, or by time)? | The splitting code |
| 3 | Does any athlete, session or video appear on both sides of the split? | A count of shared IDs (it should be 0) |
| 4 | Were scaling, feature selection, thresholds or imputation fitted on all the data before splitting? | Where each is fitted |
| 5 | Are there duplicated rows, or the same trial stored twice? | The duplicate count before and after |
| 6 | Does a feature contain the answer, or a value known only after the decision (speed when the label is “fast”, the race result in a pre-race model)? | The feature list, with the time each is known |
| 7 | Are neighboring frames, steps or seconds split at random? | The unit of the split |
| 8 | Were settings tuned by looking at the test set? How many times was it used? | The tuning loop; the number of test runs |
| 9 | For a forecast, does any input come from after the time being forecast? | The window ends, in dates |
| 10 | Is the baseline scored on the same split as the model? | Both scores in one table |

Write the audit first at P23 and again at Checkpoint 5. The second version
states the number the report will use, the split behind it and the baseline's
number on the same split. If your project has no model, say so in one line and
answer questions 4 to 6 for any threshold or rating your app applies.

## G.5 The Showcase

The project ends at the Week 14 showcase in Class 27. Each team gives an
8-minute demonstration of its app, then takes 4 minutes of questions; every team
member speaks or answers. Who else attends is on the This Term page. A good
demonstration does four things in order: names the user and the
decision; shows the app working on a real file, live, on a phone if that is how
the user will use it; shows the check that makes the number trustworthy, with its
typical error; and ends with what the user did, or will do, because of it.
Bring the example file, a second device, and a recording of the demonstration in
case the room's network fails.

## G.6 Where Projects Go Wrong

The same problems recur. Most of them are visible at a checkpoint, which is what
the checkpoints are for.

- **Too much.**  Ten metrics, three users and a dashboard, none of them checked.
  Cut to the one decision; the “will not do” line is your friend.

- **No user.**  A tool built for “athletes” in general. Find one person and
  talk to them before Checkpoint 1.

- **No data until Week 13.**  Collect at P20, even a little, so the data audit
  at P21 has something real to find.

- **The number is never checked.**  Every reported number needs its second
  route. A model's score is not a check of the measurement it was trained on.

- **A perfect score.**  A model that is too good usually leaks
  (Section G.4).

- **Tests that pass and a blank screen.**  Look at the page after every change,
  on a phone (Chapter 12).

- **A claim the tool cannot support.**  “Injury risk”, “readiness” or
  “fatigue” from one number. Say what the number is, and what it is not.

## G.7 Grading

The project counts for \ddaweight{project}{30} of the course grade (Course Guide;
confirmed on the This Term page). The checkpoint work in P20 to P26 is graded
as homework. The final package is graded with the same four criteria as every
assignment:

| **Criterion** | **Points** | **In the project, mainly from** |
|---|---|---|
| Method and correctness | 40 | the app's numbers, tests, checks and baseline |
| Reproducibility and data handling | 25 | README, sample data, data dictionary, consent |
| Interpretation and limitations | 25 | error analysis, leakage audit, report |
| Presentation and AI disclosure | 10 | user guide, demonstration, AI-use log |

The team receives one package grade. Each member's project grade is that grade,
adjusted where the contribution and peer statements show a clearly unequal
share of the work; the This Term page gives the rule for the adjustment and the
split between the package and the showcase.

## G.8 Report Outline

Four to six pages, not counting references and the appendix. Write for a reader
who knows the course but not your project, and put the answer first.

- **Title and summary.** The title states the finding. Three sentences:
  the user and decision, what the tool does, and how good its number is.

- **The user and the decision.** Who uses it, what they decide, and
  what they did before.

- **Data.** Sources, who was recorded and with what consent, the
  protocol, a summary of the data dictionary, provenance, and the cleaning
  steps from the change log, with the number of rows or trials kept and dropped.

- **Method.** The measurement and how it is computed; the check
  against a second route; for a model, the features, the split, the baseline
  and the leakage audit's answer to questions 1 and 2.

- **The app.** The one screen, the report, and what stays on the
  device. One figure of the screen.

- **Results.** Each number with its uncertainty and units, against the
  smallest worthwhile change and against the baseline. One chart per point
  (Section 4.7).

- **Evaluation.** Tests, user test findings and the changes they
  caused, the error analysis.

- **Limitations.** What the tool cannot show, the people and settings
  it was not tested on, and what it must not be used for.

- **Recommendation and reassessment.** What the user should do next,
  and when to measure again.

- **AI-use statement.** Tools, tasks and what you checked.

- **References**, every one opened.

**Appendix:** the contribution statement and the leakage audit table.

## G.9 Team Roles

Every member writes code and every member writes part of the report. Roles say
who is *responsible* for an area: who makes sure it is done and who answers
for it at a checkpoint. A team of four takes one role each; a team of three
merges the last two.

- **Product lead.**  Owns the user and the decision: the spec, the user
  conversations, the user test, the user guide and the scope (the “will not
  do” line).

- **Data lead.**  Owns the data: consent forms, protocols, storage and deletion,
  the data dictionary, provenance and the change log.

- **Analysis lead.**  Owns the numbers: the check against a second route, the
  typical error, the baseline, the model and the leakage audit.

- **App lead.**  Owns the build: the repository, the tests, publishing, the
  version in the footer and the Network-panel check.

At Checkpoint 1 the team signs a short agreement: the roles, how often
you meet, how you decide when you disagree, how work is shared on the repository,
and what happens when someone misses a deadline. Raise problems with the
instructor early; the agreement is the first thing the instructor will ask to see.

## G.10 Contribution and Peer Statements

\paragraph{Contribution statement (team, in the report's appendix).} One row per
member: their role, the parts of the code, data and report they did, and the
checkpoints they presented. Every member reads and agrees to it before it is
handed in. Commit history in the repository supports it but does not replace it,
because data collection, user tests and writing do not show up as commits.

\paragraph{Peer statement (individual, confidential).} Each member hands in, on
their own, one short paragraph for each teammate and for themselves: what the
person contributed, one thing they did well, and whether the share of work was
about equal. The instructor reads these; teammates do not see them. They are
used to adjust grades only when they agree with the other evidence
(the contribution statement, the checkpoints, the repository).

> **Limits and cautions: People's data in a team.**
> 
> A teammate's recording is that teammate's data. Ask before you use it in a
> chart, a slide or a test file, even inside the team, and use study codes, not
> names, in every file. At the end of term, delete raw files on the date the
> consent form gives (Appendix E).
