Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 3 additions & 22 deletions Config/config.json
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -24,25 +24,6 @@
],

"engines" : [
"4ku",
"Berserk",
"Bit-Genie",
"BlackMarlin",
"Demolito",
"Drofa",
"Equisetum",
"Ethereal",
"FabChess",
"Halogen",
"Igel",
"Koivisto",
"Laser",
"RubiChess",
"Seer",
"Stash",
"Stockfish",
"Weiss",
"Winter",
"Zahak"
"Clockwork"
]
}
}
58 changes: 58 additions & 0 deletions Engines/Clockwork.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
{
"private" : false,
"nps" : 3000000,
"source" : "https://github.com/official-clockwork/clockwork",

"build" : {
"path" : "",
"compilers" : ["clang++","g++"],
"cpuflags" : ["AVX2", "POPCNT"],
"systems" : ["Windows", "Linux"]
},

"test_presets" : {

"default" : {
"base_branch" : "main",
"book_name" : "UHO_Lichess_4852_v1.epd",
"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"
},

"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" : "[-3.0, 0.0]"
},

"LTC nonregr" : {
"both_options" : "Threads=1 Hash=64",
"both_time_control" : "40.0+0.4",
"workload_size" : 8,
"test_bounds" : "[-3.0, 0.0]"
}
},

"tune_presets" : {
"default" : {
"book_name" : "UHO_Lichess_4852_v1.epd",
"win_adj" : "movecount=5 score=600",
"draw_adj" : "movenumber=40 movecount=8 score=5"
}
}
}
4 changes: 3 additions & 1 deletion OpenBench/static/copy_text.js
Original file line number Diff line number Diff line change
@@ -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(/<br>/g, "\n");
text += "\n```";

if (keep_url)
text += "\n" + window.location.href;
Expand Down
3 changes: 2 additions & 1 deletion OpenBench/templatetags/mytags.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):

Expand Down Expand Up @@ -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),
]
Expand Down