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

Clean up random numbers #236

Merged

Conversation

WilliamJamieson
Copy link
Contributor

@WilliamJamieson WilliamJamieson commented Jul 7, 2023

In a similar fashion (though with no bugs intermittent failures) to spacetelescope/romcal#771, this PR makes all of the "random" numbers generated in the tests deterministic and removes a random number generation overlooked in the maker_utils.

Checklist

@WilliamJamieson WilliamJamieson requested a review from a team as a code owner July 7, 2023 13:29
@codecov
Copy link

codecov bot commented Jul 7, 2023

Codecov Report

Patch and project coverage have no change.

Comparison is base (c0a084d) 94.47% compared to head (299dacc) 94.47%.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #236   +/-   ##
=======================================
  Coverage   94.47%   94.47%           
=======================================
  Files          23       23           
  Lines        1628     1628           
=======================================
  Hits         1538     1538           
  Misses         90       90           
Impacted Files Coverage Δ
src/roman_datamodels/maker_utils/_ref_files.py 96.90% <ø> (ø)

☔ View full report in Codecov by Sentry.
📢 Do you have feedback about the report comment? Let us know in this issue.

Copy link
Collaborator

@PaulHuwe PaulHuwe left a comment

Choose a reason for hiding this comment

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

LGTM

@WilliamJamieson WilliamJamieson merged commit efcb8e1 into spacetelescope:main Jul 7, 2023
13 checks passed
@WilliamJamieson WilliamJamieson deleted the feature/remove_randomness branch July 7, 2023 23:05
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.

2 participants