From b101e5be234c26bf0a4bc95a7e2a6483e794765e Mon Sep 17 00:00:00 2001 From: andrew Date: Thu, 16 Nov 2023 02:05:03 -0500 Subject: [PATCH] Finalize config changes --- Config/config.json | 20 +++++++++++++++++++- Engines/4ku.json | 21 +++++++++------------ Engines/Berserk.json | 21 +++++++++------------ Engines/Bit-Genie.json | 21 +++++++++------------ Engines/BlackMarlin.json | 21 +++++++++------------ Engines/Demolito.json | 21 +++++++++------------ Engines/Drofa.json | 21 +++++++++------------ Engines/FabChess.json | 21 +++++++++------------ Engines/Halogen.json | 21 +++++++++------------ Engines/Igel.json | 21 +++++++++------------ Engines/Koivisto.json | 21 +++++++++------------ Engines/Laser.json | 21 +++++++++------------ Engines/RubiChess.json | 21 +++++++++------------ Engines/Seer.json | 21 +++++++++------------ Engines/Stash.json | 21 +++++++++------------ Engines/Stockfish.json | 21 +++++++++------------ Engines/Weiss.json | 21 +++++++++------------ Engines/Winter.json | 21 +++++++++------------ Engines/Zahak.json | 21 +++++++++------------ OpenBench/config.py | 17 ++++++++--------- 20 files changed, 189 insertions(+), 226 deletions(-) diff --git a/Config/config.json b/Config/config.json index 23a4219..14f660e 100644 --- a/Config/config.json +++ b/Config/config.json @@ -20,7 +20,25 @@ ], "engines" : [ + "4ku", + "Berserk", + "Bit-Genie", + "BlackMarlin", + "Demolito", + "Drofa", "Ethereal", - "Torch" + "FabChess", + "Halogen", + "Igel", + "Koivisto", + "Laser", + "RubiChess", + "Seer", + "Stash", + "Stockfish", + "Torch", + "Weiss", + "Winter", + "Zahak" ] } \ No newline at end of file diff --git a/Engines/4ku.json b/Engines/4ku.json index 704c666..e855ad4 100644 --- a/Engines/4ku.json +++ b/Engines/4ku.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1254000, - "source" : "https://github.com/kz04px/4ku" + "source" : "https://github.com/kz04px/4ku", "build" : { "path" : "", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.pgn", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.pgn", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.pgn", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Berserk.json b/Engines/Berserk.json index c30f1e7..180bfb7 100644 --- a/Engines/Berserk.json +++ b/Engines/Berserk.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1145000, - "source" : "https://github.com/jhonnold/berserk" + "source" : "https://github.com/jhonnold/berserk", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "main", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 3.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "16.0+0.16", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "main", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 3.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Bit-Genie.json b/Engines/Bit-Genie.json index e044566..72202ce 100644 --- a/Engines/Bit-Genie.json +++ b/Engines/Bit-Genie.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 2096000, - "source" : "https://github.com/Aryan1508/Bit-Genie" + "source" : "https://github.com/Aryan1508/Bit-Genie", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/BlackMarlin.json b/Engines/BlackMarlin.json index 818453a..ace16bb 100644 --- a/Engines/BlackMarlin.json +++ b/Engines/BlackMarlin.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1106000, - "source" : "https://github.com/dsekercioglu/blackmarlin" + "source" : "https://github.com/dsekercioglu/blackmarlin", "build" : { "path" : "", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "main", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "main", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Demolito.json b/Engines/Demolito.json index 3f7c9f5..c2a0310 100644 --- a/Engines/Demolito.json +++ b/Engines/Demolito.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1395000, - "source" : "https://github.com/lucasart/Demolito" + "source" : "https://github.com/lucasart/Demolito", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=128", "both_time_control" : "16.0+0.16", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Drofa.json b/Engines/Drofa.json index a5187da..adb4427 100644 --- a/Engines/Drofa.json +++ b/Engines/Drofa.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1163000, - "source" : "https://github.com/justNo4b/Drofa" + "source" : "https://github.com/justNo4b/Drofa", "build" : { "path" : "", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "4moves_noob.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "4moves_noob.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "4moves_noob.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/FabChess.json b/Engines/FabChess.json index 516b4f0..35ea237 100644 --- a/Engines/FabChess.json +++ b/Engines/FabChess.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1012000, - "source" : "https://github.com/fabianvdW/FabChess" + "source" : "https://github.com/fabianvdW/FabChess", "build" : { "path" : "", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Halogen.json b/Engines/Halogen.json index 3e91d59..ede0bad 100644 --- a/Engines/Halogen.json +++ b/Engines/Halogen.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1881000, - "source" : "https://github.com/KierenP/Halogen" + "source" : "https://github.com/KierenP/Halogen", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Igel.json b/Engines/Igel.json index 94fd821..daa7169 100644 --- a/Engines/Igel.json +++ b/Engines/Igel.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 470000, - "source" : "https://github.com/vshcherbyna/igel" + "source" : "https://github.com/vshcherbyna/igel", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 3.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 3.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Koivisto.json b/Engines/Koivisto.json index ab24f52..57f6e16 100644 --- a/Engines/Koivisto.json +++ b/Engines/Koivisto.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1346000, - "source" : "https://github.com/Luecx/Koivisto" + "source" : "https://github.com/Luecx/Koivisto", "build" : { "path" : "src_files", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 2.50]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 2.50]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Laser.json b/Engines/Laser.json index 7240723..d0b3edf 100644 --- a/Engines/Laser.json +++ b/Engines/Laser.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 941000, - "source" : "https://github.com/jeffreyan11/uci-chess-engine" + "source" : "https://github.com/jeffreyan11/uci-chess-engine", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/RubiChess.json b/Engines/RubiChess.json index e8b80fe..1bc0e3d 100644 --- a/Engines/RubiChess.json +++ b/Engines/RubiChess.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 937000, - "source" : "https://github.com/Matthies/RubiChess" + "source" : "https://github.com/Matthies/RubiChess", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Seer.json b/Engines/Seer.json index 3ea5ee9..323d366 100644 --- a/Engines/Seer.json +++ b/Engines/Seer.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 736000, - "source" : "https://github.com/connormcmonigle/seer-nnue" + "source" : "https://github.com/connormcmonigle/seer-nnue", "build" : { "path" : "build", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "main", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "main", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Stash.json b/Engines/Stash.json index bc8c3ab..8cd9be5 100644 --- a/Engines/Stash.json +++ b/Engines/Stash.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1689000, - "source" : "https://github.com/mhouppin/stash-bot" + "source" : "https://github.com/mhouppin/stash-bot", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "4moves_noob.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "4moves_noob.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "4moves_noob.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Stockfish.json b/Engines/Stockfish.json index 2749e37..0e28a8b 100644 --- a/Engines/Stockfish.json +++ b/Engines/Stockfish.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 995000, - "source" : "https://github.com/AndyGrant/Stockfish" + "source" : "https://github.com/AndyGrant/Stockfish", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "ob_16", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 2.00]", @@ -89,20 +89,17 @@ "both_time_control" : "60.0+0.6", "workload_size" : 8, "games" : 40000 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "ob_16", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 2.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=5 score=600", - "draw_adj" : "movenumber=32 movecount=6 score=15" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=5 score=600", + "draw_adj" : "movenumber=32 movecount=6 score=15" + } - }, + } } diff --git a/Engines/Weiss.json b/Engines/Weiss.json index b2c1241..e47c5da 100644 --- a/Engines/Weiss.json +++ b/Engines/Weiss.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 1758000, - "source" : "https://github.com/TerjeKir/weiss" + "source" : "https://github.com/TerjeKir/weiss", "build" : { "path" : "src", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 3.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=512", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 3.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Winter.json b/Engines/Winter.json index 864d2c7..2db0dcd 100644 --- a/Engines/Winter.json +++ b/Engines/Winter.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 661000, - "source" : "https://github.com/rosenthj/Winter" + "source" : "https://github.com/rosenthj/Winter", "build" : { "path" : "", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/Engines/Zahak.json b/Engines/Zahak.json index 453e825..7e56f90 100644 --- a/Engines/Zahak.json +++ b/Engines/Zahak.json @@ -1,7 +1,7 @@ { "private" : false, "nps" : 946000, - "source" : "https://github.com/amanjpro/zahak" + "source" : "https://github.com/amanjpro/zahak", "build" : { "path" : "", @@ -12,7 +12,7 @@ "test_presets" : { - "defaults" : { + "default" : { "base_branch" : "master", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 5.00]", @@ -43,20 +43,17 @@ "both_options" : "Threads=8 Hash=256", "both_time_control" : "20.0+0.2", "workload_size" : 16 - }, + } }, "tune_presets" : { - "defaults" : { - "base_branch" : "master", - "book_name" : "Pohl.epd", - "test_bounds" : "[0.00, 5.00]", - "test_confidence" : "[0.05, 0.05]", - "win_adj" : "movecount=3 score=400", - "draw_adj" : "movenumber=40 movecount=8 score=10" - }, + "default" : { + "book_name" : "Pohl.epd", + "win_adj" : "movecount=3 score=400", + "draw_adj" : "movenumber=40 movecount=8 score=10" + } - }, + } } diff --git a/OpenBench/config.py b/OpenBench/config.py index c30890d..4b00ac8 100644 --- a/OpenBench/config.py +++ b/OpenBench/config.py @@ -52,17 +52,16 @@ def load_book_config(book_name): def load_engine_config(engine_name): - with open(os.path.join(PROJECT_PATH, 'Engines', '%s.json' % (engine_name))) as fin: - conf = json.load(fin) + try: + with open(os.path.join(PROJECT_PATH, 'Engines', '%s.json' % (engine_name))) as fin: + conf = json.load(fin) - verify_engine_basics(engine_name, conf) - verify_engine_build(engine_name, conf) + verify_engine_basics(engine_name, conf) + verify_engine_build(engine_name, conf) - # for test_mode in conf['test_modes']: - # verify_engine_test_mode(test_mode) - # - # for tune_mode in conf['tune_modes']: - # verify_engine_test_mode(test_mode) + except Exception as error: + print (error) + print (engine_name) return conf