justheuristic %!s(int64=3) %!d(string=hai) anos
pai
achega
13904c35a3
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      tests/test_util_modules.py

+ 1 - 1
tests/test_util_modules.py

@@ -578,7 +578,7 @@ def test_performance_ema_threadsafe(
     num_updates: int = 100,
     num_updates: int = 100,
     alpha: float = 0.05,
     alpha: float = 0.05,
     bias_power: float = 0.7,
     bias_power: float = 0.7,
-    tolerance: float = 0.1,
+    tolerance: float = 0.05,
 ):
 ):
     def run_task(ema):
     def run_task(ema):
         task_size = random.randint(1, 4)
         task_size = random.randint(1, 4)