- Migrated all 16 calculation functions from calculations/recovery_metrics.py to data_layer/recovery_metrics.py - Functions: Recovery score v2 (main + 7 helper scorers) - Functions: HRV vs baseline (percentage calculation) - Functions: RHR vs baseline (percentage calculation) - Functions: Sleep metrics (avg duration 7d, sleep debt, regularity proxy, quality 7d) - Functions: Load balance (recent 3d) - Functions: Data quality assessment - Updated data_layer/__init__.py with 9 new exports - Refactored placeholder_resolver.py to import recovery_metrics from data_layer Module 4/6 complete. Single Source of Truth for recovery metrics established. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| activity_metrics.py | ||
| body_metrics.py | ||
| health_metrics.py | ||
| nutrition_metrics.py | ||
| recovery_metrics.py | ||
| utils.py | ||