{
 "name": "tutorial-cs02-step-test-line",
 "title": "Tutorial CS-2: A step test and a first straight line",
 "description": "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.",
 "homepage": "https://apopt.com/data/tutorials/cs02-step-test-line/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "case study",
  "step test",
  "heart rate",
  "regression",
  "hold-out",
  "talk test"
 ],
 "resources": [
  {
   "name": "clean-steptest_clean.csv",
   "path": "clean/steptest_clean.csv",
   "url": "https://apopt.com/data/tutorials/cs02-step-test-line/clean/steptest_clean.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 283,
   "hash": "sha256:adf1dab728ddbed44a488d93251004d9274748a2779f3bc17d81bda00839b08d",
   "description": "Cleaned copy written by the tutorial",
   "rows": 6,
   "schema": {
    "fields": [
     {
      "name": "stage",
      "type": "string",
      "unit": "text",
      "description": "rest or stage 1–5"
     },
     {
      "name": "metronome_bpm",
      "type": "number",
      "unit": "beats/min",
      "description": "metronome setting; four beats per step cycle"
     },
     {
      "name": "count_s",
      "type": "number",
      "unit": "s",
      "description": "length of the pulse count"
     },
     {
      "name": "beats",
      "type": "number",
      "unit": "beats",
      "description": "beats counted in that time"
     },
     {
      "name": "talk",
      "type": "string",
      "unit": "yes, yes but, no",
      "description": "talk-test answer at the end of the stage: could the athlete speak comfortably?"
     },
     {
      "name": "rate_cpm",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "power_W",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "hr_bpm",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/cs02-step-test-line/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 1529,
   "hash": "sha256:f36c37abedd6fd92218f4ae2ffb4ca2671db48d6f15cbb1e5f3cc18070dae479",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-steptest_five_stages_synthetic.csv",
   "path": "raw/steptest_five_stages_synthetic.csv",
   "url": "https://apopt.com/data/tutorials/cs02-step-test-line/raw/steptest_five_stages_synthetic.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 164,
   "hash": "sha256:b7e0ab0a6411b045d7ca53aae15b72bcaad00ae0906838b237399f0663d3a171",
   "description": "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",
   "rows": 6,
   "schema": {
    "fields": [
     {
      "name": "stage",
      "type": "string",
      "unit": "text",
      "description": "rest or stage 1–5"
     },
     {
      "name": "metronome_bpm",
      "type": "number",
      "unit": "beats/min",
      "description": "metronome setting; four beats per step cycle"
     },
     {
      "name": "count_s",
      "type": "number",
      "unit": "s",
      "description": "length of the pulse count"
     },
     {
      "name": "beats",
      "type": "number",
      "unit": "beats",
      "description": "beats counted in that time"
     },
     {
      "name": "talk",
      "type": "string",
      "unit": "yes, yes but, no",
      "description": "talk-test answer at the end of the stage: could the athlete speak comfortably?"
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "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"
  }
 ]
}
