Watches rainfall, soil and terrain across 119 places in Sri Lanka and sends tiered alerts when landslide risk climbs.

Role

Design and development

Stack

React 19, Vite, Tailwind, Convex, Mapbox GL, Open-Meteo, Resend

Year

2026

Status

Live

OROS main screen

The product

OROS is a live landslide risk map for Sri Lanka, built for the AI Challenge Sri Lanka 2026 buildathon. It scores 119 city scale locations across all 25 districts, weighted toward the hill country, and shows the result on a 3D Mapbox map.

Click a district and it shows live conditions at its riskiest site, plus every monitored town ranked by risk.

Model

A hand built risk model grounded in NBRO's published landslide science (the National Building Research Organisation), plus a logistic regression I wrote from scratch with no ML library. Risk is susceptibility times a rainfall trigger, plus an infrastructure term, and the classifier's confidence nudges susceptibility.

I wanted the score to be explainable, so the dashboard shows why a place scored the way it did. The classifier is bounded so a wrong prediction cannot swamp the physical model. I also tested terrain curvature as a feature, measured it at 0.54 AUC, and left it out.

Cost and latency

Slope and roads do not change, so I resolve them once offline and check them in. The live sweep only fetches what varies: all 119 locations in about 1 to 2 seconds using about 6 HTTP calls, so cost does not grow with the number of places.

History is kept at 15 minutes for 7 days, hourly to 90 days, then daily, so five years fits in a free tier database.

Testing

I scored the terrain model against 75 real, dated Sri Lankan landslides from NASA's Global Landslide Catalog. It reaches 0.84 ROC-AUC, and 87% of those landslides fall in the six districts the model ranks highest. The classifier scores 0.86 under 5 fold cross validation.

The repo also has test files for the risk model, terrain, stress cases and the classifier. Only the terrain model is validated against real events, because hourly rain for each event is not available.

What went wrong

The evacuation tier was mathematically unreachable. The worst case the model could represent scored 81.1 against a threshold of 85, so it could never have sent an evacuation alert.

The 72 hour rainfall figure was also summing forecast hours by mistake, and the hosting platform paused the deployment and left a 17 day gap in the data. I found these by auditing real output, then fixed them and added an external heartbeat.

OROS interface, screen 1
OROS interface, screen 2
119Monitored locations
0.84ROC-AUC on 75 real landslides
6HTTP calls per full sweep

Outcome

A landslide risk tool anyone can open, checked against 75 real landslides and not only against its own outputs.

Next case

Supreme Lands