Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: selection.shuffled_argmax and its test case fixed #32

Merged
merged 1 commit into from
Jan 28, 2019
Merged

fix: selection.shuffled_argmax and its test case fixed #32

merged 1 commit into from
Jan 28, 2019

Conversation

zhangyu94
Copy link
Contributor

@zhangyu94 zhangyu94 commented Jan 27, 2019

This PR fixes the bug that selection.shuffled_argmax (and corresponding test case) computes argmin instead of argmax.

This PR cannot pass the test case for shuffled_argmax when core_tests.py is run, since it imports the shuffled_argmax in a released version.

@codecov-io
Copy link

codecov-io commented Jan 27, 2019

Codecov Report

Merging #32 into dev will increase coverage by <.01%.
The diff coverage is 100%.

Impacted file tree graph

@@            Coverage Diff             @@
##              dev      #32      +/-   ##
==========================================
+ Coverage   98.06%   98.06%   +<.01%     
==========================================
  Files          30       30              
  Lines        1598     1599       +1     
==========================================
+ Hits         1567     1568       +1     
  Misses         31       31
Impacted Files Coverage Δ
modAL/utils/selection.py 100% <100%> (ø) ⬆️
tests/core_tests.py 98.89% <100%> (ø) ⬆️

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 0e66d27...257a698. Read the comment docs.

@cosmic-cortex cosmic-cortex merged commit 257a698 into modAL-python:dev Jan 28, 2019
@cosmic-cortex
Copy link
Member

Thanks! PR merged, tests passed :)

@zhangyu94
Copy link
Contributor Author

Great :)
Thought it would fail since it couldn't pass when I ran the tests locally

@zhangyu94 zhangyu94 deleted the dev branch January 28, 2019 19:18
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.

3 participants