IdeaCredIdeaCred

abhayra12/StudentLife-Phenotyping

74

End-to-end behavioral prediction system using digital phenotyping. PyTorch Transformer (MAE 1.18) + Autoencoder anomaly detection. Docker-ready, FastAPI service.

What's novel

End-to-end behavioral prediction system using digital phenotyping. PyTorch Transformer (MAE 1.18) + Autoencoder anomaly detection. Docker-ready, FastAPI service.

Code Analysis

9 files read · 3 rounds

Trains and serves ML models (gradient boosting ensembles, PyTorch Transformer, LSTM, Autoencoder) that predict student stress levels and physical activity from passive smartphone sensor data (accelerometer, audio, WiFi, phone-lock) using the StudentLife dataset, exposed via a FastAPI service.

Strengths

Genuine end-to-end ML pipeline with real algorithmic depth: Optuna HPO, soft-voting ensembles, PyTorch Transformer with positional encoding, weekend-normalized autoencoder anomaly detection, and a well-structured data alignment layer that resamples 9 heterogeneous sensor streams onto a common hourly grid. MLflow experiment tracking is consistently integrated across all deep learning models.

Weaknesses

Significant code duplication (create_sequences repeated in LSTM and Transformer, feature engineering logic duplicated across stress_prediction.py and sota_stress_prediction.py), the API's anomaly interpretation thresholds are arbitrary and disconnected from the training-time percentile-based thresholds, and the test suite is minimal (only 2 test files covering data cleaning, no tests for models, API, or feature engineering).

Score Breakdown

Innovation
6 (25%)
Craft
62 (35%)
Traction
6 (15%)
Scope
81 (25%)

Signal breakdown

Innovation

Not Fork+1
Code Novelty+1
Concept Novelty+2

Craft

Ci-1
Tests+3
Polish+1
Releases+0
Has License+5
Code Quality+18
Readme Quality+15
Recent Activity+7
Structure Quality+5
Commit Consistency+4
Has Dependency Mgmt+5

Traction

Forks+0
Stars+6
Hn Points+0
Watchers+0
Early Traction+0
Devto Reactions+0
Community Contribs+0

Scope

Commits+8
Languages+5
Subsystems+10
Bloat Penalty+0
Completeness+7
Contributors+5
Authored Files+15
Readme Code Match+3
Architecture Depth+7
Implementation Depth+8

Evidence

Commits

71

Contributors

1

Files

108

Active weeks

6

TestsCI/CDREADMELicenseContributing

Repository

Language

Python

Stars

1

Forks

0

License

MIT