{
  "id": "epidemic",
  "title": "Epidemic Contact Network",
  "category": "Public Health",
  "slug": "epidemic-contact-network",
  "subtitle": "Population transmission evolves under adjustable contacts and duration",
  "description": "The basic reproduction number approximates expected secondary infections in a fully susceptible population.",
  "params": [
    {
      "id": "probability",
      "label": "Transmission per contact",
      "min": 0.01,
      "max": 0.2,
      "step": 0.01,
      "value": 0.08,
      "unit": ""
    },
    {
      "id": "contacts",
      "label": "Daily risky contacts",
      "min": 1,
      "max": 15,
      "step": 1,
      "value": 7,
      "unit": "/day"
    },
    {
      "id": "duration",
      "label": "Infectious duration",
      "min": 2,
      "max": 15,
      "step": 1,
      "value": 6,
      "unit": "days"
    },
    {
      "id": "vaccinated",
      "label": "Initially immune fraction",
      "min": 0,
      "max": 0.7,
      "step": 0.05,
      "value": 0.2,
      "unit": ""
    },
    {
      "id": "population",
      "label": "Population",
      "min": 60,
      "max": 240,
      "step": 20,
      "value": 120,
      "unit": "people"
    }
  ],
  "output": "Basic reproduction number",
  "outputUnit": "cases",
  "formula": "R₀ = p × contacts/day × duration",
  "notes": "Homogeneous-mixing approximation; vaccination affects the initial effective reproduction number, not R₀.",
  "seed": "10257097936052030287",
  "batchSeed": "2674396715534941479",
  "difficulty": "GCSE–undergraduate",
  "language": "en-GB",
  "technology": "offline WebGL2 ES modules",
  "integration": {
    "urlPath": "/public-health/epidemic-contact-network/",
    "entry": "index.html",
    "assets": [
      "assets/apparatus.glb"
    ],
    "seoDescription": "The basic reproduction number approximates expected secondary infections in a fully susceptible population.",
    "keywords": [
      "Public Health",
      "epidemic",
      "3D",
      "interactive",
      "virtual lab"
    ]
  },
  "challengeGenerator": {
    "total": 10,
    "numeric": 6,
    "multipleChoice": 4,
    "seed": "cryptographically random session + original 64-bit lab seed",
    "grading": "formula-derived answers, 2.5% relative tolerance with 0.015 absolute floor; -1 exact for unreachable routes",
    "hints": true,
    "explanations": true,
    "regenerate": true
  },
  "features": {
    "webgl2": true,
    "webgl2ShaderLighting": true,
    "procedural3D": true,
    "localGLB": true,
    "orbitZoom": true,
    "touchAndKeyboard": true,
    "drag3DProbe": true,
    "liveCalculatedReadout": true,
    "parameterResponseGraph": true,
    "pausePlaySpeedReset": true,
    "csvExport": true,
    "screenshot": true
  },
  "assetGeneration": {
    "source": "trimesh Python procedural modeling",
    "nativeThreeR160": false,
    "authoredInBlender": false,
    "assetFile": "assets/apparatus.glb",
    "format": "binary glTF 2.0"
  }
}
