Skip to content

Commit 6a0c99f

Browse files
committed
Added seed input for reproducible sampling in pre-production tests workflow
1 parent 2cc5758 commit 6a0c99f

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

.github/workflows/pre_production_tests.yml

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,11 @@ on:
1212
description: "The maximum number of SQL test cases to run"
1313
required: false
1414
default: 500
15+
seed:
16+
type: string
17+
description: "Random seed for reproducible sampling (float in [-1.0, 1.0]). Leave blank to auto-generate."
18+
required: false
19+
default: ''
1520

1621
jobs:
1722
run-pre-production-tests:
@@ -20,6 +25,7 @@ jobs:
2025
with:
2126
eval_function: ${{ inputs.eval_function }}
2227
sql_limit: ${{ inputs.sql_limit }}
28+
seed: ${{ inputs.seed }}
2329
secrets:
2430
TEST_API_ENDPOINT: ${{ secrets.TEST_API_ENDPOINT }}
2531
DB_USER: ${{ secrets.DB_USER }}

0 commit comments

Comments
 (0)