feat: Phase 0c - body_metrics.py module complete
Deploy Development / deploy (push) Successful in 46s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 14s

Data Layer:
- get_latest_weight_data() - most recent weight with date
- get_weight_trend_data() - already existed (PoC)
- get_body_composition_data() - already existed (PoC)
- get_circumference_summary_data() - already existed (PoC)

Placeholder Layer:
- get_latest_weight() - refactored to use data layer
- get_caliper_summary() - refactored to use get_body_composition_data
- get_weight_trend() - already refactored (PoC)
- get_latest_bf() - already refactored (PoC)
- get_circ_summary() - already refactored (PoC)

body_metrics.py now complete with all 4 functions.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 4.6 committed 2026-03-28 19:17:02 +01:00
1 parent b4558b0582
commit 6c23973c5d
3 files changed
+71 -23

No files matched your search

+1
View File
@@ -45,6 +45,7 @@ __all__ = [
'serialize_dates',
# Body Metrics
'get_latest_weight_data',
'get_weight_trend_data',
'get_body_composition_data',
'get_circumference_summary_data',