Skip to content

Conversation

crawlingcub
Copy link
Contributor

Running some tests by removing seeds revealed that tests such as test_single_shapley_int_batch_scalar_float, test_single_shapley_int_batch_scalar_tensor_0d, test_single_shapley_int_batch_scalar_tensor_1d, and test_single_shapley_int_batch_scalar_tensor_int are flaky. They almost fail 40-50% of the times.

To fix these tests, I updated the n_samples to 2500 to fix the flakiness. The tests now pass consistently. This only affects the execution time of the test by ~1s.

Please let me know if this change seems reasonable. Similar to #775.

@crawlingcub
Copy link
Contributor Author

Adding @vivekmig

@vivekmig
Copy link
Contributor

Looks great, thanks so much for this fix @crawlingcub !

@facebook-github-bot
Copy link
Contributor

@vivekmig has imported this pull request. If you are a Facebook employee, you can view this diff on Phabricator.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants