Civilian Evacuation Risk Platform · NYU Ethical CoLab
A single FastAPI application unifying three civilian-evacuation risk tools:
| Tab | Origin | What it does |
|---|---|---|
| Crisis Map | EII (Evacuation Inform Index) | Interactive world map of INFORM Severity Index crises with live Tavily news + ACLED conflict timeline per country |
| Scenario Model | ERCF (Evacuation Risk Classification Framework) | 7-dimension risk scoring, resource requirements, cost-of-staying vs cost-of-evacuating, scenario CRUD |
| Risk Assessment | CERAI (Civilian Evacuation Risk Anticipation Index) | Endangerment + Feasibility assessment with gauges, GDELT news feed, 47 historical cases |
All three share one backend, one design language, one set of API keys.
cp .env.example .env # fill in keys (optional — fallbacks work)
pip install -r requirements.txt
python main.py # http://localhost:8000GET /UI (3-tab shell)GET /healthService status + key availabilityGET /docsAuto-generated OpenAPI docsGET /api/world-risk[/{iso3}]INFORM Severity by countryGET /api/iso-lookupTopoJSON numeric → ISO3POST /api/country-contextAI-powered (Claude) country analysisGET /api/acaps/{iso3}ACAPS INFORM + access + risk-radar + crisesGET /api/detailEII drawer: Tavily news + ACLED timelineGET /api/news?q=...GDELT keyless news searchGET /api/weather?lat=&lon=Open-Meteo current weatherPOST /api/calculate/riskERCF risk score + level + NATO equivalentPOST /api/calculate/resourcesVehicles, personnel, suppliesPOST /api/calculate/staying-costUSD cost + expected casualtiesPOST /api/calculate/remaining-costUSD cost to evacuate + shelter* /api/scenarios[/{id}]Scenario CRUD (SQLite)GET /api/historical-cases[/{id}]Historical analogues
┌──────────────────────────────────────────────────────┐
│ static/index.html (3-tab shell) │
│ ├── crisis_map.html (Leaflet + data.js) │
│ ├── scenario_model.html (ERCF form) │
│ └── risk_assessment.html (CERAI single-page app) │
└──────────────────────────────────────────────────────┘
│
▼
┌──────────────────────────────────────────────────────┐
│ FastAPI (main.py) │
│ ├── calculators.py ERCF math │
│ ├── database.py SQLite scenarios │
│ ├── world_risk.py INFORM-derived country index │
│ ├── historical_data.py 15 reference cases │
│ ├── context_ai.py Anthropic (with fallback) │
│ ├── acaps_data.py ACAPS REST client │
│ └── live_data.py Tavily + ACLED + GDELT │
└──────────────────────────────────────────────────────┘
- EII — github.com/Ethical-Tech-CoLab/evacuation-inform-index-carolina
- ERCF — github.com/Ethical-Tech-CoLab/ercf
- CERAI — github.com/Ethical-Tech-CoLab/CERAI_AR
- Route simulator — github.com/Ethical-Tech-CoLab/India-EvacSimulation
- Behavioral simulator — github.com/Ethical-Tech-CoLab/Evac-Sim-Melanie
- Data: ACAPS INFORM Severity Index (April 2026), ACLED, GDELT 2.0, Open-Meteo
Unified by NYU Ethical CoLab.