Commit 9b33f13
Fixing flaky test (#780)
Summary:
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.
Pull Request resolved: #780
Reviewed By: NarineK, Reubend
Differential Revision: D31587778
Pulled By: vivekmig
fbshipit-source-id: 843adda41662e881a6bf81ebc4354d6f304e83ce1 parent b6f6286 commit 9b33f13
1 file changed
+1
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
349 | 349 | | |
350 | 350 | | |
351 | 351 | | |
| 352 | + | |
352 | 353 | | |
353 | 354 | | |
354 | 355 | | |
| |||
0 commit comments