From 27d9296ce10c48db73082837b09a43266bb97b12 Mon Sep 17 00:00:00 2001 From: andrew Date: Mon, 26 Feb 2024 20:12:03 -0500 Subject: [PATCH] Update NPS values; Bugfixes for bench_all.py --- Engines/Akimbo.json | 2 +- Engines/Alexandria.json | 2 +- Engines/Altair.json | 2 +- Engines/BlackMarlin.json | 2 +- Engines/Caissa.json | 2 +- Engines/Carp.json | 2 +- Engines/Clover.json | 2 +- Engines/Drofa.json | 2 +- Engines/Ethereal.json | 2 +- Engines/Midnight.json | 2 +- Engines/Obsidian.json | 2 +- Engines/Polaris.json | 2 +- Engines/RubiChess.json | 2 +- Engines/Seer.json | 2 +- Engines/Stash.json | 2 +- Engines/Stockfish.json | 4 ++-- Engines/Stormphrax.json | 2 +- Engines/Svart.json | 2 +- Engines/Viridithas.json | 2 +- Engines/Wahoo.json | 2 +- Engines/Weiss.json | 2 +- Engines/Willow.json | 2 +- Engines/Winter.json | 2 +- Scripts/bench_all.py | 10 +++++++--- 24 files changed, 31 insertions(+), 27 deletions(-) diff --git a/Engines/Akimbo.json b/Engines/Akimbo.json index b5ed408..54cac39 100644 --- a/Engines/Akimbo.json +++ b/Engines/Akimbo.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 2254037, + "nps" : 1075000, "source" : "https://github.com/jw1912/akimbo", "build" : { diff --git a/Engines/Alexandria.json b/Engines/Alexandria.json index 4647892..d563b3a 100644 --- a/Engines/Alexandria.json +++ b/Engines/Alexandria.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1479750, + "nps" : 1025000, "source" : "https://github.com/PGG106/Alexandria", "build" : { diff --git a/Engines/Altair.json b/Engines/Altair.json index a7937b3..e3cbb58 100644 --- a/Engines/Altair.json +++ b/Engines/Altair.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1130417, + "nps" : 990000, "source" : "https://github.com/Alex2262/AltairChessEngine", "build" : { diff --git a/Engines/BlackMarlin.json b/Engines/BlackMarlin.json index 8bb5674..6abf9e8 100644 --- a/Engines/BlackMarlin.json +++ b/Engines/BlackMarlin.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1066000, + "nps" : 925000, "source" : "https://github.com/dsekercioglu/blackmarlin", "build" : { diff --git a/Engines/Caissa.json b/Engines/Caissa.json index b81b4b5..0f31399 100644 --- a/Engines/Caissa.json +++ b/Engines/Caissa.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1450000, + "nps" : 1340000, "source" : "https://github.com/Witek902/Caissa", "build" : { diff --git a/Engines/Carp.json b/Engines/Carp.json index ef023f2..32dbddc 100644 --- a/Engines/Carp.json +++ b/Engines/Carp.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1761213, + "nps" : 975000, "source" : "https://github.com/dede1751/carp", "build" : { diff --git a/Engines/Clover.json b/Engines/Clover.json index 2abee1b..4b703e8 100644 --- a/Engines/Clover.json +++ b/Engines/Clover.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1888791, + "nps" : 850000, "source" : "https://github.com/lucametehau/CloverEngine", "build" : { diff --git a/Engines/Drofa.json b/Engines/Drofa.json index 826318b..2675739 100644 --- a/Engines/Drofa.json +++ b/Engines/Drofa.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1090000, + "nps" : 1165000, "source" : "https://github.com/justNo4b/Drofa", "build" : { diff --git a/Engines/Ethereal.json b/Engines/Ethereal.json index dd4a8cd..5ca4360 100644 --- a/Engines/Ethereal.json +++ b/Engines/Ethereal.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1148000, + "nps" : 975000, "source" : "https://github.com/AndyGrant/Ethereal", "build" : { diff --git a/Engines/Midnight.json b/Engines/Midnight.json index b574c85..656518e 100644 --- a/Engines/Midnight.json +++ b/Engines/Midnight.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1790111, + "nps" : 912000, "source" : "https://github.com/archishou/MidnightChessEngine", "build" : { diff --git a/Engines/Obsidian.json b/Engines/Obsidian.json index cf3d29f..db760af 100644 --- a/Engines/Obsidian.json +++ b/Engines/Obsidian.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1800000, + "nps" : 1000000, "base" : "main", "source" : "https://github.com/gab8192/Obsidian", diff --git a/Engines/Polaris.json b/Engines/Polaris.json index e223a9c..fea341c 100644 --- a/Engines/Polaris.json +++ b/Engines/Polaris.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 4050590, + "nps" : 2057000, "source" : "https://github.com/Ciekce/Polaris", "build" : { diff --git a/Engines/RubiChess.json b/Engines/RubiChess.json index f9f2e87..9e1e4f2 100644 --- a/Engines/RubiChess.json +++ b/Engines/RubiChess.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 848000, + "nps" : 760000, "source" : "https://github.com/Matthies/RubiChess", "build" : { diff --git a/Engines/Seer.json b/Engines/Seer.json index 7ce9752..caa9b31 100644 --- a/Engines/Seer.json +++ b/Engines/Seer.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 764000, + "nps" : 785000, "source" : "https://github.com/connormcmonigle/seer-nnue", "build" : { diff --git a/Engines/Stash.json b/Engines/Stash.json index e41ddf8..ae2c8bf 100644 --- a/Engines/Stash.json +++ b/Engines/Stash.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1700000, + "nps" : 1615000, "source" : "https://github.com/mhouppin/stash-bot", "build" : { diff --git a/Engines/Stockfish.json b/Engines/Stockfish.json index 73d4043..7d09280 100644 --- a/Engines/Stockfish.json +++ b/Engines/Stockfish.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1008000, + "nps" : 1025000, "source" : "https://github.com/AndyGrant/Stockfish", "build" : { @@ -13,7 +13,7 @@ "test_presets" : { "default" : { - "base_branch" : "ob_16", + "base_branch" : "ob_16.1", "book_name" : "Pohl.epd", "test_bounds" : "[0.00, 2.00]", "test_confidence" : "[0.05, 0.05]", diff --git a/Engines/Stormphrax.json b/Engines/Stormphrax.json index f142149..99674c5 100644 --- a/Engines/Stormphrax.json +++ b/Engines/Stormphrax.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1938751, + "nps" : 870000, "source" : "https://github.com/Ciekce/Stormphrax", "build" : { diff --git a/Engines/Svart.json b/Engines/Svart.json index f1a37b6..efc6cba 100644 --- a/Engines/Svart.json +++ b/Engines/Svart.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 3149883, + "nps" : 1350000, "source" : "https://github.com/crippa1337/svart", "build" : { diff --git a/Engines/Viridithas.json b/Engines/Viridithas.json index 3614273..439826a 100644 --- a/Engines/Viridithas.json +++ b/Engines/Viridithas.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1338871, + "nps" : 865000, "source" : "https://github.com/cosmobobak/viridithas", "build" : { diff --git a/Engines/Wahoo.json b/Engines/Wahoo.json index d4a4e3a..821ea2e 100644 --- a/Engines/Wahoo.json +++ b/Engines/Wahoo.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 5908851, + "nps" : 2680000, "source" : "https://github.com/spamdrew128/Wahoo", "build" : { diff --git a/Engines/Weiss.json b/Engines/Weiss.json index 5a26704..fdcd362 100644 --- a/Engines/Weiss.json +++ b/Engines/Weiss.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1685000, + "nps" : 1090000, "source" : "https://github.com/TerjeKir/weiss", "build" : { diff --git a/Engines/Willow.json b/Engines/Willow.json index 2987276..8f01e3a 100644 --- a/Engines/Willow.json +++ b/Engines/Willow.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 1417092, + "nps" : 850000, "source" : "https://github.com/Adam-Kulju/Willow", "build" : { diff --git a/Engines/Winter.json b/Engines/Winter.json index 6e73607..3091361 100644 --- a/Engines/Winter.json +++ b/Engines/Winter.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 644000, + "nps" : 360000, "source" : "https://github.com/rosenthj/Winter", "build" : { diff --git a/Scripts/bench_all.py b/Scripts/bench_all.py index 1717229..aaf6852 100644 --- a/Scripts/bench_all.py +++ b/Scripts/bench_all.py @@ -48,7 +48,7 @@ def get_public_engine(engine, config): make_path = config['build']['path'] branch = config['test_presets']['default']['base_branch'] - out_path = os.path.join('Engines', engine) + out_path = os.path.join('Engines', '%s-%s' % (engine, branch)) target = url_join(config['source'], 'archive', '%s.zip' % (branch)) net_sha = config.get('network', {}).get('sha') @@ -65,8 +65,8 @@ def get_public_engine(engine, config): def get_private_engine(engine, config): - out_path = os.path.join('Engines', engine) branch = config['test_presets']['default']['base_branch'] + out_path = os.path.join('Engines', '%s-%s' % (engine, branch)) # Format an API request to get the most recent openbench.yml workflow on the primary branch api_repo = config['source'].replace('github.com', 'api.github.com/repos') @@ -147,8 +147,12 @@ if __name__ == '__main__': for engine in engines: + # Files are saved in Engines/- + branch = configs[engine]['test_presets']['default']['base_branch'] + binary = os.path.join('Engines', '%s-%s' % (engine, branch)) + # Builds may have failed in previous steps, which we can ignore - if not (bin_path := check_for_engine_binary(os.path.join('Engines', engine))): + if not (bin_path := check_for_engine_binary(binary)): print ('Unable to find binary for %s...' % (engine)) continue