Closed DeaglanBartlett closed 10 months ago
Current status: Up to 97% coverage
Name Stmts Miss Cover Missing
-----------------------------------------------------------------
ili/__init__.py 8 0 100%
ili/dataloaders/__init__.py 1 0 100%
ili/dataloaders/loaders.py 106 2 98% 45, 153
ili/embedding/__init__.py 1 0 100%
ili/embedding/fcn.py 25 2 92% 10-11
ili/inference/__init__.py 5 0 100%
ili/inference/pydelfi_wrappers.py 53 0 100%
ili/inference/runner_pydelfi.py 51 1 98% 94
ili/inference/runner_sbi.py 200 3 98% 158, 205, 380
ili/utils/__init__.py 6 0 100%
ili/utils/dataset.py 41 11 73% 38, 43, 63-65, 77-79, 93, 95, 97
ili/utils/distributions_pt.py 146 1 99% 119
ili/utils/distributions_tf.py 32 0 100%
ili/utils/import_utils.py 7 0 100%
ili/utils/samplers.py 73 3 96% 237, 260-266
ili/validation/__init__.py 2 0 100%
ili/validation/metrics.py 250 8 97% 93, 104-107, 235-237, 642
ili/validation/runner.py 85 2 98% 80, 84
-----------------------------------------------------------------
TOTAL 1092 33 97%
One of the least-covered files is ili/utils/dataset.py
since the filtering options are not covered by any dataloader, so this functionality needs to be added to the dataloaders before the tests can be added.
Codecov Report
All modified and coverable lines are covered by tests :white_check_mark:
:exclamation: Your organization needs to install the Codecov GitHub app to enable full functionality.
Additional details and impacted files
```diff @@ Coverage Diff @@ ## main #121 +/- ## =========================================== + Coverage 85.59% 97.30% +11.70% =========================================== Files 18 18 Lines 1104 1113 +9 =========================================== + Hits 945 1083 +138 + Misses 159 30 -129 ```:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.