Emergency decision support · Geospatial
NAJDA
Decision support for road-crash response in Algiers: crash detection, an SMS-capable data packet, risk estimate and hospital ranking for the dispatcher.
- Status
- Phase 1 demo
- Role
- SolveX 3.0 competition project
- Year
- 2026
- Code
- Private repository
Overview
NAJDA is a decision-support prototype for road-crash emergency response in Algiers, built for the SolveX 3.0 competition. It is a Phase 1 demo, not a deployed emergency service. Its rule: NAJDA suggests, the dispatcher decides.
Problem
After a crash on an Algerian road, the location is often described by voice, rural roads have coverage gaps, and hospitals get no digital pre-alert. Dispatchers decide with very little structured data.
Objectives
- Detect a probable crash from phone sensors without flagging everyday look-alikes.
- Send the essentials in a compact packet that also fits in a plain SMS.
- Give the dispatcher an explainable risk estimate and a ranked list of hospitals.
- Complement the emergency numbers 14, 1021 and SAMU, never replace them.
My role and contributions
SolveX 3.0 competition project
- Crash detector, DZ-MSD packet format and scoring.
- FastAPI back end with PostGIS and live WebSocket updates.
- Dispatcher dashboard and mobile app.
- Shared wire types and test vectors across TypeScript and Python.
Technical architecture
Drawn from the project's real components, in the order data moves through them.
Phone sensors
Expo app
Crash detector
tested against look-alikes
DZ-MSD packet
- Internet
- SMS
FastAPI
PostgreSQL + PostGIS · WebSocket
Risk score · hospital ranking
Dispatcher dashboard
React + Leaflet · human confirms
Technology stack
Implementation details
- Crash detection
- A detector over phone sensor traces, checked against recorded look-alikes: hard braking, potholes, speed bumps, a phone dropped in a car, walking.
- DZ-MSD packet
- A compact, checksummed text packet with location, Plus Code, crash data and risk estimate, sent over the internet or by SMS.
- Risk and hospitals
- An explainable risk score and a hospital ranking for Algiers, shown to the dispatcher with its reasons.
- Live system
- FastAPI with async SQLAlchemy, PostgreSQL and PostGIS, Alembic migrations, WebSocket updates and an SMS route.
- One contract
- Wire types shared in a TypeScript package, checked by the same test vectors in TypeScript and Python, with CI workflows.
Screenshots and demonstrations
Screenshots for this project are being prepared.
Results and evaluation
- Phase 1 demo running end to end on recorded traces.
- The detector is tested against negative traces; the packet format is checked by shared test vectors on both sides.
- No field deployment and no accuracy figures are claimed.
Limitations
- Phase 1 demo: not a deployed emergency service.
- Hospital data covers Algiers only.
- Detection is tested on recorded traces, not in live road conditions.
Future improvements
- Validate the detector on more real-world traces.
- Extend hospital coverage beyond Algiers.
Repository and links
Next project
Search AI Agent