-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[BUG] fix ForecastX
when forecaster_X_exogeneous="complement"
#6433
Conversation
ForecastX
when forecaster_X_exogeneous="complement"
ForecastX
when forecaster_X_exogeneous="complement"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this fixes the bug.
Best practice is, every bugfix should contain a test or otherwise increase test coverage so the fixed bug would fail that test. That's sometimes called "certifying for the fix".
In most cases, adding (a simplified or quickened version of) the reproducible code in the bug report does the trick. In cases like estimators, you can work with adding parameter combinations to get_test_params
. In rare cases, the test system needs to be extended, e.g., by addition of suite tests, if it turns out that an important use case was entirely overlooked - a recent examples is #6428
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Failure is due to sth flipping column order - I would guess it has to do with the use of set
.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Agree, there are many redundant checks. This should be resolved.
Also order can be preserved by list comprehension, agreed. That should solve the failure.
I agree with this but from my understanding this parameter was tested here sktime/sktime/forecasting/compose/_pipeline.py Line 1814 in ed0ee5b
|
The existing test parameters do not test this argument in presence of explicit mention of Also, curious what is your point of view about L1578 above? I made a comment/question above. |
This was an overlook I am going to add a test case where we explicitly mention |
@fnhirwa Can I please request to keep the existing test as it is, and add a new test for |
sure let me add the separate test for this |
why is the readthedocs build failing, any idea? Could you push again and restart? |
seems to have been a one-off... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Approved in principle. Will merge when CI shows completed with full success.
Reference Issues/PRs
fixes #6405
What does this implement/fix? Explain your changes.
The issue was the way we were handling the complementation of the columns.
PR checklist
For all contributions