Cornerstone-OnDemand/modelkit

test_simple_profiler is not idempotent

tbascoul opened this issue · 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