From 87e2d7c429a5e1aed9201d722f00a508fb8f992e Mon Sep 17 00:00:00 2001 From: austereantelope <95935342+austereantelope@users.noreply.github.com> Date: Mon, 24 Jan 2022 18:01:53 -0600 Subject: [PATCH] tighten test_monte_carlo_bias_is_zero bound --- trax/rl/advantages_test.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trax/rl/advantages_test.py b/trax/rl/advantages_test.py index 5e228b08c..3070bf671 100644 --- a/trax/rl/advantages_test.py +++ b/trax/rl/advantages_test.py @@ -98,7 +98,7 @@ def test_monte_carlo_bias_is_zero(self): (bias, _) = estimate_advantage_bias_and_variance( advantages.monte_carlo, margin=3 ) - np.testing.assert_allclose(bias, 0, atol=0.1) + np.testing.assert_allclose(bias, 0, atol=0.04) def test_td_k_variance_lower_than_monte_carlo(self): (_, var_td_3) = estimate_advantage_bias_and_variance(