mitai-jinkendo/backend/csv_parser
Lars 90a27846ca
All checks were successful
Deploy Development / deploy (push) Successful in 56s
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 float parsing logic for enhanced accuracy in numeric conversions
- Updated the `_parse_float_auto` function in `type_converter.py` to better handle various decimal and thousand separators, particularly for cases with long decimal parts from sources like Apple Health.
- Enhanced the logic for splitting and processing numeric strings to ensure correct interpretation of values, including edge cases with multiple separators.
- Added handling for cases where numeric strings may contain both commas and periods, improving overall robustness in float parsing.

These changes enhance the accuracy of numeric conversions, ensuring more reliable data processing across the application.
2026-04-12 07:28:24 +02:00
..
__init__.py feat(csv-parser): Implement CSV import functionality with mapping and type conversion 2026-04-09 21:37:19 +02:00
core.py feat(csv-import): Add blood pressure and activity row diagnosis functionality 2026-04-10 16:43:00 +02:00
executor.py feat(csv-templates): Add CSV template validation endpoint and enhance error handling 2026-04-11 06:47:27 +02:00
field_units.py feat(csv-import): Enhance source unit handling and custom conversion options 2026-04-10 11:19:44 +02:00
import_errors.py feat(csv-templates): Add CSV template validation endpoint and enhance error handling 2026-04-11 06:47:27 +02:00
import_row_processing.py feat(csv-import): Enhance row aggregation and validation features 2026-04-10 15:36:12 +02:00
mapping_suggest.py feat(csv-import): Add blood pressure and activity row diagnosis functionality 2026-04-10 16:43:00 +02:00
module_registry.py feat(csv-import): Add blood pressure and activity row diagnosis functionality 2026-04-10 16:43:00 +02:00
permissions.py feat(csv-parser): Implement CSV import functionality with mapping and type conversion 2026-04-09 21:37:19 +02:00
sleep_apple_import.py feat(csv-import): Enhance Apple sleep CSV import functionality 2026-04-10 07:52:04 +02:00
template_validator.py fix(csv_parser): Normalize header comparison in CSV template validation 2026-04-11 06:52:17 +02:00
type_converter.py feat: Improve float parsing logic for enhanced accuracy in numeric conversions 2026-04-12 07:28:24 +02:00