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

Data Layer:
- get_resting_heart_rate_data() - avg RHR with min/max trend
- get_heart_rate_variability_data() - avg HRV with min/max trend
- get_vo2_max_data() - latest VO2 Max with date

Placeholder Layer:
- get_vitals_avg_hr() - refactored to use data layer
- get_vitals_avg_hrv() - refactored to use data layer
- get_vitals_vo2_max() - refactored to use data layer

All 3 health data functions + 3 placeholder refactors complete.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
LarsandClaude Opus 4.6 committed 2026-03-28 19:15:31 +01:00
1 parent 432f7ba49f
commit b4558b0582
3 files changed
+238 -37

No files matched your search

+6 -1
View File
@@ -33,9 +33,9 @@ from .body_metrics import *
from .nutrition_metrics import *
from .activity_metrics import *
from .recovery_metrics import *
from .health_metrics import *
# Future imports (will be added as modules are created):
# from .health_metrics import *
# from .goals import *
# from .correlations import *
@@ -66,4 +66,9 @@ __all__ = [
'get_sleep_duration_data',
'get_sleep_quality_data',
'get_rest_days_data',
# Health Metrics
'get_resting_heart_rate_data',
'get_heart_rate_variability_data',
'get_vo2_max_data',
]