Skip to content

Commit

Permalink
[query] relax tolerance in local whitening test (#14053)
Browse files Browse the repository at this point in the history
It’s a random test, and it seems the current tolerance still allows rare
sporadic failures.
  • Loading branch information
patrick-schultz authored Nov 29, 2023
1 parent f1f7e3c commit 4fac65b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hail/python/test/hail/experimental/test_local_whitening.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ def run_local_whitening_test(vec_size, num_rows, chunk_size, window_size, partit
ht = tsm.block_table
whitened_hail = np.vstack(ht.aggregate(hl.agg.collect(tsm.block_expr)))
whitened_naive = naive_whiten(data.T, window_size)
np.testing.assert_allclose(whitened_hail, whitened_naive, rtol=5e-05)
np.testing.assert_allclose(whitened_hail, whitened_naive, rtol=1e-04)

@test_timeout(local=5 * 60, batch=12 * 60)
def test_local_whitening():
Expand Down

0 comments on commit 4fac65b

Please sign in to comment.