Add buttons for STC & LTC using SMP
This commit is contained in:
1 parent
9dbe572d1b
commit
7ffa1503b0
2 files changed
+31
-2
No files matched your search
+16
-2
@@ -10,20 +10,34 @@ FRAMEWORK_DEFAULTS = {
|
|||||||
# Default to uci since everyone uses it
|
# Default to uci since everyone uses it
|
||||||
'protocol' : 'uci',
|
'protocol' : 'uci',
|
||||||
|
|
||||||
# Defaults for Short Time Control tests (default on newTest)
|
# Defaults for Short Time Control tests
|
||||||
'stc' : {
|
'stc' : {
|
||||||
'threads' : 1,
|
'threads' : 1,
|
||||||
'hash' : 8,
|
'hash' : 8,
|
||||||
'timecontrol' : '10.0+0.1',
|
'timecontrol' : '10.0+0.1',
|
||||||
},
|
},
|
||||||
|
|
||||||
# Defaults for Long Time Control tests (ease of submitting LTC)
|
# Defaults for Long Time Control tests
|
||||||
'ltc' : {
|
'ltc' : {
|
||||||
'threads' : 1,
|
'threads' : 1,
|
||||||
'hash' : 64,
|
'hash' : 64,
|
||||||
'timecontrol' : '60.0+0.6',
|
'timecontrol' : '60.0+0.6',
|
||||||
},
|
},
|
||||||
|
|
||||||
|
# Defaults for Short Time Control tests with SMP
|
||||||
|
'smpstc' : {
|
||||||
|
'threads' : 8,
|
||||||
|
'hash' : 64,
|
||||||
|
'timecontrol' : '5.0+0.05',
|
||||||
|
},
|
||||||
|
|
||||||
|
# Defaults for Long Time Control tests with SMP
|
||||||
|
'smpltc' : {
|
||||||
|
'threads' : 8,
|
||||||
|
'hash' : 256,
|
||||||
|
'timecontrol' : '20.0+0.2',
|
||||||
|
},
|
||||||
|
|
||||||
# SPRT bounds and confidence values
|
# SPRT bounds and confidence values
|
||||||
'elolower' : 0.0,
|
'elolower' : 0.0,
|
||||||
'eloupper' : 5.0,
|
'eloupper' : 5.0,
|
||||||
|
|||||||
@@ -12,6 +12,18 @@
|
|||||||
document.getElementById("baseoptions").value = "Threads={{config.ltc.threads}} Hash={{config.ltc.hash}}";
|
document.getElementById("baseoptions").value = "Threads={{config.ltc.threads}} Hash={{config.ltc.hash}}";
|
||||||
document.getElementById("timecontrol").value = "{{config.ltc.timecontrol}}"
|
document.getElementById("timecontrol").value = "{{config.ltc.timecontrol}}"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
function setupSMPSTC() {
|
||||||
|
document.getElementById("devoptions").value = "Threads={{config.smpstc.threads}} Hash={{config.smpstc.hash}}";
|
||||||
|
document.getElementById("baseoptions").value = "Threads={{config.smpstc.threads}} Hash={{config.smpstc.hash}}";
|
||||||
|
document.getElementById("timecontrol").value = "{{config.smpstc.timecontrol}}"
|
||||||
|
}
|
||||||
|
|
||||||
|
function setupSMPLTC() {
|
||||||
|
document.getElementById("devoptions").value = "Threads={{config.smpltc.threads}} Hash={{config.smpltc.hash}}";
|
||||||
|
document.getElementById("baseoptions").value = "Threads={{config.smpltc.threads}} Hash={{config.smpltc.hash}}";
|
||||||
|
document.getElementById("timecontrol").value = "{{config.smpltc.timecontrol}}"
|
||||||
|
}
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
{% block content %}
|
{% block content %}
|
||||||
@@ -91,4 +103,7 @@
|
|||||||
</form>
|
</form>
|
||||||
<button onClick="setupSTC()">Setup STC</button>
|
<button onClick="setupSTC()">Setup STC</button>
|
||||||
<button onClick="setupLTC()">Setup LTC</button>
|
<button onClick="setupLTC()">Setup LTC</button>
|
||||||
|
<br>
|
||||||
|
<button onClick="setupSMPSTC()">Setup SMP STC</button>
|
||||||
|
<button onClick="setupSMPLTC()">Setup SMP LTC</button>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
Reference in new issue
Block a user