mitai-jinkendo/backend/data_layer
Lars 680ecd1c06
All checks were successful
Deploy Development / deploy (push) Successful in 50s
Build Test / pytest-backend (push) Successful in 4s
Build Test / lint-backend (push) Successful in 0s
Build Test / build-frontend (push) Successful in 16s
feat: Update activity metrics handling to prioritize legacy columns over EAV
- Enhanced the `merge_column_backed_and_eav_metrics` function to ensure that when both legacy columns and EAV values are present, the legacy column takes precedence.
- Revised documentation in `ACTIVITY_PRODUCTION_ARCHITECTURE_AND_PHASES.md` and `ACTIVITY_SCALAR_KANON_TABLE.md` to reflect the new reading logic and clarify the handling of metrics.
- Updated the `activity_data_canon.py` to specify the new merge behavior, ensuring consistency in data retrieval.
- Added unit tests to validate the new logic, confirming that legacy columns are preferred when available.
2026-04-17 15:49:38 +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: Update activity metrics handling to prioritize legacy columns over EAV 2026-04-17 15:49:38 +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: Update activity metrics handling to prioritize legacy columns over EAV 2026-04-17 15:49:38 +02:00
activity_session_metrics.py feat: Update activity metrics handling to prioritize legacy columns over EAV 2026-04-17 15:49:38 +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