mitai-jinkendo/backend/data_layer
Lars cd29c7d433
All checks were successful
Deploy Development / deploy (push) Successful in 51s
Build Test / pytest-backend (push) Successful in 9s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 17s
feat: Enhance activity session metrics handling and CSV import logic
- Updated the `ACTIVITY_SESSION_METRICS_EAV_AGENT_GUIDE` with new details on CSV import processes and EAV handling, improving documentation clarity.
- Refactored the `_import_activity` function to utilize `apply_activity_mapped_column_aliases`, ensuring proper mapping of training parameters and reducing redundancy.
- Introduced validation for numeric bounds in the `activity_csv_registry_updates_from_mapped` function, enhancing data integrity during CSV imports.
- Added new utility functions to manage column aliasing and streamline the upsert process for session metrics, preventing duplicate entries.
- Implemented unit tests to validate the new aliasing logic and ensure correct behavior during session metrics updates.
2026-04-16 07:25:39 +02:00
..
training_profile feat: Add personal reference values management in settings and API 2026-04-06 19:45:06 +02:00
__init__.py feat: Enhance nutrition and activity metrics with new data layers 2026-04-11 20:46:17 +02:00
activity_data_canon.py feat: Enhance activity metrics handling and documentation 2026-04-15 16:59:11 +02:00
activity_metrics.py First Version EAV Importer. feat: Enhance activity detail retrieval with EAV metrics and refactor activity import logic 2026-04-15 07:25:39 +02:00
activity_persistence_orchestrator.py feat: Enhance activity session metrics handling and CSV import logic 2026-04-16 07:25:39 +02:00
activity_session_metrics.py feat: Enhance activity session metrics handling and CSV import logic 2026-04-16 07:25:39 +02:00
activity_time_normalize.py First Version EAV Importer. feat: Enhance activity detail retrieval with EAV metrics and refactor activity import logic 2026-04-15 07:25:39 +02:00
body_metrics.py feat: Update Gitea issues index and enhance data layer metrics 2026-04-11 22:14:45 +02: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: Update Gitea issues index and enhance data layer metrics 2026-04-11 22:14:45 +02:00
recovery_metrics.py feat: Refactor sleep metrics calculations and improve error handling 2026-04-11 21:27:49 +02:00
reference_values.py feat: Update reference values and introduce pilot visualization module 2026-04-07 10:15:13 +02:00
scores.py feat: Update Gitea issues index and enhance data layer metrics 2026-04-11 22:14:45 +02:00
utils.py fix: correct confidence thresholds for 30-89 day range 2026-03-28 21:03:22 +01:00