Skip to content

testWeave_random_injection.sh: fix random seed for predictable test results

Description

The test script testWeave_random_injection.sh tests Weave's recovery of an injected signal with random parameters. Because the top-list comparison is quite fragile, this test occasionally fails depending on which random parameters are chosen. This MR fixes the random seed used for the test so that it now reliably passes. (I ran it 500 times in a row to confirm this!)

API Changes and Justification

Backwards Compatible Changes

  • This change does not modify any class/function/struct/type definitions in a public C header file or any Python class/function definitions
  • This change adds new classes/functions/structs/types to a public C header file or Python module

Backwards Incompatible Changes

  • This change modifies an existing class/function/struct/type definition in a public C header file or Python module
  • This change removes an existing class/function/struct/type from a public C header file or Python module

Review Status

N/A

Merge request reports