mitai-jinkendo/backend/data_layer
Lars 5b7d7ec3bb
All checks were successful
Deploy Development / deploy (push) Successful in 44s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s
fix: Phase 0c - update all in-function imports to use data_layer
Critical bug fix: In-function imports were still referencing calculations/ module.
This caused all calculated placeholders to fail silently.

Fixed imports in:
- activity_metrics.py: calculate_activity_score (scores import)
- recovery_metrics.py: calculate_recent_load_balance_3d (activity_metrics import)
- scores.py: 12 function imports (body/nutrition/activity/recovery metrics)
- correlations.py: 11 function imports (scores, body, nutrition, activity, recovery metrics)

All data_layer modules now reference each other correctly.
Placeholders should resolve properly now.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 20:36:50 +01:00
..
__init__.py feat: Phase 0c - migrate correlation_metrics to data_layer/correlations (11 functions) 2026-03-28 20:28:26 +01:00
activity_metrics.py fix: Phase 0c - update all in-function imports to use data_layer 2026-03-28 20:36:50 +01:00
body_metrics.py feat: Phase 0c - migrate body_metrics calculations to data_layer (20 functions) 2026-03-28 19:51:08 +01:00
correlations.py fix: Phase 0c - update all in-function imports to use data_layer 2026-03-28 20:36:50 +01:00
health_metrics.py feat: Phase 0c - health_metrics.py module complete 2026-03-28 19:15:31 +01:00
nutrition_metrics.py feat: Phase 0c - migrate nutrition_metrics calculations to data_layer (16 functions) 2026-03-28 19:57:13 +01:00
recovery_metrics.py fix: Phase 0c - update all in-function imports to use data_layer 2026-03-28 20:36:50 +01:00
scores.py fix: Phase 0c - update all in-function imports to use data_layer 2026-03-28 20:36:50 +01:00
utils.py feat: Phase 0c - Multi-Layer Data Architecture (Proof of Concept) 2026-03-28 18:26:22 +01:00