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