openml / openml-python

Python module to interface with OpenML
https://openml.github.io/openml-python/main/
Other
279 stars 143 forks source link

Fix coverage #1226

Closed PGijsbers closed 1 year ago

PGijsbers commented 1 year ago

The problem was that test cleanup cleaned up more than intended: all files in openml-python/ instead of openml-python/tests/files/.

Also, I embarrassingly already fixed this 2 years ago, not sure why it didn't make it to a PR.

codecov-commenter commented 1 year ago

Codecov Report

Patch coverage: 61.43% and project coverage change: -2.92 :warning:

Comparison is base (e074c14) 88.07% compared to head (b539d05) 85.16%.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## develop #1226 +/- ## =========================================== - Coverage 88.07% 85.16% -2.92% =========================================== Files 36 38 +2 Lines 4563 4981 +418 =========================================== + Hits 4019 4242 +223 - Misses 544 739 +195 ``` | [Impacted Files](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml) | Coverage Δ | | |---|---|---| | [openml/\_\_init\_\_.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL19faW5pdF9fLnB5) | `100.00% <ø> (ø)` | | | [openml/base.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL2Jhc2UucHk=) | `90.90% <ø> (ø)` | | | [openml/cli.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL2NsaS5weQ==) | `0.00% <0.00%> (ø)` | | | [openml/extensions/extension\_interface.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL2V4dGVuc2lvbnMvZXh0ZW5zaW9uX2ludGVyZmFjZS5weQ==) | `91.66% <ø> (ø)` | | | [openml/flows/flow.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL2Zsb3dzL2Zsb3cucHk=) | `92.71% <ø> (ø)` | | | [openml/study/study.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL3N0dWR5L3N0dWR5LnB5) | `72.00% <ø> (ø)` | | | [openml/tasks/split.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL3Rhc2tzL3NwbGl0LnB5) | `94.50% <ø> (-0.12%)` | :arrow_down: | | [openml/evaluations/functions.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL2V2YWx1YXRpb25zL2Z1bmN0aW9ucy5weQ==) | `83.47% <8.33%> (-8.76%)` | :arrow_down: | | [openml/setups/functions.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL3NldHVwcy9mdW5jdGlvbnMucHk=) | `93.75% <50.00%> (-0.10%)` | :arrow_down: | | [openml/datasets/dataset.py](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml#diff-b3Blbm1sL2RhdGFzZXRzL2RhdGFzZXQucHk=) | `87.28% <70.00%> (-0.65%)` | :arrow_down: | | ... and [27 more](https://codecov.io/gh/openml/openml-python/pull/1226?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml) | | Help us with your feedback. Take ten seconds to tell us [how you rate us](https://about.codecov.io/nps?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml). Have a feature suggestion? [Share it here.](https://app.codecov.io/gh/feedback/?utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=openml)

:umbrella: View full report at Codecov.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.