From 087c8d095117fa8960fc761848cefb3f06d12edf Mon Sep 17 00:00:00 2001 From: Giovanni Maria Manduca <425gioviok@gmail.com> Date: Sun, 8 Jun 2025 17:05:02 +0200 Subject: [PATCH 01/11] setup clockwork.json --- Engines/Clockwork.json | 58 ++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 58 insertions(+) create mode 100644 Engines/Clockwork.json diff --git a/Engines/Clockwork.json b/Engines/Clockwork.json new file mode 100644 index 00000000..6e6dad40 --- /dev/null +++ b/Engines/Clockwork.json @@ -0,0 +1,58 @@ +{ + "private" : false, + "nps" : 10000000, + "source" : "https://github.com/official-clockwork/clockwork", + + "build" : { + "path" : "", + "compilers" : ["clang++","g++"], + "cpuflags" : ["AVX2", "FMA", "POPCNT"], + "systems" : ["Windows", "Linux"] + }, + + "test_presets" : { + + "default" : { + "base_branch" : "main", + "book_name" : "UHO_Lichess_4852_v1.epd", + "test_bounds" : "[0.00, 5.00]", + "test_confidence" : "[0.05, 0.05]", + "win_adj" : "movecount=5 score=600", + "draw_adj" : "movenumber=40 movecount=8 score=5" + }, + + "STC" : { + "both_options" : "Threads=1 Hash=16", + "both_time_control" : "8.0+0.08", + "workload_size" : 32 + }, + + "LTC" : { + "both_options" : "Threads=1 Hash=64", + "both_time_control" : "40.0+0.4", + "workload_size" : 8 + }, + + "STC nonregr" : { + "both_options" : "Threads=1 Hash=16", + "both_time_control" : "8.0+0.08", + "workload_size" : 32, + "test_bounds" : "[-4.5, 0.5]" + }, + + "LTC nonregr" : { + "both_options" : "Threads=1 Hash=64", + "both_time_control" : "40.0+0.4", + "workload_size" : 8, + "test_bounds" : "[-4.5, 0.5]" + } + }, + + "tune_presets" : { + "default" : { + "book_name" : "UHO_Lichess_4852_v1.epd", + "win_adj" : "movecount=5 score=600", + "draw_adj" : "movenumber=40 movecount=8 score=5" + } + } +} From 8383ee626736dc0d189e39973446e61870a430e3 Mon Sep 17 00:00:00 2001 From: Giovanni Maria Manduca <425gioviok@gmail.com> Date: Mon, 9 Jun 2025 23:34:28 +0200 Subject: [PATCH 02/11] FMA not required --- Engines/Clockwork.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engines/Clockwork.json b/Engines/Clockwork.json index 6e6dad40..82dd01a6 100644 --- a/Engines/Clockwork.json +++ b/Engines/Clockwork.json @@ -6,7 +6,7 @@ "build" : { "path" : "", "compilers" : ["clang++","g++"], - "cpuflags" : ["AVX2", "FMA", "POPCNT"], + "cpuflags" : ["AVX2", "POPCNT"], "systems" : ["Windows", "Linux"] }, From d1819e42d8f8db7a48d326c0a57a91ce4764ba86 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Mon, 9 Jun 2025 23:39:55 +0200 Subject: [PATCH 03/11] Add Clockwork --- Config/config.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Config/config.json b/Config/config.json index 35f13ffa..ad86dc20 100644 --- a/Config/config.json +++ b/Config/config.json @@ -28,6 +28,7 @@ "Berserk", "Bit-Genie", "BlackMarlin", + "Clockwork", "Demolito", "Drofa", "Equisetum", @@ -45,4 +46,4 @@ "Winter", "Zahak" ] -} \ No newline at end of file +} From b1073a452bef88b340ec8f818839413ce943d905 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Tue, 10 Jun 2025 00:00:36 +0200 Subject: [PATCH 04/11] Update client repo url and remove grantnet engines --- Config/config.json | 24 ++---------------------- 1 file changed, 2 insertions(+), 22 deletions(-) diff --git a/Config/config.json b/Config/config.json index ad86dc20..2f94fad4 100644 --- a/Config/config.json +++ b/Config/config.json @@ -1,6 +1,6 @@ { "client_version" : 38, - "client_repo_url" : "https://github.com/AndyGrant/OpenBench", + "client_repo_url" : "https://github.com/official-clockwork/OpenBench", "client_repo_ref" : "master", "use_cross_approval" : false, @@ -24,26 +24,6 @@ ], "engines" : [ - "4ku", - "Berserk", - "Bit-Genie", - "BlackMarlin", - "Clockwork", - "Demolito", - "Drofa", - "Equisetum", - "Ethereal", - "FabChess", - "Halogen", - "Igel", - "Koivisto", - "Laser", - "RubiChess", - "Seer", - "Stash", - "Stockfish", - "Weiss", - "Winter", - "Zahak" + "Clockwork" ] } From 7447507ace8e34fadee199f2f8276cf0a72e66b5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Fri, 13 Jun 2025 01:27:49 +0200 Subject: [PATCH 05/11] Add test name to `longStatBlock`, used when copying --- OpenBench/templatetags/mytags.py | 1 + 1 file changed, 1 insertion(+) diff --git a/OpenBench/templatetags/mytags.py b/OpenBench/templatetags/mytags.py index 8898b969..2eb0edf2 100644 --- a/OpenBench/templatetags/mytags.py +++ b/OpenBench/templatetags/mytags.py @@ -99,6 +99,7 @@ def longStatBlock(test): lower, elo, upper = OpenBench.stats.Elo(test.results()) lines = [ + 'Test | %s' % (prettyDevName(test)), 'Elo | %0.2f +- %0.2f (95%%)' % (elo, max(upper - elo, elo - lower)), '%-5s | %s Threads=%d Hash=%dMB' % (type_text, timecontrol, threads, hashmb), ] From c216f1e79d1841d20d70781247b6cc794f5f64b6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Fri, 13 Jun 2025 01:28:45 +0200 Subject: [PATCH 06/11] Add ``` when copying text --- OpenBench/static/copy_text.js | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/OpenBench/static/copy_text.js b/OpenBench/static/copy_text.js index a5d72afc..3c5e4a31 100644 --- a/OpenBench/static/copy_text.js +++ b/OpenBench/static/copy_text.js @@ -1,8 +1,10 @@ function copy_text(element_id, keep_url) { - var text = document.getElementById(element_id).innerHTML; + var text = "```\n"; + text += document.getElementById(element_id).innerHTML; text = text.replace(/
/g, "\n"); + text += "\n```"; if (keep_url) text += "\n" + window.location.href; From e6b0a8fb764aa613a9f7bc4d59d906bcf6c5f98f Mon Sep 17 00:00:00 2001 From: 87 Date: Sun, 20 Jul 2025 17:19:31 +0100 Subject: [PATCH 07/11] reduce clockwork nps --- Engines/Clockwork.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engines/Clockwork.json b/Engines/Clockwork.json index 82dd01a6..32713fb8 100644 --- a/Engines/Clockwork.json +++ b/Engines/Clockwork.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 10000000, + "nps" : 5000000, "source" : "https://github.com/official-clockwork/clockwork", "build" : { From c48a877daa0ddfeb4eb96ccc49818327c95cecc2 Mon Sep 17 00:00:00 2001 From: TheRealGioviok <64363733+TheRealGioviok@users.noreply.github.com> Date: Sun, 21 Sep 2025 23:11:33 +0200 Subject: [PATCH 08/11] Update Clockwork.json Change ref nps --- Engines/Clockwork.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engines/Clockwork.json b/Engines/Clockwork.json index 32713fb8..5c0a4d12 100644 --- a/Engines/Clockwork.json +++ b/Engines/Clockwork.json @@ -1,6 +1,6 @@ { "private" : false, - "nps" : 5000000, + "nps" : 3000000, "source" : "https://github.com/official-clockwork/clockwork", "build" : { From 25723ac9c0b93956de755d76ada208542c54fa2a Mon Sep 17 00:00:00 2001 From: 87 Date: Tue, 11 Nov 2025 00:21:58 +0000 Subject: [PATCH 09/11] Reduce test bounds --- Engines/Clockwork.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Engines/Clockwork.json b/Engines/Clockwork.json index 5c0a4d12..7fa6c6c9 100644 --- a/Engines/Clockwork.json +++ b/Engines/Clockwork.json @@ -15,7 +15,7 @@ "default" : { "base_branch" : "main", "book_name" : "UHO_Lichess_4852_v1.epd", - "test_bounds" : "[0.00, 5.00]", + "test_bounds" : "[0.00, 3.00]", "test_confidence" : "[0.05, 0.05]", "win_adj" : "movecount=5 score=600", "draw_adj" : "movenumber=40 movecount=8 score=5" From f30be0d72322c1bb5487624dae6007060b47017c Mon Sep 17 00:00:00 2001 From: 87 Date: Sun, 16 Nov 2025 11:34:54 +0000 Subject: [PATCH 10/11] Update nonregr bounds --- Engines/Clockwork.json | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Engines/Clockwork.json b/Engines/Clockwork.json index 7fa6c6c9..87fa58b8 100644 --- a/Engines/Clockwork.json +++ b/Engines/Clockwork.json @@ -37,14 +37,14 @@ "both_options" : "Threads=1 Hash=16", "both_time_control" : "8.0+0.08", "workload_size" : 32, - "test_bounds" : "[-4.5, 0.5]" + "test_bounds" : "[-3.0, 0.0]" }, "LTC nonregr" : { "both_options" : "Threads=1 Hash=64", "both_time_control" : "40.0+0.4", "workload_size" : 8, - "test_bounds" : "[-4.5, 0.5]" + "test_bounds" : "[-3.0, 0.0]" } }, From 92bca9a4f64916ee2060d18f172f3c37e9b8f8ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Eduardo=20C=C3=A1ceres?= Date: Wed, 19 Nov 2025 12:42:09 +0100 Subject: [PATCH 11/11] Show diff without whitespaces --- OpenBench/templatetags/mytags.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/OpenBench/templatetags/mytags.py b/OpenBench/templatetags/mytags.py index 2eb0edf2..c667c0ba 100644 --- a/OpenBench/templatetags/mytags.py +++ b/OpenBench/templatetags/mytags.py @@ -56,7 +56,7 @@ def gitDiffLink(test): return OpenBench.utils.path_join(repo, 'compare', test.dev.sha[:8]) return OpenBench.utils.path_join(repo, 'compare', - '{0}..{1}'.format( test.base.sha[:8], test.dev.sha[:8])) + '{0}..{1}?w=1'.format( test.base.sha[:8], test.dev.sha[:8])) def shortStatBlock(test):