Skip to content
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

Suppress model-generated warnings in integration tests #1115

Merged
merged 9 commits into from May 19, 2024

Conversation

ablaom
Copy link
Member

@ablaom ablaom commented May 9, 2024

Currently it's painful to check the log for integration tests because some models have a low bar for issuing warnings that are almost certainly irrelevant for the purposes of the integration tests.

In this PR we suppress these warnings. We also:

  • Test all models not in the PATHOLOGIES category, with models flagged using FILTER_GIVEN_ISSUE allowed to silently fail, unless they pass tests, a fact we now report in the log. Previously these latter models were just ignored, along with PATHOLOGIES.
  • Reinstate some models in integration tests previously flagged in issues but now sorted
  • Tidy up test code to reduce some duplication
  • Move "MLJSckitLearnInterface" models in to PATHOLOGIES for now. These add a lot to overall test time. I will post an issue suggesting we might return these to integration tests in the future.

Note: Integration tests are actually skipped in this preliminary PR. They become active in a PR onto master.

@ablaom ablaom marked this pull request as draft May 9, 2024 04:47
@ablaom ablaom marked this pull request as ready for review May 13, 2024 03:46
"https://github.com/rikhuijzer/SIRUS.jl/issues/78" =>
model -> model.package_name == "SIRUS",
"https://github.com/lalvim/PartialLeastSquaresRegressor.jl/issues/29 "*
"(still need release > 2.2.0)" =>
model -> model.package_name == "PartialLeastSquaresRegressor",
"MLJScikitLearnInterface - multiple issues, hangs tests, WIP" =>
model -> model.package_name == "MLJScikitLearnInterface",
"MLJScikitLearnInterface - multiple issues, WIP" =>
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Do we currently have issues with Scikitlearn?

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Actually only the ones flagged under "PATHOLOGIES". But running the tests for all the sk models doubles the test time (something like 4 hours).

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As noted above, I'll open an issue flagging these as disabled.

@ablaom ablaom merged commit bd08451 into dev May 19, 2024
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants