From 9fa6c5dea7f84bd8e030b26302e8642ca155b0f8 Mon Sep 17 00:00:00 2001 From: Lars Date: Sat, 28 Mar 2026 10:20:46 +0100 Subject: [PATCH] feat: Phase 0b - add nutrition focus areas to score mapping --- backend/calculations/scores.py | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/backend/calculations/scores.py b/backend/calculations/scores.py index 6580757..3bd005e 100644 --- a/backend/calculations/scores.py +++ b/backend/calculations/scores.py @@ -101,6 +101,13 @@ def map_focus_to_score_components() -> Dict[str, str]: 'blood_pressure': 'health', 'hrv': 'health', 'general_health': 'health', + + # Nutrition → nutrition_score + 'protein_intake': 'nutrition', + 'calorie_balance': 'nutrition', + 'macro_consistency': 'nutrition', + 'meal_timing': 'nutrition', + 'hydration': 'nutrition', }