Skip to content
This repository was archived by the owner on Oct 31, 2025. It is now read-only.
Open
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion trax/rl/advantages_test.py
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down