modelkit icon indicating copy to clipboard operation
modelkit copied to clipboard

test_simple_profiler is not idempotent

Open tbascoul opened this issue 2 years ago • 0 comments

test_simple_profiler is not idempotent

see PR failure due to this

=================================== FAILURES ===================================

_____________________________ test_simple_profiler _____________________________ Traceback (most recent call last): File "/Users/runner/work/modelkit/modelkit/tests/test_simple_profiler.py", line 295, in test_simple_profiler assert math.isclose(net_durations["model_d"], 0.1, rel_tol=rel_tol) AssertionError: assert False

  • where False = (0.4682511319999776, 0.1, rel_tol=0.7)
  • where = math.isclose

tbascoul avatar Jun 27 '22 09:06 tbascoul