From 1277763350c63f6e1dcd41061a8556861d9b4d7d Mon Sep 17 00:00:00 2001 From: Slava Pestov Date: Thu, 23 Oct 2025 13:13:47 -0400 Subject: [PATCH] scale-test: Use the same seed for the RNG every time --- utils/scale-test | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utils/scale-test b/utils/scale-test index 1b172afd71962..e40500800be6b 100755 --- a/utils/scale-test +++ b/utils/scale-test @@ -802,6 +802,9 @@ def main(): '--sum-multi', action='store_true', default=False, help='simulate a multi-primary run and sum stats') + # Deterministic seed for the RNG. + random.seed(123456789) + args = parser.parse_args(sys.argv[1:]) if args.self_test: exit(self_test())