Relocate books; split up books.json

First step towards a more modular config schemea.
Books moved to AndyGrant/openbench-books.
Those books will _never_ be deleted.

Update workload dict. to avoid duplicate json fields for book names
This commit is contained in:
andrew authored and Andrew Grant committed 2023-11-16 20:25:11 -05:00
1 parent 98090b7ad3
commit 5d8704d896
21 files changed
+43 -58

No files matched your search

+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "7bec98239836f219dc41944a768c0506abed950aaec48da69a0782643e90f237",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/2moves_v1.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "6bf81e1ada6a3306bbc8356f7bca1e2984a2828d658799992d5443b7179c934d",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/3moves_FRC.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "4be746a91e3f8af0c9344b1e72d611e9fcfe486843867a55760970a4896f284d",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/4moves_noob.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "1f055af431656f09ee6a09d2448e0b876125f78bb7b404fca2031c403a1541e5",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/8moves_v3.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "648c447ef40614a44d13b78911e81470d8ddb0d3b2711c1b180e990871f5db4f",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/DFRC.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "71c7477ca8c8fb097bb565794d8b5ed8754532f8fb499e9d8b1d397692302a6a",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/Endgames.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "b3e64e0dab84cf451a9ac7ef031f5a2bbcf16c7e21be95298fb03cbf021f5466",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/Pohl.epd.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "aaa7559c5d94e592fe5cca3586cb099d8fc5f13428d4ce84afc4b97811241c7e",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/Pohl.pgn.zip"
}
Binary file not shown.
+4
View File
@@ -0,0 +1,4 @@
{
"sha" : "36f2ec751ab78def6be1307430cbe2cd2ba65ade8d2aaae8f10e3df7d0ea83e1",
"source" : "https://raw.githubusercontent.com/AndyGrant/openbench-books/master/UHO_4060_v2.epd.zip"
}
Binary file not shown.
-55
View File
@@ -1,55 +0,0 @@
{
"2moves_v1.epd" : {
"name" : "2moves_v1.epd",
"sha" : "7bec98239836f219dc41944a768c0506abed950aaec48da69a0782643e90f237",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/2moves_v1.epd.zip"
},
"8moves_v3.epd" : {
"name" : "8moves_v3.epd",
"sha" : "1f055af431656f09ee6a09d2448e0b876125f78bb7b404fca2031c403a1541e5",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/8moves_v3.epd.zip"
},
"3moves_FRC.epd" : {
"name" : "3moves_FRC.epd",
"sha" : "6bf81e1ada6a3306bbc8356f7bca1e2984a2828d658799992d5443b7179c934d",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/3moves_FRC.epd.zip"
},
"4moves_noob.epd" : {
"name" : "4moves_noob.epd",
"sha" : "4be746a91e3f8af0c9344b1e72d611e9fcfe486843867a55760970a4896f284d",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/4moves_noob.epd.zip"
},
"Pohl.epd" : {
"name" : "Pohl.epd",
"sha" : "b3e64e0dab84cf451a9ac7ef031f5a2bbcf16c7e21be95298fb03cbf021f5466",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/Pohl.epd.zip"
},
"Pohl.pgn" : {
"name" : "Pohl.pgn",
"sha" : "aaa7559c5d94e592fe5cca3586cb099d8fc5f13428d4ce84afc4b97811241c7e",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/Pohl.pgn.zip"
},
"DFRC.epd" : {
"name" : "DFRC.epd",
"sha" : "648c447ef40614a44d13b78911e81470d8ddb0d3b2711c1b180e990871f5db4f",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/DFRC.epd.zip"
},
"Endgames.epd" : {
"name" : "Endgames.epd",
"sha" : "71c7477ca8c8fb097bb565794d8b5ed8754532f8fb499e9d8b1d397692302a6a",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/Endgames.epd.zip"
},
"UHO_4060_v2.epd" : {
"name" : "UHO_4060_v2.epd",
"sha" : "36f2ec751ab78def6be1307430cbe2cd2ba65ade8d2aaae8f10e3df7d0ea83e1",
"source" : "https://raw.githubusercontent.com/AndyGrant/OpenBench/master/Books/UHO_4060_v2.epd.zip"
}
}
+1 -1
View File
@@ -63,7 +63,7 @@ OPENBENCH_CONFIG = {
},
# Take a look at Books/books.json
'books' : load_json_config('Books', 'books.json'),
'books' : load_folder_of_configs('Books'),
# Take a look at json file in Engines/
'engines' : load_folder_of_configs('Engines'),
+6 -2
View File
@@ -50,7 +50,6 @@ def get_workload(machine):
machine.workload = test.id; machine.save(); result.save()
return { 'workload' : workload_to_dictionary(test, result, machine) }
def select_workload(machine):
# Find valid workloads, given the current distribution of workers
@@ -169,7 +168,12 @@ def workload_to_dictionary(test, result, machine):
'win_adj' : test.win_adj,
'draw_adj' : test.draw_adj,
'workload_size' : test.workload_size,
'book' : OPENBENCH_CONFIG['books'][test.book_name],
}
workload['test']['book'] = {
'name' : test.book_name,
'sha' : OPENBENCH_CONFIG['books'][test.book_name]['sha'],
'source' : OPENBENCH_CONFIG['books'][test.book_name]['source'],
}
workload['test']['dev'] = {