Skip to content

Commit

Permalink
set a lower pval for vmap-of-rbg based uniform statistical test
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 614434781
  • Loading branch information
froystig authored and jax authors committed Mar 10, 2024
1 parent 63ceb5f commit 477a5aa
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/random_lax_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -1459,7 +1459,8 @@ def rand(key):

for samples in [uncompiled_samples, compiled_samples]:
self._CheckCollisions(samples, jnp.finfo(dtype).nmant)
self._CheckKolmogorovSmirnovCDF(samples, scipy.stats.uniform().cdf)
self._CheckKolmogorovSmirnovCDF(samples, scipy.stats.uniform().cdf,
pval=0.005)

def test_cannot_add(self):
key = self.make_key(73)
Expand Down

0 comments on commit 477a5aa

Please sign in to comment.