Backend modules
| Layer | Role |
|---|---|
app/ml/pipeline.py | Hybrid inference orchestration |
app/ml/archetype_ranker.py | Session-wise ranking model |
app/ml/archetype_features.py | User + movie + mode encoding |
app/ml/archetype_eval.py | Fixed-split cohort metrics |
app/services/trakt_auth_service.py | OAuth + history import |