# Tutorial CS-2: A step test and a first straight line

Turn a partner's step-test sheet into heart rate and lifting power, fit heart rate against workload, test the line on a stage it has not seen against a mean baseline, and read off a heart rate for easy sessions.

Address: https://apopt.com/data/tutorials/cs02-step-test-line/  
License: CC BY 4.0  
Prepared: 2026-12-03

## Description

Files for the tutorial *A step test and a first straight line* (https://apopt.com/course/tutorials/cs02-step-test-line/). `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 |
|---|---|---|---|
| [clean/steptest_clean.csv](https://apopt.com/data/tutorials/cs02-step-test-line/clean/steptest_clean.csv) | 283 B | 6 rows | Cleaned copy written by the tutorial |
| [expected/printed-output.txt](https://apopt.com/data/tutorials/cs02-step-test-line/expected/printed-output.txt) | 1.5 KB |  | Everything the tutorial prints, cell by cell |
| [raw/steptest_five_stages_synthetic.csv](https://apopt.com/data/tutorials/cs02-step-test-line/raw/steptest_five_stages_synthetic.csv) | 164 B | 6 rows | a partner's step-test sheet, SYNTHETIC; a 30 s resting count and five 3-minute stages on a 0.30 m bench, with the metronome setting, the beats counted, the length of each count and the talk-test answer |

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

## Columns

| column | unit | meaning |
|---|---|---|
| stage | text | rest or stage 1–5 |
| metronome_bpm | beats/min | metronome setting; four beats per step cycle |
| count_s | s | length of the pulse count |
| beats | beats | beats counted in that time |
| talk | yes, yes but, no | talk-test answer at the end of the stage: could the athlete speak comfortably? |

## Provenance

- Source: Data-Driven Athletics tutorials (IRSRI, 2027): a synthetic step-test sheet made by prepare.py from the book's Chapter 2 model; no real person
- Removed: nothing; the data are synthetic
- Permission basis: Published with the course under CC BY 4.0
- Prepared with: dda/tutorials/build.py

## Used in

- Book: [Chapter 2: The Athlete as a System](https://apopt.com/book/ch02-system/)
- Course: [Week 2 lesson](https://apopt.com/course/week/2/)
- Homework H04: [https://apopt.com/course/assess/h04/](https://apopt.com/course/assess/h04/)
- Homework H05: [https://apopt.com/course/assess/h05/](https://apopt.com/course/assess/h05/)

## How to cite

Tutorial CS-2: A step test and a first straight line. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/cs02-step-test-line/

## Load it

```python
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/cs02-step-test-line/raw/steptest_five_stages_synthetic.csv")
```
