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

Heisenbug in fake_labels #13

Closed
thcrock opened this issue Jul 19, 2017 · 1 comment
Closed

Heisenbug in fake_labels #13

thcrock opened this issue Jul 19, 2017 · 1 comment
Labels

Comments

@thcrock
Copy link
Contributor

thcrock commented Jul 19, 2017

When this code (in tests/utils.py):

def fake_labels(length):
    return numpy.array([random.choice([True, False]) for i in range(0, length)])

Comes up with all the same values, some of the metric calculators error out. We should just hardcode this to have some variation.

@jesteria
Copy link
Member

This issue was moved to dssg/triage#263

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants