-
Notifications
You must be signed in to change notification settings - Fork 235
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
Fix numpy random seed for PySMO test #1264
Conversation
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.
Looks good pending the tests. Thanks for the fix @OOAmusat!
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #1264 +/- ##
==========================================
- Coverage 76.73% 76.72% -0.01%
==========================================
Files 382 382
Lines 61232 61232
Branches 11297 11297
==========================================
- Hits 46985 46982 -3
- Misses 11813 11817 +4
+ Partials 2434 2433 -1 ☔ View full report in Codecov by Sentry. 📢 Have feedback on the report? Share it here. |
* Minor change to trigger tests * Added abs to tolerance check * Run black * Remove string comparison * Tighten tolerance * Fixed kriging test by removing variable dependence * Fixing random seed for kriging test (cherry picked from commit 02c20ac)
Fixes
#1258
Summary/Motivation:
A possible spurious failure was observed in one run of trhe PySMO kriging test (#1258). The error is due to random number generation with numpy, so this change aims to fix the seed for that specific test.
Changes proposed in this PR:
Legal Acknowledgement
By contributing to this software project, I agree to the following terms and conditions for my contribution: