InteractiveBreakoutsPredict, observe, explainContrasting casesRecall with feedbackAccessibility checks passPublished
Who Stops the Spread? Herd Immunity in a Virus Model
By Cheryl Moy · Medicine and health · Epidemiology · Undergraduate · Simulation of a known property · version 4
Students predict how many people a measles-like virus infects when half the population is vaccinated, then run an agent-based contagion model and a coverage sweep. They find that the unvaccinated stay infected until coverage nears 1 - 1/R0, compare measles with two COVID-19 presets, and break the result with clustered unvaccinated pockets.
Licence: CC BY 4.0
Assumption ledger (14)
- parameterBreakout 1: 900 people, 3 start infected. Each week every infectious person meets 4 people and infects each susceptible one with the chosen chance per meeting.
- parameterBreakout 1 dials: infectiousness 0.01% to 30% per meeting; duration 1 week to 40 years; recovery 0% to 100% per week once the duration has passed; treatment 0% to 5% per week. Starting values: 20%, 2 weeks, 50%, no treatment.
- distributionBreakout 1 default: random mixing, so each meeting is a uniform draw from all 900 people. With Fixed partners on, each person meets only the same 4 grid neighbours.
- simplificationBreakout 1 has no deaths, births, ageing, risk groups, behaviour change or testing; people who recover are immune. Treated people stay in the count of people living with the virus but stop infecting others.
- dataThe reference line at 25% and the 0.7% of adults worldwide are rounded estimates of real HIV prevalence in adults aged 15 to 49 (UNAIDS), used only as an approximate comparison.
- interpretationBreakout 1 step 2 describes HIV in words (lifelong infection, low chance per meeting) and the student chooses the dials; the page accepts infectiousness 1% or less, duration 10 years or more and recovery 0%, and names those settings only after the run.
- interpretationBreakout 1 step 4 accepts any HIV-like setting that ends between 0.7% (world average) and 25% (hardest-hit countries), so a realistic low-prevalence outcome counts.
- interpretationPrediction verdicts state their tolerance: Breakout 1 counts a prediction as right within 15 points of the run result; Breakout 2 within 10 points of the lowest coverage (5% steps, average of 4 seeded runs) that keeps under 15% infected. The Breakout 2 sweep uses the same seeds as the first row of the Test table, so the two agree at the same coverage. These bands are judgement calls.
- parameterBreakout 1 step 5: the student saves two runs (A and B). Each is re-simulated with its own seed out to 80 years; the first 40 years equal the original run. Runs count as agreeing when they differ by at most 5 points at year 40 and use different settings.
- parameterBreakout 2: 900 people on a 30 by 30 grid with wrap-around, 3 initial cases among the unvaccinated, contagious for 4 days, 8 neighbours a day. The chance per contact per day is R0 / 32.
- parameterBreakout 2 scenarios: R0 about 3 (an early COVID-19 estimate) and about 8 (a variant), each with random mixing or with unvaccinated people clustered in one block. Each table row averages 4 seeded runs.
- simplificationBreakout 2: vaccine works for 100% of those vaccinated, immunity never wanes, no age structure, no travel, no hospitals. The threshold 1 - 1/R0 assumes random mixing.
- interpretationA plan passes when fewer than 15% of all 900 people are infected in every scenario row; the same 15% line is used in the step 2 prediction verdict. This cut-off is a judgement call, not a medical standard.
- interpretationThe lessons drawn from COVID-19 are limited to what the model can show: a more infectious variant and pockets of unvaccinated people. Vaccine waning, travel and policy timing are left out.
Checks Breakout not checked · Built-in ✓ · Accessibility ✓
Breakout check
Not checked yet.
Built-in checks 8 of 8 pass
- HIV-like dials, no treatment, random mixing: at least 90% infected within 600 weeks (passes)
- starting dials: the outbreak ends and nobody is left infectious (passes)
- high treatment on HIV-like dials: fewer than 10% ever infected (passes)
- same seed gives an identical run (passes)
- same seed run to a longer horizon matches the shorter run over the shared weeks (passes)
- 100% coverage: nobody is infected (passes)
- R0 3 at 80% coverage, mixed: under 5% infected (passes)
- threshold formula 1 - 1/R0 (passes)
Cite this · History
Cite this
Cheryl Moy (2026). Who Stops the Spread? Herd Immunity in a Virus Model [Interactive model], version 4. Ideas at Play. https://ideasatplay.org/play/who-stops-the-spread-herd-immunity-in-a-virus-model-0e1932?v=4 (CC BY 4.0)
History
- v4Breakout 1 step 2 now describes HIV in words and names the settings only after the run (b1q1 reveal unchanged), and the Breakout 2 prediction sweep now uses the same seeds as the Test table's first row. (generated, Nov 6, 2026)current
- v3Prediction verdicts now state their tolerance (and Breakout 2 uses the same 15% line as the plan check), step 1 no longer describes HIV's mechanism, the step 4 target is widened to 0.7%-25%, step 5 now has saved runs A and B compared out to 80 years, and the text says the Ebola comparison and funding recommendation happen outside the page. (generated, Nov 6, 2026)View
- v2Split the single herd-immunity page into two breakouts: Breakout 1 adds an HIV-style virus model (dials for infectiousness, duration, recovery, plus treatment and fixed partners) that students compare with real-world prevalence, and Breakout 2 recasts the old vaccination model as a stress-test of a pandemic plan against COVID-19 lessons; the earlier five-step run, sweep and cluster steps are replaced and state keys changed accordingly. (generated, Nov 6, 2026)View
- v1First version: agent-based herd immunity model with prediction, run, coverage sweep, disease comparison and clustering break-it, built as the approved plan describes. (generated, Nov 6, 2026)View
Comments
No comments yet.
Sign in to comment or like.