RoundsCorrowmere Clinics · Estmark synthetic data · seed 23

The Rounds world

Everything Rounds runs on is synthetic. A seed builds one DuckDB file in about five seconds; the same seed always builds the same world. Seed 7 is used for development, seed 11 as a second tuning seed, and seed 23 is the hold-out that the headline numbers come from. No real data, company, place or person is in it: the clinic group, its country, towns, people and hospitals are made from word lists.

.venv/bin/python -m rounds.world.generate --seed 23 --out data/rounds-seed23.duckdb --stats

The group

Corrowmere Clinics runs 40 outpatient clinics in 7 regions of an invented country, Estmark. A clinic is a small "Clinic" or a larger "Health Centre"; larger ones are busier, hold more specialties and some open on Saturday mornings. Twelve specialties: general practice in every clinic, the other eleven (cardiology, dermatology, orthopaedics, endocrinology, gastroenterology, neurology, ophthalmology, ear nose and throat, gynaecology, respiratory medicine, rheumatology) each in about half of them.

The clock is the group's own. The world ends at Monday 16 November 2026, 13:00, the end of the busiest window (Monday 08:00 to 13:00). The diary runs 90 days back and three weeks ahead, the way a real diary holds bookings before they happen.

Counts on seed 23

From python -m rounds.world.generate --seed 23 --out data/rounds-seed23.duckdb --stats:

tablerowswhat it holds
regions7name and postcode prefix
clinics40region, town, Saturday opening, lead clinician
specialties12slot length, share of procedures, lab order rate
clinicians600general practitioners, consultants and nurse practitioners, each at one clinic
rooms579consulting rooms and one treatment room per clinic
sessions58,528half-day lists (08:00-12:30, 13:30-17:30, Saturday 08:30-12:30), planned leave cancelled weeks ahead
absences3,564planned leave and sick days, with the time each was reported
patients180,037registered at a home clinic; name, birth date, sex, phone, postcode; merges recorded
appointments441,192booked, cancelled, checked in, no-show and completed times, room, session, kind
referrals52,704general practitioner to specialty, urgent or routine, invite sent, booked
discharges936hospital discharges asking for a follow-up within 7 or 14 days
lab_orders129,091tests ordered at an appointment, with the specimen and when the order closed
results128,839value, reference range flag, how it was filed (barcode or by hand), acknowledgement
authorisations11,785prior authorisations for procedures and repeat prescriptions, expiry and renewal
consents46,671signed consent per procedure, or one consent for a course
waitlist7,856patients waiting for a slot per clinic and specialty
messages789,568booking confirmations, day-before reminders, CANCEL replies
incidents_truth293the answer key (below)

How the diary behaves

The ten planted incident kinds

Each kind is planted by the generator (rounds/world/faults_*.py), recorded in incidents_truth with when it became visible, when (if ever) it was put right, its root cause and the correct handling, and caught by one dictionary definition. "In week" is the replayed week (Tuesday 08:00 to Monday 13:00) on seed 23.

kindplantedin weekwhat goes wrongcorrect handlingdetector
abnormal_result_unacknowledged6626an abnormal or critical result past its rule's hours with no acknowledgementescalate to the on-call doctor (tier 2)cheap
referral_not_booked4722a referral unbooked 2 days (urgent) or 10 days (routine) after it was sentoffer a slot, or remind about an unanswered invitecheap
no_show_cascade1775 to 9 late cancellations at one clinic in 90 minutes for slots later that day, waitlist waitingoffer the freed slots to the waitlistsubtle: ordinary late cancellations cluster too
double_booking3012a second live booking on the same clinician, or an ad-hoc procedure in a room in usemove it to a free room or colleague, else offer a new slotcheap
authorisation_expiring1616a prior authorisation or repeat prescription running out before the appointment that needs itask the prescriber for a renewalcheap
post_discharge_followup_overdue2914a discharge notice with nothing booked three days lateroffer a follow-up slotcheap
duplicate_patient3212a patient registered a second time; plus genuine namesakes that are not duplicatesmerge (tier 2; a person checks)subtle: namesakes
consent_missing1818a procedure booked well ahead with no signed consent 72 hours beforesend the consent formcheap
clinician_sick_full_list166a clinician rings in sick with six or more patients still booked todaymove the list to colleagues, or cancel and rebook (tier 2)cheap
result_misfiled2210a hand-filed result put on a namesake's record; the real patient's order stays openre-file it (a person checks when only the name matches)subtle: some labels name the wrong clinic, some correct filings look alike

Older plants (before the replayed week) were put right by the baseline staff, late; plants inside the week are mostly left open, and the operator meets them as they appear.

Decoys the detectors have to live with

What the world does not do