Skip to content

Adjust scikit-learn test failure handling#6646

Merged
rapids-bot[bot] merged 6 commits intorapidsai:branch-25.06from
csadorf:ci/adjust-sklearn-test-failure-handling
May 8, 2025
Merged

Adjust scikit-learn test failure handling#6646
rapids-bot[bot] merged 6 commits intorapidsai:branch-25.06from
csadorf:ci/adjust-sklearn-test-failure-handling

Conversation

@csadorf
Copy link
Copy Markdown
Contributor

@csadorf csadorf commented May 8, 2025

  • Fix test_sequential skip for CUDA 11.x by properly handling the skip condition
  • Modify test failure behavior to be more appropriate for different test scenarios:
    • Pull-request: Fail on any test failure to catch all regressions and improvements
    • All other tests: Only fail if pass rate threshold (85%) is not met
  • Reduce verbosity of scikit-learn cuml.accel tests for cleaner test output
  • Increase scikit-learn test pass rate threshold from 80% to 85% to adjust for current pass rate.

csadorf added 4 commits May 8, 2025 09:39
This ensures that we continue to detect major regressions during nightly
tests, but non-deterministic "xpasses" due to previously undetected
flaky tests do not lead to a complete test failure.

Regular test runs will continue to fail for all regressions, including
strict passes so that we can detect improvements related to their
changes.
@csadorf csadorf requested review from a team as code owners May 8, 2025 14:40
@github-actions github-actions Bot added Cython / Python Cython or Python issue ci labels May 8, 2025
@csadorf csadorf added bug Something isn't working non-breaking Non-breaking change and removed Cython / Python Cython or Python issue ci labels May 8, 2025
@csadorf csadorf self-assigned this May 8, 2025
@github-actions github-actions Bot added Cython / Python Cython or Python issue ci labels May 8, 2025
@csadorf
Copy link
Copy Markdown
Contributor Author

csadorf commented May 8, 2025

/merge

@rapids-bot rapids-bot Bot merged commit e433dbc into rapidsai:branch-25.06 May 8, 2025
98 checks passed
@csadorf csadorf deleted the ci/adjust-sklearn-test-failure-handling branch May 8, 2025 22:10
Ofek-Haim pushed a commit to Ofek-Haim/cuml that referenced this pull request May 13, 2025
- Fix test_sequential skip for CUDA 11.x by properly handling the skip condition
- Modify test failure behavior to be more appropriate for different test scenarios:
  - Nightly tests: Only fail if pass rate threshold (85%) is not met
  - Regular test runs: Fail on any test failure to catch all regressions and improvements
- Reduce verbosity of scikit-learn cuml.accel tests for cleaner test output
- Increase scikit-learn test pass rate threshold from 80% to 85% to adjust for current pass rate.

Authors:
  - Simon Adorf (https://github.com/csadorf)

Approvers:
  - James Lamb (https://github.com/jameslamb)
  - Jim Crist-Harif (https://github.com/jcrist)

URL: rapidsai#6646
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working ci Cython / Python Cython or Python issue non-breaking Non-breaking change

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants