now we actually sort before pseudo-randomizing so we don't depend on dict order
This commit is contained in:
parent
1a4965fd83
commit
31877972c2
2 changed files with 28545 additions and 28544 deletions
57086
data/output.txt
57086
data/output.txt
File diff suppressed because it is too large
Load diff
|
@ -40,7 +40,8 @@ def main(fname, oname = None, verbose = True):
|
||||||
invalid = 0
|
invalid = 0
|
||||||
unparsed = 0
|
unparsed = 0
|
||||||
|
|
||||||
for jcard_name in jcards:
|
# force a stable ordering, we will randomize later
|
||||||
|
for jcard_name in sorted(jcards):
|
||||||
card = compile_duplicated(jcards[jcard_name])
|
card = compile_duplicated(jcards[jcard_name])
|
||||||
if card:
|
if card:
|
||||||
if card.valid:
|
if card.valid:
|
||||||
|
|
Loading…
Reference in a new issue