Applied statistics · validated against a real pandemic
An implementation of the Farrington outbreak-detection algorithm, run against the UK's full real COVID-19 case history — and checked against what actually happened.
Weeks evaluated
333
Real alarms raised
28
Years of real data
6.5
Waves missed
0
United Kingdom, 2020-01-09 to 2026-07-16 — every documented UK COVID wave in this window was flagged.
01 · The specific check this project set out to run
The Omicron wave hit the UK harder and faster than anything before it — real cases went from a few hundred thousand a week to over 1.5 million in a month. Here's the algorithm's own baseline expectation, threshold, and alarm points, laid directly over what actually happened.
United Kingdom, October 2021 – February 2022
Weekly confirmed cases · algorithm's expected range vs. what was actually observed
Peak alarm: week of 2022-01-06, observed 1,502,832 weekly cases against an algorithm-expected baseline of 375,567 — a real, correctly-flagged 4.0× the expected range, at the real historical peak of the wave.
02 · The full picture
Zooming out to the entire real case history: every red marker below is a week the algorithm actually flagged, run once, with no per-wave tuning. Hover any point for the exact numbers.
United Kingdom, full real case history
2020-01-09 to 2026-07-16 · 341 real weekly data points
Six distinct alarm clusters, each corresponding to a real, independently documented UK wave: the first wave (Mar–Apr 2020), the second wave (Oct–Nov 2020), the Alpha winter wave (Dec 2020–Jan 2021), the "Freedom Day" Delta surge (Jul 2021), Omicron (Dec 2021–Jan 2022), and two smaller real upticks in autumn 2023 and autumn 2025.
03 · How it actually works
Every alarm above carries the full reasoning behind it, not a bare flag:
Full source, tests, and the exact numbers behind every claim on this page: github.com/khalilurrrahmanridoykhan/onehealth-platform/outbreak-signal-detector