
VendorPulse
Early-warning system that predicts street-vendor cash-flow collapse 24–72 hours ahead and dispatches bridge capital first.
Architecture & Overview
VendorPulse is an early-warning platform built by Team Nexio for the ModelX 2.0 Finals. Informal vendors in Colombo live on a daily cash cycle, and a flash flood, bus strike or road closure can empty a market for days, pushing vendors toward money-lenders charging 10–20% a week. VendorPulse moves NGO field coordinators from recovery to prevention by forecasting which of five market zones (Pettah, Fort, Maligawatta, Maradana, Kollupitiya) are likely to collapse over the next three trading days, explaining why, and sizing the zero-interest bridge capital needed. A four-layer pipeline ingests live rain forecasts (OpenWeatherMap with Open-Meteo fallback) and Sri Lankan news feeds, extracts disruptions, routes and severity with a rule-based NLP extractor, and feeds 10 engineered features into a multi-task neural network with a shared encoder and two heads: a quantile head (P50 / P90 foot-traffic drop) and a collapse-probability head. On the held-out period the network reached 99.8% accuracy, 100% recall and an F1 of 0.988, far ahead of naive persistence and ARIMA baselines, and captures compounding risk such as rain coinciding with a bus strike. Weights are exported to NumPy for a PyTorch-free FastAPI service hosted on Render with a Supabase PostgreSQL backend (row-level security, PBKDF2-hashed accounts, rate limiting). Coordinators use an Expo (React Native) mobile app with a live OpenStreetMap threat map, per-zone explanations, offline caching, CRITICAL alerts and an auditable Authorized → Dispatched → Completed dispatch workflow.