Skip to content

Add viz tests#132

Merged
zmek merged 2 commits intomainfrom
add-viz-tests
Feb 9, 2026
Merged

Add viz tests#132
zmek merged 2 commits intomainfrom
add-viz-tests

Conversation

@zmek
Copy link
Copy Markdown
Collaborator

@zmek zmek commented Feb 9, 2026

Add tests/test_viz.py with smoke and unit tests for the patientflow.viz module

Tier 1 : Import checks verify all 16 viz modules load without errors
Test 2: Unit tests cover pure functions: clean_title_for_filename, format_prediction_time, classify_age, _calculate_probability_thresholds, _calculate_cdf_values, and _prob_to_cdf
Tier 3: Render smoke tests verify 8 plotting functions produce valid figures using synthetic data and a headless matplotlib backend

@zmek zmek merged commit ed4025e into main Feb 9, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant