Towards Recovery
2nd prize · Game of Code 2026An addiction-severity screen a person can take in private. It flags risk for a human counsellor and never acts on its own.
- Repository: private team repository

What I did
- Worked on the frontend, the screens participants and counsellors use.
- Worked on the project documentation.
- Role
- Frontend and documentation
- Team
- Dhruv & Friends, four developers
- When
- June 2026
- Built for
- Game of Code 2026, Mauritius
The problem
The Addiction Severity Index is a standard early screen, but it needs a trained clinician to run it. The team’s pitch named two barriers to getting one: access and stigma. Towards Recovery brings an ASI-structured screen to the participant, in private, and keeps watching for change afterwards.
How it works
- 01
A calibration, then 21 questions
A six-second resting-face calibration, then 21 questions across seven clinical domains: medical, employment, drug use, alcohol, legal, family and social, and psychiatric.
- 02
Compared with their own face
The webcam is sampled while each question is answered, and readings are compared with the participant’s own resting face instead of a fixed “neutral”.
- 03
Three tiers: monitor, review, refer
A deterministic risk score places each session in one of three tiers: monitor, review or refer.
- 04
Check-ins watch for drift
People in the monitor tier check in over time. Drift detection escalates them to review after a sustained change across two readings in a row.
- 05
What the counsellor sees
Counsellors see the live tier, the flagged domains and an optional written summary.

The counsellor dashboard. Participant details redacted for this page.
Design decisions
- Face-to-answer mismatch is treated as an inconsistency for a human to look at, never as lie detection. Nothing is acted on automatically.
- The camera is optional. The score still works on answers alone.
- The language model only writes the counsellor’s summary. Everything else works without it.
Results
More screenshots
Built with
- FastAPI
- SQLite
- Next.js 16
- DeepFace
- XGBoost
- Gemini 2.0 Flash (summary only)

