Data / tutorials / cs08-lactate-threshold
Tutorial CS-8: Find a lactate threshold, and see if it moved
Tutorial
Apply four threshold rules to two SIMULATED step tests made with the production–clearance model, compare them with the true threshold the model knows, estimate each rule's typical error, and decide whether eight weeks of training moved the threshold.
Files for the tutorial Find a lactate threshold, and see if it moved (https://apopt.com/course/tutorials/cs08-lactate-threshold/). 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 | What it is |
|---|---|---|---|
| clean/steptests_simulated_clean.csv | 459 B | 15 rows | Cleaned copy written by the tutorial |
| expected/printed-output.txt | 3.0 KB | Everything the tutorial prints, cell by cell | |
| raw/steptests_simulated.csv | 508 B | 16 rows | SIMULATED step tests of an invented runner, A (2027-01-11) and B (2027-03-08): one row per 3-minute stage (test, date, stage, speed_kmh, stage_min, lactate_mmol, note); one reading of B is missing |
Every file has its own fixed address: copy a link and load it directly. preview.md shows the first rows of each table as text; datapackage.json lists columns, sizes and checksums.
Preview of raw/steptests_simulated.csv
| test | date | stage | speed_kmh | stage_min | lactate_mmol | note |
|---|---|---|---|---|---|---|
| A | 2027-01-11 | 1 | 10.0 | 3 | 0.7 | |
| A | 2027-01-11 | 2 | 11.0 | 3 | 0.7 | |
| A | 2027-01-11 | 3 | 12.0 | 3 | 0.9 | |
| A | 2027-01-11 | 4 | 13.0 | 3 | 0.8 | |
| A | 2027-01-11 | 5 | 14.0 | 3 | 1.4 | |
| A | 2027-01-11 | 6 | 15.0 | 3 | 2.0 | |
| A | 2027-01-11 | 7 | 16.0 | 3 | 4.1 | |
| A | 2027-01-11 | 8 | 17.0 | 3 | 8.3 |
First 8 of 16 rows.
Data dictionary
| Column | Unit | Meaning |
|---|---|---|
test | — | which test |
date | YYYY-MM-DD | test date (invented) |
stage | count | stage number |
speed_kmh | km/h | treadmill speed for the stage |
stage_min | min | stage length |
lactate_mmol | read to 0.1 | simulated blood lactate at the end of the stage |
note | text | what happened at the stage |
Where it came from
- Source: Simulated with the production–clearance model of Data-Driven Athletics Section 7.4 (prepare.py in the tutorial source)
- Removed: nothing; no real person's data are used
- Permission: Simulated data, published with the course under CC BY 4.0
- Prepared with:
dda/tutorials/build.py
Load it
import pandas as pd
df = pd.read_csv("https://apopt.com/data/tutorials/cs08-lactate-threshold/raw/steptests_simulated.csv")const text = await (await fetch("https://apopt.com/data/tutorials/cs08-lactate-threshold/raw/steptests_simulated.csv")).text();Or download load.py / load.js.
How to cite
Tutorial CS-8: Find a lactate threshold, and see if it moved. IRSRI Sports Research Institute, 2026. Data-Driven Athletics data repository. https://apopt.com/data/tutorials/cs08-lactate-threshold/