Fixed remaining sleep_log column name errors in calculate_health_stability_score: - SELECT: total_sleep_min, deep_min, rem_min → duration_minutes, deep_minutes, rem_minutes - _score_sleep_quality: Updated dict access to use new column names This was blocking goal_progress_score from calculating. Changes: - scores.py: Fixed sleep_log SELECT query and _score_sleep_quality dict access This should be the LAST column name bug! All Phase 0b calculations should now work. Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| activity_metrics.py | ||
| body_metrics.py | ||
| correlation_metrics.py | ||
| nutrition_metrics.py | ||
| recovery_metrics.py | ||
| scores.py | ||