From e73489a7bd9abb72cb4f9aa2267023ec3b6b7d89 Mon Sep 17 00:00:00 2001 From: Elton Cardoso do Nascimento <43186596+EltonCN@users.noreply.github.com> Date: Fri, 18 Oct 2024 19:51:10 -0300 Subject: [PATCH] Update test_activation_and_monitoring.py --- tests/examples/test_activation_and_monitoring.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/examples/test_activation_and_monitoring.py b/tests/examples/test_activation_and_monitoring.py index 1f0fca2..d311bb1 100644 --- a/tests/examples/test_activation_and_monitoring.py +++ b/tests/examples/test_activation_and_monitoring.py @@ -20,7 +20,7 @@ def test_activation(tb :TestbookNotebookClient): for i, (activation, input_value, sensory_output, action) in enumerate(zip(activation_hist, input_hist, sensory_output_hist, action_hist)): assert math.isclose(input_value, i/100) - assert math.isclose(activation, np.clip(input_value, 0.0, 1.0), abs_tol=0.021) + assert math.isclose(activation, np.clip(input_value, 0.0, 1.0), abs_tol=0.031) if i >= 50 and activation < 0.7: expected_sensory = last_sensory_output