-
Notifications
You must be signed in to change notification settings - Fork 6
Closed
Labels
bugSomething isn't workingSomething isn't working
Description
Some test sometimes fails in CI. We should either make it more deterministic, or set much larger rtol, or remake it. Or find a bug =)
tests/light_curve_ext/test_feature.py:434:
_ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _ _
args = (<function assert_allclose.<locals>.compare at 0x7f6420a18c10>, array([ 9.09579623e+00, -5.40383904e+00, -8.64983171e-...904e+00, -8.64983172e-01, 2.19817431e+00,
8.17213286e+01, 1.27377227e-04, 2.04551540e+00, 8.13644738e-01]))
kwds = {'equal_nan': True, 'err_msg': '', 'header': 'Not equal to tolerance rtol=1e-07, atol=0', 'strict': False, ...}
@wraps(func)
def inner(*args, **kwds):
with self._recreate_cm():
> return func(*args, **kwds)
E AssertionError:
E Not equal to tolerance rtol=1e-07, atol=0
E
E Mismatched elements: 1 / 8 (12.5%)
E Max absolute difference among violations: 1.43896006e-11
E Max relative difference among violations: 1.12968393e-07
E ACTUAL: array([ 9.095796e+00, -5.403839e+00, -8.649832e-01, 2.198174e+00,
E 8.172133e+01, 1.273772e-04, 2.045515e+00, 8.136447e-01])
E DESIRED: array([ 9.095796e+00, -5.403839e+00, -8.649832e-01, 2.198174e+00,
E 8.172133e+01, 1.273772e-04, 2.045515e+00, 8.136447e-01])
https://github.com/light-curve/light-curve-python/actions/runs/19382889947/job/55464766907?pr=576
Copilot
Metadata
Metadata
Assignees
Labels
bugSomething isn't workingSomething isn't working