We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 8f69aa8 commit 3c818b9Copy full SHA for 3c818b9
generate_uris.py
@@ -6,6 +6,7 @@
6
7
RESULT_DIR = "lists"
8
9
+SEED=42
10
11
import glob
12
from pathlib import Path
@@ -16,7 +17,8 @@ def is_test_file(filename: str):
16
17
return filename.startswith('L') or filename.startswith('M') or filename.startswith('S')
18
19
def get_subsets(uris: list, subsets: dict):
- uris_left = uris.copy()
20
+ rand = random.Random(SEED)
21
+ uris_left = rand.sample(uris, len(uris))
22
random.shuffle(uris_left)
23
answer = {}
24
for subsetname in subsets:
0 commit comments