mitai-jinkendo/backend/data_layer
Lars fd7a2dac6d
All checks were successful
Deploy Development / deploy (push) Successful in 53s
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: Improve session metrics upsert logic and add unit tests for source field handling
- Enhanced the `upsert_session_metrics_from_csv_mapped` function to skip EAV writes when a `source_field` is provided, ensuring canonical handling of activity logs.
- Updated the docstring to clarify the behavior regarding `source_field` and EAV logic.
- Added unit tests to validate the new behavior, ensuring correct functionality when `source_field` is set or not set during CSV imports.
2026-04-16 12:22:44 +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: Refactor activity data handling to use dynamic registry fields 2026-04-16 12:14:39 +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: Refactor activity data handling to use dynamic registry fields 2026-04-16 12:14:39 +02:00
activity_session_metrics.py feat: Improve session metrics upsert logic and add unit tests for source field handling 2026-04-16 12:22:44 +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