Week 12 · Class 23 · Tue, Mar 23
Start from one decision; app structure; getting the numbers right
Chapter 12, Build Your Own Performance App
- Ask (this week)
- Collect
- Check (this week)
- Interpret
- Coach (this week)
- Reassess
- Due today
- P23 Classification and a leakage audit
- Due next class
- P24 Prototype
- Read
- Chapter 12, first half
- Slides
- One Decision, One Screen, the Right Number (27 slides) · script
This class page is being written. The outline below follows the course template; for the full explanation read Chapter 12.
1. The question
A coach says: “My runners record their heart in the morning, and the files sit on their phones. I just want to know whether this morning's file is good enough to use, and what the number is. Can you make me something?” What is the smallest tool that answers that one question?
2. Start from zero
Revisit Week 11 if a term on this page is new; every term links to the glossary.
3. Concept
Start from one decision; app structure; getting the numbers right.
4. Worked example
Case study CS-17 From a notebook to a page an athlete can open (60 min): Move the foot-plant force formula out of a notebook into a JavaScript function that refuses bad input, prove the Python and JavaScript versions agree on normal, missing and invalid cases and on 44 real foot plants, compare a file analysed afterwards with a stream read step by step, and specify the phone page. Every step runs in the page, with a prediction first and the expected output as the check.
5. Try it
Quick tutorials this week: Q-34 A calculation in a web page · Q-35 Three tests: normal, missing, invalid · Q-36 Read a results file in the browser.
Two or three exercises from the chapter's CORE set, with a hint ladder. See the exercise board.
6. Check yourself
Three to five questions with explanations for every option.
Use Lab
Build Lab
Read ahead: B-12 Consolidate: a working app. One decision, a PDF report, tests, privacy by design, user testing.
AI Studio
- Before you ask: write your prediction or attempt. Then ask for a hint, not the answer.
- Prompt: "Act as a skeptical coach. Challenge my interpretation of this result for false precision and missing context. Ask me to predict before you reveal your critique."
- Verify: a known case, the units, an edge case, a baseline, and an explanation in your own words. Log what you used. How to use AI in this course