feat: expose get_validation_status() API (closes #29)

Summary

  • New cpap_parser/validation_status.py with frozen ManufacturerValidation dataclass tracking summary_validated, spo2_validated, events_validated, waveform_validated per manufacturer
  • get_validation_status() returns a copy of the internal dict keyed by MachineInfo.series name
  • Both symbols exported from cpap_parser.__init__
  • Initial entries: Löwenstein (summary/spo2/events , waveform ) and ResMed (summary after !8 / #28, others )

Dependencies

Depends on !8 (bugfix/resmed-bugs-issue-28) for ResMed summary_validated: True to be meaningful — merge !8 first.

Test plan

  • uv run pytest tests/test_validation_status.py -v — all 6 tests green
  • python -c "from cpap_parser import get_validation_status; print(get_validation_status())" — prints dict with Lowenstein and ResMed entries
  • Confirm mutating the returned dict does not affect subsequent calls

🤖 Generated with Claude Code

Merge request reports

Loading