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

Fixing numpy seed in flaky test #437

Merged
merged 2 commits into from
Dec 15, 2022
Merged

Conversation

mmahsereci
Copy link
Contributor

Issue #421 , if available:

Description of changes:
This PR sets a fixed numpy.random.seed for the flaky test mentioned in the issue. It seems to stop the flakiness.

Still not entirely sure why it is flaky but it might be related to hyper-param optimization. In all the failed tests that I checked the lengthscale of the GP was very tiny for some reason (1e-300).

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.

@codecov-commenter
Copy link

Codecov Report

Merging #437 (0f65908) into main (a0b9538) will not change coverage.
The diff coverage is n/a.

@@           Coverage Diff            @@
##             main     #437    +/-   ##
========================================
  Coverage   89.04%   89.04%            
========================================
  Files         137      137            
  Lines        4820     4820            
  Branches      701      547   -154     
========================================
  Hits         4292     4292            
  Misses        403      403            
  Partials      125      125            

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

@apaleyes
Copy link
Collaborator

Thanks a lot for looking into this, Maren!

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

3 participants