ntucllab / libact

Pool-based active learning in Python
http://libact.readthedocs.org/
BSD 2-Clause "Simplified" License
777 stars 175 forks source link

Improve linting #192

Open yangarbiter opened 3 years ago

codecov-commenter commented 3 years ago

Codecov Report

Patch coverage: 79.85% and project coverage change: +0.22 :tada:

Comparison is base (1079085) 89.60% compared to head (af55b16) 89.82%.

:exclamation: Your organization is not using the GitHub App Integration. As a result you may experience degraded service beginning May 15th. Please install the Github App Integration for your organization. Read more.

Additional details and impacted files ```diff @@ Coverage Diff @@ ## master #192 +/- ## ========================================== + Coverage 89.60% 89.82% +0.22% ========================================== Files 37 37 Lines 1597 1563 -34 ========================================== - Hits 1431 1404 -27 + Misses 166 159 -7 ``` | [Impacted Files](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab) | Coverage Δ | | |---|---|---| | [libact/base/interfaces.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L2Jhc2UvaW50ZXJmYWNlcy5weQ==) | `95.83% <ø> (+17.26%)` | :arrow_up: | | [libact/labelers/\_\_init\_\_.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L2xhYmVsZXJzL19faW5pdF9fLnB5) | `60.00% <0.00%> (ø)` | | | [libact/labelers/interactive\_labeler.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L2xhYmVsZXJzL2ludGVyYWN0aXZlX2xhYmVsZXIucHk=) | `36.84% <0.00%> (-5.27%)` | :arrow_down: | | [libact/query\_strategies/\_\_init\_\_.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L3F1ZXJ5X3N0cmF0ZWdpZXMvX19pbml0X18ucHk=) | `76.92% <ø> (ø)` | | | [...trategies/density\_weighted\_uncertainty\_sampling.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L3F1ZXJ5X3N0cmF0ZWdpZXMvZGVuc2l0eV93ZWlnaHRlZF91bmNlcnRhaW50eV9zYW1wbGluZy5weQ==) | `98.70% <ø> (-0.02%)` | :arrow_down: | | [libact/models/svm.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L21vZGVscy9zdm0ucHk=) | `96.00% <75.00%> (ø)` | | | [libact/query\_strategies/multiclass/mdsp.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L3F1ZXJ5X3N0cmF0ZWdpZXMvbXVsdGljbGFzcy9tZHNwLnB5) | `78.57% <78.57%> (-0.19%)` | :arrow_down: | | [libact/labelers/ideal\_labeler.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L2xhYmVsZXJzL2lkZWFsX2xhYmVsZXIucHk=) | `100.00% <100.00%> (ø)` | | | [libact/models/logistic\_regression.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L21vZGVscy9sb2dpc3RpY19yZWdyZXNzaW9uLnB5) | `95.00% <100.00%> (+0.26%)` | :arrow_up: | | [libact/models/perceptron.py](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab#diff-bGliYWN0L21vZGVscy9wZXJjZXB0cm9uLnB5) | `100.00% <100.00%> (ø)` | | | ... and [5 more](https://app.codecov.io/gh/ntucllab/libact/pull/192?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab) | | ... and [10 files with indirect coverage changes](https://app.codecov.io/gh/ntucllab/libact/pull/192/indirect-changes?src=pr&el=tree-more&utm_medium=referral&utm_source=github&utm_content=comment&utm_campaign=pr+comments&utm_term=ntucllab)

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