-
Notifications
You must be signed in to change notification settings - Fork 698
[ENH] Add missing test for forward output of TimeXer
as proposed in #1936
#1951
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
base: main
Are you sure you want to change the base?
[ENH] Add missing test for forward output of TimeXer
as proposed in #1936
#1951
Conversation
this is skipped for now since the version of timexer on main isn't compatible with the contract outlined by the test
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.
tests seem to be failing?
Everything seems to be fine on local, I'll take a look at the failure. |
I think I found the cause, there was an unnecessary predict call inside the |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #1951 +/- ##
=======================================
Coverage ? 87.07%
=======================================
Files ? 136
Lines ? 8624
Branches ? 0
=======================================
Hits ? 7509
Misses ? 1115
Partials ? 0
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. 🚀 New features to boost your workflow:
|
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.
waitasec, should there not be a test in TestAllEstimators
too?
the test in https://github.com/sktime/pytorch-forecasting/blob/main/pytorch_forecasting/tests/test_all_estimators.py#L326 |
I am still a little confused, because:
So, it appears that we are missing conformance tests in |
What does this implement/fix? Explain your changes.
Adds the test for the output shapes of the forward method of
TimeXer
. The test checks the output contract for the model, which is being implemented in #1936. Currently skipped undertest_timexer.py
due to obvious causes of failure i.e current version of model on main is still not updated to the required output contract.What should a reviewer concentrate their feedback on?
Did you add any tests for the change?
Any other comments?
PR checklist
pre-commit install
.To run hooks independent of commit, execute
pre-commit run --all-files