now we actually sort before pseudo-randomizing so we don't depend on dict order

This commit is contained in:
Bill Zorn 2015-07-14 20:40:56 -07:00
parent 1a4965fd83
commit 31877972c2
2 changed files with 28545 additions and 28544 deletions

File diff suppressed because it is too large Load diff

View file

@ -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: