- Created NEW data_layer/correlations.py with all 11 correlation functions - Functions: Lag correlation (main + 3 helpers: energy/weight, protein/LBM, load/vitals) - Functions: Sleep-recovery correlation - Functions: Plateau detection (main + 3 detectors: weight, strength, endurance) - Functions: Top drivers analysis - Functions: Correlation confidence helper - Updated data_layer/__init__.py to import correlations module and export 5 main functions - Refactored placeholder_resolver.py to import correlations from data_layer (as correlation_metrics alias) - Removed ALL imports from calculations/ module in placeholder_resolver.py Module 6/6 complete. ALL calculations migrated to data_layer! Phase 0c Multi-Layer Architecture COMPLETE. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| activity_metrics.py | ||
| body_metrics.py | ||
| correlations.py | ||
| health_metrics.py | ||
| nutrition_metrics.py | ||
| recovery_metrics.py | ||
| scores.py | ||
| utils.py | ||