mitai-jinkendo/backend/data_layer
Lars 504581838c
All checks were successful
Deploy Development / deploy (push) Successful in 52s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 15s
feat: Phase 0c - migrate body_metrics calculations to data_layer (20 functions)
- Migrated all 20 calculation functions from calculations/body_metrics.py to data_layer/body_metrics.py
- Functions: weight trends (7d median, 28d/90d slopes, goal projection, progress)
- Functions: body composition (FM/LBM changes)
- Functions: circumferences (waist/hip/chest/arm/thigh deltas, WHR)
- Functions: recomposition quadrant
- Functions: scoring (body progress, data quality)
- Updated data_layer/__init__.py with 20 new exports
- Refactored placeholder_resolver.py to import body_metrics from data_layer

Module 1/6 complete. Single Source of Truth for body metrics established.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-03-28 19:51:08 +01:00
..
__init__.py feat: Phase 0c - migrate body_metrics calculations to data_layer (20 functions) 2026-03-28 19:51:08 +01:00
activity_metrics.py feat: Phase 0c - activity_metrics.py module complete 2026-03-28 19:11:45 +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
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 - nutrition_metrics.py module complete 2026-03-28 18:45:24 +01:00
recovery_metrics.py fix: rest_days schema - use 'focus' column instead of 'rest_type' 2026-03-28 19:28:46 +01:00
utils.py feat: Phase 0c - Multi-Layer Data Architecture (Proof of Concept) 2026-03-28 18:26:22 +01:00