Skip to content

Commit 8eac7c3

Browse files
committed
Make sampling deterministic
1 parent ae09a7f commit 8eac7c3

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/rule-sample.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,7 @@
33
import glob
44
import random
55
rulefiles = glob.glob("src/chrome/content/rules/*.xml")
6+
rulefiles.sort() # determinism
67
random.seed(0)
78
count = 0
89

0 commit comments

Comments
 (0)