- Added new functions for BMI and goal weight/body fat percentage retrieval in `body_metrics.py`. - Introduced training frequency and inter-session gap calculations in `activity_metrics.py`. - Updated placeholder registrations to include new metrics for nutrition and activity. - Improved data handling in `placeholder_resolver.py` for better integration of new metrics. - Enhanced documentation across modules to reflect the new functionalities. These updates improve the accuracy and comprehensiveness of health and fitness assessments within the application.
27 lines
636 B
Python
27 lines
636 B
Python
"""
|
|
Placeholder Registrations Package
|
|
|
|
Auto-imports all placeholder registrations to populate the global registry.
|
|
"""
|
|
|
|
# Import all registration modules to trigger auto-registration
|
|
from . import nutrition_part_a
|
|
from . import nutrition_part_b
|
|
from . import nutrition_part_c
|
|
from . import nutrition_score
|
|
from . import body_metrics
|
|
from . import body_extras
|
|
from . import activity_metrics
|
|
from . import activity_session_insights
|
|
|
|
__all__ = [
|
|
'nutrition_part_a',
|
|
'nutrition_part_b',
|
|
'nutrition_part_c',
|
|
'nutrition_score',
|
|
'body_metrics',
|
|
'body_extras',
|
|
'activity_metrics',
|
|
'activity_session_insights',
|
|
]
|