# Tutorial Q-35: Three tests: normal, missing, invalid

Write the three input tests every app must pass, with assert, for a Python copy of the book's resting-heart app, then feed it a real-sized file in the right and the wrong units.

Address: https://apopt.com/data/tutorials/q35-three-tests/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *Three tests: normal, missing, invalid* (https://apopt.com/course/tutorials/q35-three-tests/). `raw/` holds the inputs as the device or app wrote them; `clean/` holds the cleaned copies the tutorial writes; `expected/` holds what a correct run prints and saves, so you can check your own run.

## Files

| file | size | rows | description |
|---|---|---|---|
| [expected/printed-output.txt](https://apopt.com/data/tutorials/q35-three-tests/expected/printed-output.txt) | 268 B |  | Everything the tutorial prints, cell by cell |
| [raw/rest-rr-synthetic.csv](https://apopt.com/data/tutorials/q35-three-tests/raw/rest-rr-synthetic.csv) | 1.4 KB | 331 rows | SYNTHETIC: 331 RR intervals in milliseconds, about 5.4 minutes, with breathing-driven variation and three planted faults |

Large files are stated with their size. A `preview.md` in this folder shows the first rows of each table.

## Provenance

- Source: Data-Driven Athletics tutorials (IRSRI, 2027)
- Removed: nothing; inputs are synthetic, published course data, or the instructor's own
- Permission basis: Published with the course under CC BY 4.0
- Prepared with: dda/tutorials/build.py

## Used in

- Book: [Chapter 12: Build Your Own Performance App](https://apopt.com/book/ch12-app/)
- Course: [Week 12 lesson](https://apopt.com/course/week/12/)
- Homework P24: [https://apopt.com/course/assess/p24/](https://apopt.com/course/assess/p24/)

## How to cite

Tutorial Q-35: Three tests: normal, missing, invalid. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/q35-three-tests/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/q35-three-tests/raw/rest-rr-synthetic.csv")
```
