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

-13
View File
@@ -70,22 +70,9 @@ def verify_engine_basics(engine_name, conf):
assert type(conf.get('private')) == bool
assert type(conf.get('nps')) == int and conf['nps'] > 0
assert type(conf.get('base')) == str
assert type(conf.get('source')) == str
assert type(conf.get('bounds')) == str
assert type(conf.get('book')) == str
assert type(conf.get('win_adj')) == str
assert type(conf.get('draw_adj')) == str
assert type(conf.get('build')) == dict
assert type(conf.get('test_modes')) == dict
assert type(conf['test_modes'].get('STC')) == dict
assert type(conf.get('tune_modes')) == dict
assert type(conf['tune_modes'].get('STC')) == dict
def verify_engine_build(engine_name, conf):
assert type(conf['build'].get('cpuflags')) == list