Clear Dispatch
A wildfire floods 911. Automation handles the volume; a dispatcher keeps authority.
HackDavis 2026 · Backend · Team of three: Aaditya Desai, Sheel Shah, Harish Thanigaivel · May 2026
Results
- 60 sCall windowsampled every 5 s
- 60 sHeavy-asset holdexplicit confirmation
- < 25 wordsRelay briefingoptionally voiced through ElevenLabs
- 399.2CALL_RECEIVED×7 background
- 335.0MODE_CHANGEDSURGE → ASSISTED · 6 ≤ 10 · +125 s
- 330.8CALL_RECEIVED×5 background
- 281.0UNIT_DISPATCHEDair_tanker · confirmed
- 278.3CALL_RECEIVED×2 background
- 262.0HOLD_REQUIREDair_tanker reserved · 60 s
- 262.0CALL_RECEIVEDheavy asset
Heavy assets (air_tanker, heavy_rescue, hazmat) are reserved and wait up to 60 s for explicit confirmation. A cancel or timeout returns the unit to the pool.
Clock runs at 10×. Background calls follow seeded exponential arrivals. The monitor samples every 5 s.
Why
Where does automation belong in a system whose errors are measured in lives? This wildfire-surge dispatch simulation, built on Park Fire scenario data, lets automation classify synthetic 911 calls and assign response units, keeps every automated step overridable, and blocks heavy assets until a dispatcher confirms. A live dashboard shows the state as it changes.
What I built
I built the entire backend (four pipeline agents, FastAPI routers, WebSocket hub, call simulator, unit and vulnerability data), the ElevenLabs surge-call flow and SOS voice page, the map features and the README.
- Built the whole backend: a four-stage pipeline (MONITOR, TRIAGE, RESOURCE, RELAY), the FastAPI routers, the WebSocket hub, the call simulator, and the unit and vulnerability data.
- MONITOR samples the last 60 s of calls every 5 s and switches from Assisted to Surge above a threshold, then back once load subsides and 120 s have passed. TRIAGE uses Claude Haiku for structured JSON, with a deterministic fallback.
- RESOURCE ranks 20 unit fixtures by Haversine distance. Air tankers, heavy rescue and hazmat emit HOLD_REQUIRED and wait up to 60 s for a human; a cancel or timeout returns the unit to the pool.
- Built the ElevenLabs surge-call flow and an SOS voice page with a QR code, and the map features on a Leaflet mission-control dashboard fed by typed JSON events over one WebSocket.
Built with
Python, FastAPI, WebSockets, React, TypeScript, Leaflet, Claude Haiku, ElevenLabs