Final bug fixes: 1. blood_pressure_log query - changed 'date' column to 'measured_at' (correct column for TIMESTAMP) 2. top_goal_name KeyError - added 'name' to SELECT in get_active_goals() 3. top_goal_name fallback - use goal_type if name is NULL Changes: - scores.py: Fixed blood_pressure_log query to use measured_at instead of date - goal_utils.py: Added 'name' column to get_active_goals() SELECT - placeholder_resolver.py: Added fallback to goal_type if name is None These were the last 2 errors showing in logs. All major calculation bugs should now be fixed. 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 | ||