apopt.com

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

FileSizeRowsWhat it is
clean/steptests_simulated_clean.csv459 B15 rowsCleaned copy written by the tutorial
expected/printed-output.txt3.0 KBEverything the tutorial prints, cell by cell
raw/steptests_simulated.csv508 B16 rowsSIMULATED 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

testdatestagespeed_kmhstage_minlactate_mmolnote
A2027-01-11110.030.7
A2027-01-11211.030.7
A2027-01-11312.030.9
A2027-01-11413.030.8
A2027-01-11514.031.4
A2027-01-11615.032.0
A2027-01-11716.034.1
A2027-01-11817.038.3

First 8 of 16 rows.

Data dictionary

ColumnUnitMeaning
test—which test
dateYYYY-MM-DDtest date (invented)
stagecountstage number
speed_kmhkm/htreadmill speed for the stage
stage_minminstage length
lactate_mmolread to 0.1simulated blood lactate at the end of the stage
notetextwhat 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/