{
 "name": "tutorial-q34-calc-web-page",
 "title": "Tutorial Q-34: A calculation in a web page",
 "description": "Write the foot-plant force formula in Python and in JavaScript, run both on three hand-checked cases, and confirm they give the same numbers.",
 "homepage": "https://apopt.com/data/tutorials/q34-calc-web-page/",
 "licenses": [
  {
   "name": "CC BY 4.0",
   "path": "https://creativecommons.org/licenses/by/4.0/"
  }
 ],
 "created": "2026-12-03",
 "keywords": [
  "tutorial",
  "quick tutorial",
  "app",
  "JavaScript",
  "Pyodide",
  "testing",
  "running",
  "force"
 ],
 "resources": [
  {
   "name": "clean-force_js.csv",
   "path": "clean/force_js.csv",
   "url": "https://apopt.com/data/tutorials/q34-calc-web-page/clean/force_js.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 97,
   "hash": "sha256:e233478bdb43d4d39d03d47f6b5cfc54167ec5dddb89296fe85748e3e283bfb8",
   "description": "Cleaned copy written by the tutorial",
   "rows": 3,
   "schema": {
    "fields": [
     {
      "name": "case",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "js_bw",
      "type": "number",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  },
  {
   "name": "expected-check_force.mjs",
   "path": "expected/check_force.mjs",
   "url": "https://apopt.com/data/tutorials/q34-calc-web-page/expected/check_force.mjs",
   "format": "mjs",
   "mediatype": "application/octet-stream",
   "bytes": 386,
   "hash": "sha256:31767943aacc05d2e0d6cc3a52639b516bf94043966aa2a90dd7c4462e874f16",
   "description": "Output a correct run produces (compare with yours)"
  },
  {
   "name": "expected-force.mjs",
   "path": "expected/force.mjs",
   "url": "https://apopt.com/data/tutorials/q34-calc-web-page/expected/force.mjs",
   "format": "mjs",
   "mediatype": "application/octet-stream",
   "bytes": 102,
   "hash": "sha256:f4f569461c9d45256889687f5e4895556a0a1ece89797409bd85566a3c864234",
   "description": "Output a correct run produces (compare with yours)"
  },
  {
   "name": "expected-printed-output.txt",
   "path": "expected/printed-output.txt",
   "url": "https://apopt.com/data/tutorials/q34-calc-web-page/expected/printed-output.txt",
   "format": "text",
   "mediatype": "text/plain",
   "bytes": 538,
   "hash": "sha256:d345333fdcf97b8ffbc4c7ed0571017b2c2cffc8485e85e2b520ff952c028d6d",
   "description": "Everything the tutorial prints, cell by cell"
  },
  {
   "name": "raw-test_cases.csv",
   "path": "raw/test_cases.csv",
   "url": "https://apopt.com/data/tutorials/q34-calc-web-page/raw/test_cases.csv",
   "format": "csv",
   "mediatype": "text/csv",
   "bytes": 244,
   "hash": "sha256:e847606f719c955240e0f6609a4b025ade4229d4e7454981f910db9e07a19221",
   "description": "three typed test cases (contact and flight time in seconds), not a recording: two from the book's running examples and one short sprint contact",
   "rows": 3,
   "schema": {
    "fields": [
     {
      "name": "case",
      "type": "string",
      "unit": null,
      "description": null
     },
     {
      "name": "contact_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "flight_s",
      "type": "number",
      "unit": null,
      "description": null
     },
     {
      "name": "source",
      "type": "string",
      "unit": null,
      "description": null
     }
    ],
    "missingValues": [
     ""
    ]
   }
  }
 ],
 "sources": [
  {
   "title": "Data-Driven Athletics tutorials (IRSRI, 2027)"
  }
 ]
}
