Skip to content

Fix randomness between runs caused by UC reform#1359

Merged
nikhilwoodruff merged 2 commits into
masterfrom
fix-random-seed
Oct 15, 2025
Merged

Fix randomness between runs caused by UC reform#1359
nikhilwoodruff merged 2 commits into
masterfrom
fix-random-seed

Conversation

@nikhilwoodruff

Copy link
Copy Markdown
Collaborator

The UC reform logic was using numpy's global random state, which caused different results on each run. This changes it to use a seeded random number generator for reproducible outputs.

Closes #1358

@MaxGhenis

MaxGhenis commented Oct 15, 2025

Copy link
Copy Markdown
Collaborator

See also #1355 for a more general solution

@nikhilwoodruff nikhilwoodruff merged commit b234722 into master Oct 15, 2025
2 checks passed
@nikhilwoodruff nikhilwoodruff deleted the fix-random-seed branch October 15, 2025 12:18
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.

Randomness between runs caused by UC reform

2 participants