How rishijawale/mansik_santulan_score works
Mansik Santulan Score is a browser-based student wellness scoring app backed by a FastAPI inference API and a serialized scikit-learn model. The workflow runs from form entry and client-side validation through API request validation, country feature grouping, model inference, and score display in an animated gauge. The README also documents responsive UI and error/retry behavior. Main backend and JavaScript excerpts support the shown calls; HTML structure and model internals were not sampled, so their implementation details are not expanded.
Main entry points: main.py FastAPI endpoints · script.js Form interaction · index.html Wellness form · Mental_health_model.pkl Serialized model
Components 10
Web experience
- Wellness form
index.html - Form interaction
script.js - Input validation
script.js - Score gauge
script.js
Prediction service
- FastAPI endpoints
main.py - Request validation
main.py - Feature preparation
main.py
Scoring model
- Serialized model
Mental_health_model.pkl
Other components
- Student
- Student dataset
Student Social Media And Mental Health Impact.csv
Connections 9
- Student → Wellness form: enters details
README.md - Wellness form → Form interaction: provides fields
README.md - Form interaction → Input validation: validates locally
script.js - Form interaction → FastAPI endpoints: POST /predict
script.js - FastAPI endpoints → Request validation: validates request
main.py - FastAPI endpoints → Feature preparation: prepares features
main.py - FastAPI endpoints → Serialized model: predicts with
main.py - FastAPI endpoints → Form interaction: returns score
README.md - Form interaction → Score gauge: renders score
script.js