Skip to content

Conversation

@Stephen0512
Copy link

Description

This PR sets a fixed global random seed after imports in the test file to ensure deterministic and reproducible test behavior.

Motivation

Some tests rely on randomness without a fixed seed, which can lead to flaky tests, inconsistent CI results, and difficulty reproducing failures.

Change

A global random seed is initialized to make random behavior consistent across test runs.

Benefits

  • More reproducible and reliable tests
  • Easier debugging of failures
  • Consistent CI behavior

The issue was identified during an ongoing research project.

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.

1 participant