Fixed remaining placeholder calculation issues: 1. body_progress_score returning 0: - When start_value is NULL, query oldest weight from last 90 days - Prevents progress = 0% when start equals current 2. focus_areas_weighted_json empty: - Changed from goal_utils.get_focus_weights_v2() to scores.get_user_focus_weights() - Now uses same function as focus_area_weights_json 3. Implemented 5 TODO markdown formatting functions: - _format_goals_as_markdown() - table with progress bars - _format_focus_areas_as_markdown() - weighted list - _format_top_focus_areas() - top N by weight - _format_goals_behind() - lowest progress goals - _format_goals_on_track() - goals >= 50% progress All placeholders should now return proper values. 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 | ||