Skip to content

Make tests deterministic #158

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

Merged
merged 6 commits into from
May 19, 2025
Merged

Make tests deterministic #158

merged 6 commits into from
May 19, 2025

Conversation

benpruitt
Copy link
Contributor

@benpruitt benpruitt commented May 19, 2025

Minor modifications to tests to ensure that they are deterministic (we've had issues with flakey tests due to our liberal use of random in the past). I didn't want to refactor too extensively so the big "fix" here is to just use seeds (in a thread-aware manner).

Base automatically changed from feat/sanitize_calctm to master May 19, 2025 02:01
@benpruitt benpruitt force-pushed the feat/deterministic_tests branch from ef7161b to 0302566 Compare May 19, 2025 02:06
@benpruitt benpruitt requested a review from grinner May 19, 2025 02:06
@benpruitt benpruitt marked this pull request as ready for review May 19, 2025 02:06
Copy link
Contributor

@grinner grinner left a comment

Choose a reason for hiding this comment

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

Basic docstring updates

@benpruitt benpruitt requested a review from grinner May 19, 2025 15:00
@benpruitt benpruitt enabled auto-merge (squash) May 19, 2025 15:01
Copy link
Contributor

@grinner grinner left a comment

Choose a reason for hiding this comment

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

Lgtm

@benpruitt benpruitt merged commit 24334e8 into master May 19, 2025
19 checks passed
@benpruitt benpruitt deleted the feat/deterministic_tests branch May 19, 2025 22:04
@benpruitt benpruitt mentioned this pull request May 19, 2025
3 tasks
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