Complete overhaul of how engine options are handled

Removed worker_limit and thread_limit
Relocated some settings in the engine configs
Renamed the test_modes and tune_modes to x_presets
Added a default preset grouping, which others can extend
Complete rewrite of create_test.js, with the hope to generalize with create_tune.js
Cleanups of the create_test.html for warnings due to missing html attributes
This commit is contained in:
andrew authored and Andrew Grant committed 2023-11-16 20:25:11 -05:00
1 parent 37cc4a5b96
commit 9123444d22
13 files changed
+185 -249

No files matched your search

+23 -24
View File
@@ -1,14 +1,8 @@
{
"private" : false,
"nps" : 1128000,
"base" : "master",
"source" : "https://github.com/AndyGrant/Ethereal",
"bounds" : "[0.00, 3.00]",
"book" : "Pohl.epd",
"win_adj" : "movecount=3 score=400",
"draw_adj" : "movenumber=40 movecount=8 score=10",
"build" : {
"path" : "src",
"compilers" : ["clang", "gcc"],
@@ -16,38 +10,43 @@
"systems" : ["Windows", "Linux"]
},
"test_modes" : {
"test_presets" : {
"default" : {
"base_branch" : "master",
"book_name" : "UHO_4060_v2.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"
},
"STC" : {
"options" : "Threads=1 Hash=8",
"timecontrol" : "10.0+0.1",
"report_rate" : 16,
"workload_size" : 32
"both_options" : "Threads=1 Hash=8",
"both_time_control" : "10.0+0.1",
"workload_size" : 32
},
"LTC" : {
"options" : "Threads=1 Hash=64",
"timecontrol" : "60.0+0.6",
"report_rate" : 4,
"workload_size" : 8
"both_options" : "Threads=1 Hash=64",
"both_time_control" : "60.0+0.6",
"workload_size" : 8
},
"SMP STC" : {
"options" : "Threads=8 Hash=64",
"timecontrol" : "5.0+0.05",
"report_rate" : 1,
"workload_size" : 64
"both_options" : "Threads=8 Hash=64",
"both_time_control" : "5.0+0.05",
"workload_size" : 64
},
"SMP LTC" : {
"options" : "Threads=8 Hash=256",
"timecontrol" : "20.0+0.2",
"report_rate" : 1,
"workload_size" : 16
"both_options" : "Threads=8 Hash=256",
"both_time_control" : "20.0+0.2",
"workload_size" : 16
}
},
"tune_modes" : {
"tune_presets" : {
"STC" : {
"options" : "Threads=1 Hash=8",