Engine-specific bounds/branch names

This commit is contained in:
Andrew Grant committed 2021-07-06 16:54:31 -04:00
1 parent f0f014ea20
commit 99aa75d8b8
2 files changed
+39 -7

No files matched your search

+24 -3
View File
@@ -38,10 +38,9 @@ OPENBENCH_CONFIG = {
# Test Configuration. For both SPRT and Fixed Games Tests
'tests' : {
'bounds' : '[0.00, 5.00]', # SPRT Elo Bounds
'confidence' : '[0.05, 0.05]', # SPRT Type I/II Confidence
'max_games' : '20000', # Default for Fixed Games
'throughput' : { 'stc' : 1000, 'ltc' : 500, 'smpstc' : 250, 'smpltc' : 125 },
'confidence' : '[0.05, 0.05]', # SPRT Type I/II Confidence
'throughput' : { 'stc' : 1000, 'ltc' : 500, 'smpstc' : 1000, 'smpltc' : 500 },
},
# Book Configuration. When addding a book, follow the provided template.
@@ -89,6 +88,8 @@ OPENBENCH_CONFIG = {
'Ethereal' : {
'nps' : 1060000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/AndyGrant/Ethereal',
'build' : {
@@ -108,6 +109,8 @@ OPENBENCH_CONFIG = {
'Laser' : {
'nps' : 925000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/jeffreyan11/uci-chess-engine',
'build' : {
@@ -127,6 +130,8 @@ OPENBENCH_CONFIG = {
'Weiss' : {
'nps' : 2500000,
'base' : 'master',
'bounds' : '[-1.00, 4.00]',
'source' : 'https://github.com/TerjeKir/weiss',
'build' : {
@@ -146,6 +151,8 @@ OPENBENCH_CONFIG = {
'Demolito' : {
'nps' : 1250000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/lucasart/Demolito',
'build' : {
@@ -165,6 +172,8 @@ OPENBENCH_CONFIG = {
'RubiChess' : {
'nps' : 980000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/Matthies/RubiChess',
'build' : {
@@ -184,6 +193,8 @@ OPENBENCH_CONFIG = {
'FabChess' : {
'nps' : 850000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/fabianvdW/FabChess',
'build' : {
@@ -203,6 +214,8 @@ OPENBENCH_CONFIG = {
'Igel' : {
'nps' : 790000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/vshcherbyna/igel',
'build' : {
@@ -222,6 +235,8 @@ OPENBENCH_CONFIG = {
'Winter' : {
'nps' : 650000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/rosenthj/Winter',
'build' : {
@@ -241,6 +256,8 @@ OPENBENCH_CONFIG = {
'Halogen' : {
'nps' : 1950000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/KierenP/Halogen',
'build' : {
@@ -260,6 +277,8 @@ OPENBENCH_CONFIG = {
'Stash' : {
'nps' : 1850000,
'base' : 'master',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/mhouppin/stash-bot',
'build' : {
@@ -279,6 +298,8 @@ OPENBENCH_CONFIG = {
'Seer' : {
'nps' : 500000,
'base' : 'main',
'bounds' : '[0.00, 5.00]',
'source' : 'https://github.com/connormcmonigle/seer-nnue',
'build' : {
+15 -4
View File
@@ -8,6 +8,8 @@
var Configurations = {
{% for name, data in config.engines.items %}
'{{name}}' : {
'base' : "{{data.base}}",
'bounds' : "{{data.bounds}}",
{% for type, settings in data.testmodes.items %}
'{{type}}' : {
"threads" : "{{settings.threads}}",
@@ -96,15 +98,24 @@
devopt.selected = (hasdefault == false); devnet.add(devopt);
baseopt.selected = (hasdefault == false); basenet.add(baseopt);
}
// Update the Base Branch for the selected Engine
var base_branch = document.getElementById("basebranch");
base_branch.value = Configurations[engine]["base"];
return test_type(); // Refresh the settings for the new Engine
}
function test_type() {
var selection = document.getElementById("test_mode");
var mode = selection.options[selection.selectedIndex].value;
var selectA = document.getElementById("test_mode");
var mode = selectA.options[selectA.selectedIndex].value;
var selectB = document.getElementById("enginename");
var engine = selectB.options[selectB.selectedIndex].value;
if (mode == "SPRT") {
document.getElementById("test_bounds").value = "{{config.tests.bounds}}";
document.getElementById("test_bounds").value = Configurations[engine]["bounds"]
document.getElementById("test_confidence").value = "{{config.tests.confidence}}";
document.getElementById("test_max_games").value = "N/A";
}
@@ -149,7 +160,7 @@
<h3> Base Settings </h3>
<label> Base Bench </label> <input name="basebench"><br>
<label> Base Branch </label> <input value="master" name="basebranch"><br>
<label> Base Branch </label> <input id="basebranch" name="basebranch"><br>
<label> Base Options </label> <input id="baseoptions" name="baseoptions"><br>
<label> Base Network </label> <select id="basenetwork" name="basenetwork"></select><br>