93% vs 56%right family in the top 5, vs clipboard search
01The problem
Why it exists
Every season, elderly pilgrims are separated from their groups in some of the densest crowds on Earth, often without a phone or a shared language. Lamm puts a QR wristband on each pilgrim: anyone can scan it with a normal camera, the page opens in their own language, and the group leader sees where the pilgrim is within seconds. If nobody answers, the alert escalates to the deputy and then to a help centre, where people found without a wristband are matched to missing reports by description.
02The system
What I built
Wristband scanfinder page, 9 languages
Group objectroster, incidents, timers
Escalating alertslive and push
Help-desk matchingexplained scores, no faces
Reunitedone alert per pilgrim
A 3.6 KB finder page in 9 languages (including Urdu, Bengali and Persian, right-to-left where needed) that queues offline and shows calming phrases in the pilgrim's language
One Durable Object per group holding roster, incidents, escalation timers and live WebSocket dashboards, so scans, acknowledgements and escalations never race
Help-desk matching by log-likelihood record linkage over age, language, clothing, conditions, place and time, with every score explained and no faces or biometrics
A matching evaluation, a Monte Carlo model of reunion times, and a load test that checks exactly one alert per pilgrim under duplicate and concurrent scans
Product-ready: passkey accounts with roles, push alerts with the page closed, Arabic dashboards, retention enforced per organisation, a PDPL-minded privacy notice, staging and production, uptime and error monitoring, and Playwright and accessibility tests on every change
03The result
What it achieved
People found without a wristband: right family in the top 5 for 93% (56% for a clipboard search), and 66% vs 14% even with poor descriptions and 2,000 open reports. Modelled median time to reunite falls from 81 to 52 minutes, with 64% reunited within an hour instead of 20%. Live load test: 0 errors and exactly one incident per pilgrim.
Stack
TypeScriptCloudflare Durable ObjectsWebSocketsRecord linkageMonte Carloi18n · RTLPasskeysWeb PushPlaywrightPrivacy by design