Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign upGitHub is where the world builds software
Millions of developers and companies build, ship, and maintain their software on GitHub — the largest and most advanced development platform in the world.
Fix OpWorkflowModelLocalTest due to flaky XGBoost training #494
Conversation
Codecov Report
@@ Coverage Diff @@
## master #494 +/- ##
==========================================
- Coverage 82.63% 78.83% -3.81%
==========================================
Files 345 345
Lines 11702 11702
Branches 388 388
==========================================
- Hits 9670 9225 -445
- Misses 2032 2477 +445
Continue to review full report at Codecov.
|
LGTM |
Add a description of flakiness, and how your fix addresses it |
LGTM |
…of the same class
7759915
into
master
Source of flakiness: default
BinaryClassificationModelSelector.withTrainValidationSplit
sometimes makes the training set contain only positive or negative labels, which fails the training for xgboost.We address this flakiness by fixing the seed in the
DataSplitter
forwithTrainValidationSplit
, which will result in the same train-test split every time the test is run.