From 26abff586499ad368fa4d27f6b76fb439e7466c3 Mon Sep 17 00:00:00 2001 From: Daniel Rosel Date: Fri, 30 Jan 2026 13:57:40 +0100 Subject: [PATCH] chore: fixing tests with seed determinism --- experiments/procesing/tests/test_demand.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/experiments/procesing/tests/test_demand.py b/experiments/procesing/tests/test_demand.py index 18dce5d..d964da2 100644 --- a/experiments/procesing/tests/test_demand.py +++ b/experiments/procesing/tests/test_demand.py @@ -6,6 +6,7 @@ from procesing.steps import ( ) def test_compute_demand(pipeline_context): + random.seed(42) # deterministic test step = ComputeDemandStep(context=pipeline_context) # Test with normal interaction data @@ -26,6 +27,7 @@ def test_compute_demand(pipeline_context): def test_compute_demand_skewed(pipeline_context): + random.seed(42) # deterministic test step = ComputeDemandStep(context=pipeline_context) # Test with normal interaction data