mitai-jinkendo/backend/data_layer
Lars 5cda485458
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: Refactor activity data handling and improve CSV import logic
- Updated `ACTIVITY_PRODUCTION_ARCHITECTURE_AND_PHASES.md` to clarify the derivation of `ACTIVITY_MODULE_REGISTRY_FIELD_KEYS` from `csv_parser.module_registry`.
- Enhanced `activity_data_canon.py` to eliminate hardcoded key lists, ensuring all registry fields are derived dynamically.
- Refactored the `_import_activity` function to remove redundant parameters and streamline the import process.
- Improved the `insert_activity_csv_minimal` function to handle metrics exclusively through `update_activity_columns`, preventing hardcoded values.
- Updated frontend components to manage editable activity log fields more effectively, ensuring proper handling of metrics during CSV imports.
- Added unit tests to validate the new logic and ensure consistency in activity session metrics handling.
2026-04-16 10:35:08 +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 and improve CSV import logic 2026-04-16 10:35:08 +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 and improve CSV import logic 2026-04-16 10:35:08 +02:00
activity_session_metrics.py feat: Refactor activity data handling and improve CSV import logic 2026-04-16 10:35:08 +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