Previous commit only converted weight values, but missed: - avg_intake (calories from DB) - avg_protein (protein_g from DB) - protein_per_kg calculations in loops All DB numeric values now converted to float BEFORE arithmetic. Fixed locations: - Line 44: avg_intake conversion - Line 126: avg_protein conversion - Line 175: protein_per_kg in loop - Line 213: protein_values list comprehension 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 | ||