Have server provide explicit int32 seeds
This commit is contained in:
1 parent
795f1a0528
commit
076f7af5ea
4 files changed
+9
-7
No files matched your search
@@ -249,10 +249,11 @@ def workload_to_dictionary(test, result, machine):
|
||||
cutechess_cnt = workload['distribution']['cutechess-count']
|
||||
pairs_per_cnt = workload['distribution']['games-per-cutechess'] // 2
|
||||
|
||||
if test.test_mode == 'DATAGEN' and not test.play_reverses:
|
||||
test.book_index += cutechess_cnt * pairs_per_cnt * 2
|
||||
else:
|
||||
if test.test_mode != 'DATAGEN':
|
||||
test.book_index += cutechess_cnt * pairs_per_cnt
|
||||
else:
|
||||
workload['test']['genfens_seeds'] = [
|
||||
random.randint(0, 2**32 - 1) for x in range(machine.info['concurrency'])]
|
||||
|
||||
test.save()
|
||||
|
||||
|
||||
Reference in new issue
Block a user