Skip to content

[BUG] AutoETS Tests Fail #3285

@alexbanwell1

Description

@alexbanwell1

Describe the bug

The unpacking of parameters causes an IndexError in some tests. The parameter values are also slightly different

Steps/Code to reproduce the bug

pytest
https://github.com/aeon-toolkit/aeon/actions/runs/21642472086/job/62455315022

Expected results

No test fails

Actual results

=========================== short test summary info ============================
FAILED aeon/forecasting/stats/tests/test_ets.py::test_ets_forecaster[params1-11.217749519087675] - assert np.False_
 +  where np.False_ = <function isclose at 0x7ff2d0508970>(np.float64(1.5365621280690407), 11.217749519087675)
 +    where <function isclose at 0x7ff2d0508970> = np.isclose
FAILED aeon/testing/tests/test_all_estimators.py::test_all_estimators[check_non_state_changing_method(estimator=AutoETS(),datatype=UnivariateSeries-None-np.ndarray)] - IndexError: index 3 is out of bounds for axis 0 with size 2
FAILED aeon/testing/tests/test_all_estimators.py::test_all_estimators[check_fit_updates_state_and_cloning(estimator=AutoETS(),datatype=UnivariateSeries-None-np.ndarray)] - IndexError: index 3 is out of bounds for axis 0 with size 2
FAILED aeon/testing/tests/test_all_estimators.py::test_all_estimators[check_fit_deterministic(estimator=AutoETS(),datatype=UnivariateSeries-None-np.ndarray)] - IndexError: index 3 is out of bounds for axis 0 with size 2
FAILED aeon/testing/tests/test_all_estimators.py::test_all_estimators[check_persistence_via_pickle(estimator=AutoETS(),datatype=UnivariateSeries-None-np.ndarray)] - IndexError: index 3 is out of bounds for axis 0 with size 2
FAILED aeon/testing/tests/test_all_estimators.py::test_all_estimators[check_forecaster_output(estimator=AutoETS(),datatype=UnivariateSeries-None-np.ndarray)] - IndexError: index 3 is out of bounds for axis 0 with size 2
= 6 failed, 10196 passed, 198 skipped, 64 xfailed, 79 xpassed, 94493 warnings in 2595.80s (0:43:15) =
Error: Process completed with exit code 1.

Versions

Details codecov

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions