How aamir-codes/student-productivity-score works
StudyIQ is a Flask web app that turns student-provided study and wellbeing data into a productivity score, category, and tailored tips. The principal workflow runs from the web form through input preparation and the bundled model to a JSON result; the app also reports derived indicators and feature importances. The README documents the frontend and prediction API, but the template source was not sampled, so frontend request details beyond that documented interface are not independently verified.
Main entry points: app.py Flask routes · index.html Input form · model_bundle.pkl Feature scaler
Components 8
Web interface
- Input form
templates/index.html
Prediction workflow
- Flask routes
app.py - Feature engineering
app.py - Score and tips
app.py
Model artifact
- Feature scaler
model_bundle.pkl - Random forest
model_bundle.pkl - Model bundle
model_bundle.pkl
Other components
- Student
Connections 9
- Student → Input form: enters data
- Input form → Flask routes: submits prediction
- Flask routes → Input form: renders page
- Flask routes → Model bundle: loads bundle
- Flask routes → Feature engineering: engineers features
- Flask routes → Feature scaler: scales inputs
- Flask routes → Random forest: predicts score
- Flask routes → Score and tips: classifies and advises
- Flask routes → Input form: returns JSON result