Problem Statement
Problem
The statistics.py module currently has several logic paths that are not covered by unit tests from the codecov report.
Proposed Changes
Add unit tests to esp/program/tests/test_statistics.py
Impact
- Increases code coverage for the
program module.
- Prevents regressions in the demographics reporting dashboard.
- Uses
SimpleNamespace for lightweight mocking to keep tests fast.
Proposed Solution
- Add unit tests to
esp/program/tests/test_statistics.py
- Increases code coverage for the
program module.
Alternatives Considered
No response
Additional Context
No response