How soumyakoley1975/sih26 works
The Landslide Intelligence Engine exposes a FastAPI backend for location-based susceptibility, environmental triggers, combined hazard scoring, and data-source status; the README also describes a React/MapLibre GIS dashboard. The main scoring path is hazard assessment calling susceptibility and trigger calculations. Trigger data comes from Open-Meteo when available, with demo fallback; ground movement and detection inputs are mocked. The tree does not show frontend source, so the dashboard is represented by its listed surakshasetu entry; its implementation and detailed API wiring are not inspectable here.
Main entry points: main.py FastAPI app · hazard.py Hazard scoring · trigger.py Trigger scoring · surakshasetu GIS dashboard
Components 8
API runtime
- FastAPI app
backend/app/main.py - Data status
backend/app/api/routes/data_status.py
Risk assessment
- Susceptibility
backend/app/api/routes/susceptibility.py - Trigger scoring
backend/app/api/routes/trigger.py - Hazard scoring
backend/app/api/routes/hazard.py
GIS presentation
- GIS dashboard
surakshasetu
External data
- Open-Meteo
Other components
- Map user
Connections 9
- Map user → GIS dashboard: uses
- GIS dashboard → FastAPI app: requests API
- FastAPI app → Susceptibility: dispatches
- FastAPI app → Trigger scoring: dispatches
- FastAPI app → Hazard scoring: dispatches
- FastAPI app → Data status: dispatches
- Hazard scoring → Susceptibility: calls
- Hazard scoring → Trigger scoring: calls
- Trigger scoring → Open-Meteo: fetches weather