Nigehbaan
A dropout-risk early warning system for Pakistani girls' schools that runs offline on a teacher's phone. Built solo for AI Seekho Builders Day 2026.
Watch the explainer: Nigehbaan, 77 secondsWatch the 77-second narrated explainer. English captions on.Read the transcript
TL;DR
Rules compute the risk score; Gemini only explains it, must cite evidence, and drafts a message home that the school decides whether to send.
01
Context
A deterministic Dart rule engine scores attendance, assessment, participation and fee signals, then applies a co-occurrence multiplier when several different families of signal degrade in the same window, because that overlap is the reliable warning sign rather than any single lapse.
02
What I built
- A deterministic rule engine: Dart code scores four signals (attendance, assessment, participation and fees) and applies a co-occurrence multiplier when several signal families degrade in the same window.
- A constrained model: Gemini 2.5 Flash reads the trends plus the teacher's written observations, never computes the score, and must cite evidence before it can raise or lower a verdict.
- A human decision at the end: the app drafts a respectful Urdu message home, and the school decides whether to send it.
- Offline on a teacher's phone: a SQLite local repository with cache-first Firestore.
- Two roles: a teacher pinned to one class, and a counsellor who sees the whole school and receives FCM at-risk alerts.
03
Engineering judgment
Rules count the signals; the model explains them. The risk score stays in deterministic code that can be tested, and the language model is confined to reading context and citing evidence for any change it proposes. The app drafts the message to a family, but people at the school make the call.
04
Outcome
Winner at AI Seekho Builders Day 2026, NIC Islamabad. Open source under MIT, with 20 screens and 47 automated tests.
05
Transcript
Read the 77-second explainer as text
A girl leaving school rarely happens in a single day. The signs build quietly, week by week. Nigehbaan is an early warning system for girls' schools in Pakistan, built to help teachers see those signs in time.
This is the real app, running offline on a teacher's phone. First, a deterministic rule engine scores four signals: attendance, assessments, participation, and fees. When several slip in the same window, a co-occurrence multiplier raises the risk, because that overlap is the real warning sign.
Then Gemini reads the trends alongside the teacher's own notes. It never computes the score, and it must cite its evidence before it can raise or lower a verdict. When a student needs support, it drafts a respectful message home, in Urdu. The school decides whether to send it.
Built solo in Flutter and Firebase, open sourced with 47 automated tests. And the winner at AI Seekho Builders Day 2026. Nigehbaan. See the silent goodbye coming.