Fix tests stopping early due to pair logic
Needed a 2x here
This commit is contained in:
1 parent
37dfb585ad
commit
ffb038b063
1 file changed
+1
-1
+1
-1
@@ -423,7 +423,7 @@ def update_test(request, machine):
|
||||
x = param['value'] + float(request.POST['spsa_%s' % (name)])
|
||||
param['value'] = max(param['min'], min(param['max'], x))
|
||||
|
||||
test.finished = test.games / test.spsa['pairs_per'] > test.spsa['iterations']
|
||||
test.finished = test.games >= 2 * test.spsa['pairs_per'] * test.spsa['iterations']
|
||||
|
||||
test.save()
|
||||
|
||||
|
||||
Reference in new issue
Block a user