Skip to content

Seed the discrepancy test sample - #685

Merged
ConnectedSystems merged 1 commit into
SALib:mainfrom
DresdenGman:bug_681
Sep 18, 2026
Merged

ConnectedSystems merged 1 commit into
SALib:mainfrom
DresdenGman:bug_681

Conversation

@DresdenGman

Copy link
Copy Markdown
Contributor

Summary

  • pass a fixed seed to the Latin hypercube sample in test_discrepancy
  • make the numerical assertion deterministic

Validation

  • reproduced 5 failures across 250 unseeded repetitions
  • focused test passed 20/20 with the fixed seed
  • 207 related suite tests passed; one unrelated pre-existing stochastic test was excluded

Closes #681

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.

test_discrepancy is flaky due to unseeded latin.sample call

2 participants