Simulated laboratory network

How ProDrome works

ProDrome looks for unusual changes in weekly laboratory data and tells the right person. The same rules run on every dataset. They live in one versioned file, configs/scoring/v2-balanced.json.

  1. 1 · Laboratories send weekly totals

    Each laboratory reports totals for the week: tests done, positive results, time to result, samples waiting, failed quality checks, and the share of expected reports that arrived.

  2. 2 · ProDrome learns what is normal

    For each location and each measure, ProDrome takes the median of the past 52 weeks as the normal level. It needs at least 12 weeks of history. The median keeps this level steady when a few weeks are unusual.

  3. 3 · It scores each new week

    It measures how far the week is from normal, how fast the change builds, how long it lasts and how many measures move together. The result is a risk score from 0 to 1. A week above 0.58 with a measure far from normal is a signal.

  4. 4 · It raises an alert when the pattern holds

    An alert needs 2 signals in a row, plus a second independent measure or another location with a signal in the same week. A single strong change needs 4 weeks. A reporting gap needs 3 weeks. One episode gives one alert.

  5. 5 · A person reviews

    The alert explains what changed and suggests who should act. A reviewer records the checks done, marks the alert verified or dismissed, and records the response.

Why it waits before alerting

Weekly laboratory numbers go up and down for many reasons, such as a testing campaign, a public holiday or a late report. ProDrome waits for the pattern to hold, or for a second sign, and this keeps false alarms low.

What each alert shows

Every alert lists the measures that moved, their values, their normal levels, how many weeks the change lasted and which other locations agreed. Anyone can trace an alert back to its weekly numbers.

Glossary

Signal
A week in which a measure moved far from its normal level. ProDrome marks it on the charts and keeps watching.
Alert
A pattern of signals that holds. ProDrome raises one when a change lasts two weeks and a second measure or another location agrees, or when a strong change lasts four weeks. A person reviews every alert.
Verified or dismissed
After review, an alert is verified when the change is real and needs a response. It is dismissed when the reviewer finds a cause that needs no response, such as a testing campaign or a data error.
Risk score
A number from 0 to 1. It combines the size of the change, how fast it builds, how long it lasts and how many measures move together.
Baseline (normal level)
The median of the same measure at the same location over the past 52 weeks. ProDrome compares each new week with it.
Persistence
The number of weeks in a row with a signal. A longer run makes an alert more likely.
Corroboration
Agreement from a second source: another measure at the same location, or a signal at another location in the same week.
Data quality
Checks on each weekly record, such as a missing date, a negative count or more positives than tests. A flagged record adds less to the risk score.
See these rules in a guided example