Skip to content

Commit 216f51a

Browse files
committed
add seed to conftest
1 parent ad91959 commit 216f51a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tests/conftest.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,7 @@ def create_dummy_parquet_table(batch_size: int, seq_len: int) -> Table:
107107
"problem_id": pa.array(["0"] * batch_size, type=pa.string()),
108108
"input_logprobs": pa.array([[0.1] * seq_len for _ in range(batch_size)], type=pa.list_(pa.float32())),
109109
"output_logprobs": pa.array([[0.1] * seq_len for _ in range(batch_size)], type=pa.list_(pa.float32())),
110+
"seed": pa.array([42] * batch_size, type=pa.int64()),
110111
}
111112

112113
# Create table directly from dictionary

0 commit comments

Comments
 (0)