-
Notifications
You must be signed in to change notification settings - Fork 1.4k
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
Flaky test TestSparseL1Descent::test_attack_strength
in tests_tf\test_attacks.py
#1142
Comments
Thanks for noticing this. I guess I didn't choose the bounds well enough. |
Ok, I can create a PR to change it.. do you mind look at #1145 ? |
Yeah that seems to be a similar issue. These type of probabilistic tests are problematic in general. |
Raised #1154 |
Thanks @loopylangur , I merged your PR. |
Thanks @jonasguan! |
Describe the bug
The
TestSparseL1Descent::test_attack_strength
test intests_tf\test_attacks.py
fails intermittently with the following error:This failied 1 out of 30 times for me. Should this be changed to
assertLessEqual
instead?To Reproduce
This can be reprodcuced by setting the following seed in the setup function:
Expected behavior
Test should always pass
Screenshots
NA
Full error log:
System configuration
The text was updated successfully, but these errors were encountered: