More progress towards NNUE for Client (Windows done?)
This commit is contained in:
1 parent
48cfff38c7
commit
9bd1a0c99d
6 files changed
+90
-69
No files matched your search
+58
-52
@@ -69,6 +69,15 @@ def pathjoin(*args):
|
|||||||
args = [f.lstrip("/").rstrip("/") for f in args]
|
args = [f.lstrip("/").rstrip("/") for f in args]
|
||||||
return "/".join(args) + "/"
|
return "/".join(args) + "/"
|
||||||
|
|
||||||
|
def savedEngineName(sha256, network256):
|
||||||
|
if network256 == None: return sha256
|
||||||
|
return "{0}-{1}".format(sha256, network256)
|
||||||
|
|
||||||
|
def relativeNetworkPath(network256, makepath):
|
||||||
|
root = '../' * makepath.count('/')
|
||||||
|
path = os.path.join(root, 'Networks', network256)
|
||||||
|
return path.replace('\\', '/').rstrip('/').rstrip('\\')
|
||||||
|
|
||||||
def killCutechess(cutechess):
|
def killCutechess(cutechess):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
@@ -203,12 +212,13 @@ def getMachineID():
|
|||||||
print('[NOTE] Machine Is Unregistered')
|
print('[NOTE] Machine Is Unregistered')
|
||||||
return 'None'
|
return 'None'
|
||||||
|
|
||||||
def getEngine(data, engine):
|
def getEngine(data, engine, network):
|
||||||
|
|
||||||
print('Engine {0}'.format(data['test']['engine']))
|
print('Engine {0}'.format(data['test']['engine']))
|
||||||
print('Branch {0}'.format(engine['name']))
|
print('Branch {0}'.format(engine['name']))
|
||||||
print('Commit {0}'.format(engine['sha']))
|
print('Commit {0}'.format(engine['sha']))
|
||||||
print('Source {0}'.format(engine['source']))
|
print('Source {0}'.format(engine['source']))
|
||||||
|
print('')
|
||||||
|
|
||||||
# Extract the zipfile to /tmp/ for future processing
|
# Extract the zipfile to /tmp/ for future processing
|
||||||
# Format: https://github.com/User/Engine/archive/SHA.zip
|
# Format: https://github.com/User/Engine/archive/SHA.zip
|
||||||
@@ -224,6 +234,10 @@ def getEngine(data, engine):
|
|||||||
if not COMPILERS[data['test']['engine']]['default']:
|
if not COMPILERS[data['test']['engine']]['default']:
|
||||||
command.append('CC={0}'.format(COMPILERS[data['test']['engine']]['compiler']))
|
command.append('CC={0}'.format(COMPILERS[data['test']['engine']]['compiler']))
|
||||||
|
|
||||||
|
# Use a EVALFILE= hook if we are using a NNUE Network File
|
||||||
|
if network != None:
|
||||||
|
command.append('EVALFILE={0}'.format(relativeNetworkPath(network, pathway)))
|
||||||
|
|
||||||
# Add any other custom compilation options if we have them
|
# Add any other custom compilation options if we have them
|
||||||
if data['test']['engine'] in CUSTOM_SETTINGS:
|
if data['test']['engine'] in CUSTOM_SETTINGS:
|
||||||
command.extend(CUSTOM_SETTINGS[data['test']['engine']]['args'])
|
command.extend(CUSTOM_SETTINGS[data['test']['engine']]['args'])
|
||||||
@@ -234,7 +248,7 @@ def getEngine(data, engine):
|
|||||||
|
|
||||||
# Move the binary to the /Engines/ directory
|
# Move the binary to the /Engines/ directory
|
||||||
output = '{0}{1}'.format(pathway, engine['name'])
|
output = '{0}{1}'.format(pathway, engine['name'])
|
||||||
destination = addExtension(pathjoin('Engines', engine['sha']).rstrip('/'))
|
destination = addExtension(pathjoin('Engines', savedEngineName(engine['sha'], network)).rstrip('/'))
|
||||||
|
|
||||||
# Check to see if the compiler included a file extension or not
|
# Check to see if the compiler included a file extension or not
|
||||||
if os.path.isfile(output): os.rename(output, destination)
|
if os.path.isfile(output): os.rename(output, destination)
|
||||||
@@ -243,16 +257,13 @@ def getEngine(data, engine):
|
|||||||
# Cleanup the zipfile directory
|
# Cleanup the zipfile directory
|
||||||
shutil.rmtree('tmp')
|
shutil.rmtree('tmp')
|
||||||
|
|
||||||
def getNetworkWeights(network):
|
def getNetworkWeights(server, network):
|
||||||
|
if not network: return
|
||||||
|
fname = pathjoin('Networks', network).rstrip('/')
|
||||||
|
if not os.path.isfile(fname):
|
||||||
|
getFile('{}/networks/download/{}'.format(server, network), fname)
|
||||||
|
|
||||||
if network:
|
def getCutechessCommand(arguments, data, nps):
|
||||||
fname = pathjoin('Engines', os.path.basename(network)).rstrip('/')
|
|
||||||
if not os.path.isfile(fname): getFile(network, fname)
|
|
||||||
return os.path.basename(network)
|
|
||||||
|
|
||||||
return None
|
|
||||||
|
|
||||||
def getCutechessCommand(arguments, data, nps, devnetwork, basenetwork):
|
|
||||||
|
|
||||||
# Parse options for Dev
|
# Parse options for Dev
|
||||||
tokens = data['test']['dev']['options'].split(' ')
|
tokens = data['test']['dev']['options'].split(' ')
|
||||||
@@ -265,8 +276,8 @@ def getCutechessCommand(arguments, data, nps, devnetwork, basenetwork):
|
|||||||
baseoptions = ' option.'.join(['']+tokens)
|
baseoptions = ' option.'.join(['']+tokens)
|
||||||
|
|
||||||
# Ensure .exe extension on Windows
|
# Ensure .exe extension on Windows
|
||||||
devCommand = addExtension(data['test']['dev']['sha'])
|
devCommand = addExtension(savedEngineName(data['test']['dev' ]['sha'], data['test']['dev' ]['network']))
|
||||||
baseCommand = addExtension(data['test']['base']['sha'])
|
baseCommand = addExtension(savedEngineName(data['test']['base']['sha'], data['test']['base']['network']))
|
||||||
|
|
||||||
# Scale the time control for this machine's speed
|
# Scale the time control for this machine's speed
|
||||||
timecontrol = computeAdjustedTimecontrol(arguments, data, nps)
|
timecontrol = computeAdjustedTimecontrol(arguments, data, nps)
|
||||||
@@ -280,7 +291,7 @@ def getCutechessCommand(arguments, data, nps, devnetwork, basenetwork):
|
|||||||
else: variant = 'standard'
|
else: variant = 'standard'
|
||||||
|
|
||||||
# General Cutechess options
|
# General Cutechess options
|
||||||
generalflags = '-repeat -recover -srand {0} -resign {1} -draw {2} -wait 10'.format(
|
generalflags = '-repeat -recover -srand {0} -resign {1} -draw {2}'.format(
|
||||||
int(time.time()), 'movecount=3 score=400', 'movenumber=40 movecount=8 score=10'
|
int(time.time()), 'movecount=3 score=400', 'movenumber=40 movecount=8 score=10'
|
||||||
)
|
)
|
||||||
|
|
||||||
@@ -295,26 +306,18 @@ def getCutechessCommand(arguments, data, nps, devnetwork, basenetwork):
|
|||||||
'{0}-{1}'.format(data['test']['engine'], data['test']['dev']['name'])
|
'{0}-{1}'.format(data['test']['engine'], data['test']['dev']['name'])
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add evaluation weights for the Dev engine if specified
|
|
||||||
if devnetwork:
|
|
||||||
devflags = devflags + " option.EvalFile=" + devnetwork
|
|
||||||
|
|
||||||
# Options for the Base Engine
|
# Options for the Base Engine
|
||||||
baseflags = '-engine dir=Engines/ cmd=./{0} proto={1} tc={2}{3} name={4}'.format(
|
baseflags = '-engine dir=Engines/ cmd=./{0} proto={1} tc={2}{3} name={4}'.format(
|
||||||
baseCommand, data['test']['base']['protocol'], timecontrol, baseoptions,
|
baseCommand, data['test']['base']['protocol'], timecontrol, baseoptions,
|
||||||
'{0}-{1}'.format(data['test']['engine'], data['test']['base']['name'])
|
'{0}-{1}'.format(data['test']['engine'], data['test']['base']['name'])
|
||||||
)
|
)
|
||||||
|
|
||||||
# Add evaluation weights for the Base engine if specified
|
|
||||||
if basenetwork:
|
|
||||||
baseflags = baseflags + " option.EvalFile=" + basenetwork
|
|
||||||
|
|
||||||
# Options for opening selection
|
# Options for opening selection
|
||||||
bookflags = '-openings file=Books/{0} format={1} order=random plies=16'.format(
|
bookflags = '-openings file=Books/{0} format={1} order=random plies=16'.format(
|
||||||
data['test']['book']['name'], data['test']['book']['name'].split('.')[-1]
|
data['test']['book']['name'], data['test']['book']['name'].split('.')[-1]
|
||||||
)
|
)
|
||||||
|
|
||||||
# Save PGN files if requested as Engine-Dev_vs_Engine-Base
|
# Save PGN files if requested, as Engine-Dev_vs_Engine-Base
|
||||||
if SAVE_PGN_FILES:
|
if SAVE_PGN_FILES:
|
||||||
bookflags += ' -pgnout PGNs/{0}-{1}_vs_{0}-{2}'.format(
|
bookflags += ' -pgnout PGNs/{0}-{1}_vs_{0}-{2}'.format(
|
||||||
data['test']['engine'], data['test']['dev']['name'], data['test']['base']['name'])
|
data['test']['engine'], data['test']['dev']['name'], data['test']['base']['name'])
|
||||||
@@ -359,16 +362,19 @@ def parseStreamOutput(output):
|
|||||||
speed = int(re.search(r'[0-9]+', speed).group()) if speed else None
|
speed = int(re.search(r'[0-9]+', speed).group()) if speed else None
|
||||||
return (bench, speed)
|
return (bench, speed)
|
||||||
|
|
||||||
def computeSingleThreadedBenchmark(engine, outqueue, network):
|
def computeSingleThreadedBenchmark(filename, outqueue):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
|
|
||||||
# Assume .exe extensions on Windows; Pass any Network files with the benchmark
|
# Assume .exe extensions on Windows machines
|
||||||
cmdline = './{0} bench'.format(addExtension(os.path.join('Engines', engine).rstrip('/')))
|
pathway = addExtension(os.path.join('Engines', filename).rstrip('/'))
|
||||||
if network: cmdline += " option.EvalFile=" + os.path.join('Engines', network).rstrip('/')
|
|
||||||
|
|
||||||
# Launch the engine and run it's benchmark
|
# Launch the engine and run a benchmark
|
||||||
stdout, stderr = subprocess.Popen(cmdline.split(), stdout=subprocess.PIPE, stderr=subprocess.PIPE).communicate()
|
stdout, stderr = subprocess.Popen(
|
||||||
|
['./{0}'.format(pathway), 'bench'],
|
||||||
|
stdout=subprocess.PIPE,
|
||||||
|
stderr=subprocess.PIPE,
|
||||||
|
).communicate()
|
||||||
|
|
||||||
# Parse output streams for the benchmark data
|
# Parse output streams for the benchmark data
|
||||||
bench, speed = parseStreamOutput(stdout)
|
bench, speed = parseStreamOutput(stdout)
|
||||||
@@ -394,7 +400,7 @@ def computeMultiThreadedBenchmark(arguments, engine, network):
|
|||||||
processes = [
|
processes = [
|
||||||
multiprocessing.Process(
|
multiprocessing.Process(
|
||||||
target=computeSingleThreadedBenchmark,
|
target=computeSingleThreadedBenchmark,
|
||||||
args=(engine['sha'], outqueue, network,)
|
args=(savedEngineName(engine['sha'], network), outqueue,)
|
||||||
) for f in range(int(arguments.threads))
|
) for f in range(int(arguments.threads))
|
||||||
]
|
]
|
||||||
|
|
||||||
@@ -465,7 +471,7 @@ def verifyOpeningBook(data):
|
|||||||
sha = hashlib.sha256(content).hexdigest()
|
sha = hashlib.sha256(content).hexdigest()
|
||||||
|
|
||||||
# Log the SHA verification
|
# Log the SHA verification
|
||||||
print('Correct SHA {0}'.format(data['sha']))
|
print('Correct SHA {0}'.format(data['sha']))
|
||||||
print('Download SHA {0}\n'.format(sha))
|
print('Download SHA {0}\n'.format(sha))
|
||||||
|
|
||||||
# Signal for error when SHAs do not match
|
# Signal for error when SHAs do not match
|
||||||
@@ -474,8 +480,9 @@ def verifyOpeningBook(data):
|
|||||||
def verifyEngine(arguments, data, engine, network):
|
def verifyEngine(arguments, data, engine, network):
|
||||||
|
|
||||||
# Download the engine if we do not already have it
|
# Download the engine if we do not already have it
|
||||||
pathway = addExtension(pathjoin('Engines', engine['sha']).rstrip('/'))
|
name = savedEngineName(engine['sha'], network)
|
||||||
if not os.path.isfile(pathway): getEngine(data, engine)
|
pathway = addExtension(pathjoin('Engines', name).rstrip('/'))
|
||||||
|
if not os.path.isfile(pathway): getEngine(data, engine, network)
|
||||||
|
|
||||||
# Run a group of benchmarks in parallel in order to better scale NPS
|
# Run a group of benchmarks in parallel in order to better scale NPS
|
||||||
# values for this worker. We obtain a bench and average NPS value
|
# values for this worker. We obtain a bench and average NPS value
|
||||||
@@ -602,17 +609,16 @@ def processWorkload(arguments, data):
|
|||||||
# Verify and possibly download the opening book
|
# Verify and possibly download the opening book
|
||||||
if not verifyOpeningBook(data['test']['book']): sys.exit()
|
if not verifyOpeningBook(data['test']['book']): sys.exit()
|
||||||
|
|
||||||
# Download network file(s) if configured
|
# Download network file(s) ( if any are given )
|
||||||
devnetwork = getNetworkWeights(data['test']['dev']['network'])
|
getNetworkWeights(arguments.server, data['test']['dev' ]['network'])
|
||||||
basenetwork = getNetworkWeights(data['test']['base']['network'])
|
getNetworkWeights(arguments.server, data['test']['base']['network'])
|
||||||
|
|
||||||
# Download, Verify, and Benchmark each engine. If we are unable
|
# Download, Verify, and Benchmark each engine
|
||||||
# to obtain a valid bench for an engine, we exit this workload
|
devnps = verifyEngine(arguments, data, data['test']['dev' ], data['test']['dev' ]['network'])
|
||||||
devnps = verifyEngine(arguments, data, data['test']['dev'], devnetwork)
|
basenps = verifyEngine(arguments, data, data['test']['base'], data['test']['base']['network'])
|
||||||
basenps = verifyEngine(arguments, data, data['test']['base'], basenetwork)
|
avgnps = (devnps + basenps) / 2
|
||||||
|
|
||||||
avgnps = (devnps + basenps) / 2
|
command, concurrency = getCutechessCommand(arguments, data, avgnps)
|
||||||
command, concurrency = getCutechessCommand(arguments, data, avgnps, devnetwork, basenetwork)
|
|
||||||
print("Launching Cutechess\n{0}\n".format(command))
|
print("Launching Cutechess\n{0}\n".format(command))
|
||||||
|
|
||||||
cutechess = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
|
cutechess = subprocess.Popen(command.split(), stdout=subprocess.PIPE)
|
||||||
@@ -661,16 +667,17 @@ def main():
|
|||||||
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
os.chdir(os.path.dirname(os.path.abspath(__file__)))
|
||||||
|
|
||||||
# Ensure we have our usual file folder structure
|
# Ensure we have our usual file folder structure
|
||||||
if not os.path.isdir('Engines'): os.mkdir('Engines')
|
if not os.path.isdir('Engines' ): os.mkdir('Engines' )
|
||||||
if not os.path.isdir('Books' ): os.mkdir('Books' )
|
if not os.path.isdir('Networks'): os.mkdir('Networks')
|
||||||
if not os.path.isdir('PGNs' ): os.mkdir('PGNs' )
|
if not os.path.isdir('Books' ): os.mkdir('Books' )
|
||||||
|
if not os.path.isdir('PGNs' ): os.mkdir('PGNs' )
|
||||||
|
|
||||||
# Expect a Username, Password, Server, and Threads value
|
# Expect a Username, Password, Server, and Threads value
|
||||||
p = argparse.ArgumentParser()
|
p = argparse.ArgumentParser()
|
||||||
p.add_argument('-U', '--username', help='Username', required=True)
|
p.add_argument('-U', '--username', help='Username', required=True)
|
||||||
p.add_argument('-P', '--password', help='Password', required=True)
|
p.add_argument('-P', '--password', help='Password', required=True)
|
||||||
p.add_argument('-S', '--server', help='Server Address', required=True)
|
p.add_argument('-S', '--server', help='Server Address', required=True)
|
||||||
p.add_argument('-T', '--threads', help='Number of Threads', required=True)
|
p.add_argument('-T', '--threads', help='Number of Threads', required=True)
|
||||||
arguments = p.parse_args()
|
arguments = p.parse_args()
|
||||||
|
|
||||||
# Make sure we have cutechess installed
|
# Make sure we have cutechess installed
|
||||||
@@ -702,6 +709,5 @@ def main():
|
|||||||
print ('[ERROR] {0}'.format(str(error)))
|
print ('[ERROR] {0}'.format(str(error)))
|
||||||
time.sleep(ERROR_TIMEOUT)
|
time.sleep(ERROR_TIMEOUT)
|
||||||
|
|
||||||
|
|
||||||
if __name__ == '__main__':
|
if __name__ == '__main__':
|
||||||
main()
|
main()
|
||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
rm -rf __pycache__/
|
rm -rf __pycache__/
|
||||||
rm -rf Engines/
|
rm -rf Engines/
|
||||||
|
rm -rf Networks/
|
||||||
rm -rf Books/
|
rm -rf Books/
|
||||||
rm -rf PGNs/
|
rm -rf PGNs/
|
||||||
rm -rf tmp/
|
rm -rf tmp/
|
||||||
|
|||||||
@@ -120,6 +120,8 @@ def prettyName(name):
|
|||||||
def testIsFRC(test):
|
def testIsFRC(test):
|
||||||
return "FRC" in test.bookname.upper() or "960" in test.bookname.upper()
|
return "FRC" in test.bookname.upper() or "960" in test.bookname.upper()
|
||||||
|
|
||||||
|
def resolveNetworkSha(sha256):
|
||||||
|
return OpenBench.models.Network.objects.get(sha256=sha256).name
|
||||||
|
|
||||||
register = django.template.Library()
|
register = django.template.Library()
|
||||||
register.filter('oneDigitPrecision', oneDigitPrecision)
|
register.filter('oneDigitPrecision', oneDigitPrecision)
|
||||||
@@ -132,4 +134,5 @@ register.filter('sumAttributes', sumAttributes)
|
|||||||
register.filter('insertCommas', insertCommas)
|
register.filter('insertCommas', insertCommas)
|
||||||
register.filter('prettyName', prettyName)
|
register.filter('prettyName', prettyName)
|
||||||
register.filter('testIsFRC', testIsFRC)
|
register.filter('testIsFRC', testIsFRC)
|
||||||
|
register.filter('resolveNetworkSha', resolveNetworkSha)
|
||||||
|
|
||||||
@@ -203,10 +203,6 @@ def verifyNewTest(request):
|
|||||||
if request.POST[field] not in OpenBench.config.OPENBENCH_CONFIG[parent].keys():
|
if request.POST[field] not in OpenBench.config.OPENBENCH_CONFIG[parent].keys():
|
||||||
errors.append('{0} was not found in the configuration'.format(fieldName))
|
errors.append('{0} was not found in the configuration'.format(fieldName))
|
||||||
|
|
||||||
def verifySecureLink(field, fieldName):
|
|
||||||
if request.POST[field] and not request.POST[field].startswith('https://'):
|
|
||||||
errors.append('{0} must be located on a HTTPS URL'.format(fieldName))
|
|
||||||
|
|
||||||
verifications = [
|
verifications = [
|
||||||
(verifyInteger, 'priority', 'Priority'),
|
(verifyInteger, 'priority', 'Priority'),
|
||||||
(verifyInteger, 'throughput', 'Throughput'),
|
(verifyInteger, 'throughput', 'Throughput'),
|
||||||
@@ -225,8 +221,6 @@ def verifyNewTest(request):
|
|||||||
(verifyOptions, 'baseoptions', 'Hash', 'Base Options'),
|
(verifyOptions, 'baseoptions', 'Hash', 'Base Options'),
|
||||||
(verifyConfiguration, 'enginename', 'Engine', 'engines'),
|
(verifyConfiguration, 'enginename', 'Engine', 'engines'),
|
||||||
(verifyConfiguration, 'bookname', 'Book', 'books'),
|
(verifyConfiguration, 'bookname', 'Book', 'books'),
|
||||||
(verifySecureLink, 'devnetwork', 'Dev Network'),
|
|
||||||
(verifySecureLink, 'basenetwork', 'Base Network'),
|
|
||||||
]
|
]
|
||||||
|
|
||||||
for verification in verifications:
|
for verification in verifications:
|
||||||
|
|||||||
@@ -23,8 +23,10 @@
|
|||||||
{% for network in networks %}
|
{% for network in networks %}
|
||||||
{
|
{
|
||||||
"name" : "{{network.name}}",
|
"name" : "{{network.name}}",
|
||||||
|
"sha256" : "{{network.sha256}}",
|
||||||
"engine" : "{{network.engine}}",
|
"engine" : "{{network.engine}}",
|
||||||
"default" : "{{network.default}}",
|
"default" : "{{network.default}}",
|
||||||
|
|
||||||
},
|
},
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
];
|
];
|
||||||
@@ -49,8 +51,9 @@
|
|||||||
}
|
}
|
||||||
|
|
||||||
// Fetch each option selection for Dev & Base
|
// Fetch each option selection for Dev & Base
|
||||||
devnet = document.getElementById("devnetwork");
|
var devnet = document.getElementById("devnetwork");
|
||||||
basenet = document.getElementById("basenetwork");
|
var basenet = document.getElementById("basenetwork");
|
||||||
|
var exists = false;
|
||||||
|
|
||||||
// Remove all options initially
|
// Remove all options initially
|
||||||
while (devnet.length) devnet.remove(0);
|
while (devnet.length) devnet.remove(0);
|
||||||
@@ -58,19 +61,27 @@
|
|||||||
|
|
||||||
for (const network of Networks) {
|
for (const network of Networks) {
|
||||||
|
|
||||||
if (network.engine !== engine)
|
if (network.engine !== engine) continue;
|
||||||
continue;
|
|
||||||
|
|
||||||
// Create a new option for both fields
|
|
||||||
var devopt = document.createElement("option");
|
var devopt = document.createElement("option");
|
||||||
var baseopt = document.createElement("option");
|
var baseopt = document.createElement("option");
|
||||||
|
|
||||||
devopt.text = devopt.value = network.name;
|
devopt.text = baseopt.text = network.name;
|
||||||
baseopt.text = baseopt.value = network.name;
|
devopt.value = baseopt.value = network.sha256;
|
||||||
|
|
||||||
devopt.selected = (network.default == "True");
|
devopt.selected = (network.default == "True");
|
||||||
baseopt.selected = (network.default == "True");
|
baseopt.selected = (network.default == "True");
|
||||||
|
devnet.add(devopt); basenet.add(baseopt); exists = true;
|
||||||
|
}
|
||||||
|
|
||||||
|
{
|
||||||
|
var devopt = document.createElement("option");
|
||||||
|
var baseopt = document.createElement("option");
|
||||||
|
|
||||||
|
devopt.text = baseopt.text = "";
|
||||||
|
devopt.value = baseopt.value = "";
|
||||||
|
|
||||||
|
devopt.selected = baseopt.selected = exists;
|
||||||
devnet.add(devopt); basenet.add(baseopt);
|
devnet.add(devopt); basenet.add(baseopt);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -16,17 +16,23 @@
|
|||||||
<tr><th>Dev Options</th><td>{{test.devoptions}}</td></tr>
|
<tr><th>Dev Options</th><td>{{test.devoptions}}</td></tr>
|
||||||
<tr><th>Dev Sha</th><td>{{test.dev.sha}}</td></tr>
|
<tr><th>Dev Sha</th><td>{{test.dev.sha}}</td></tr>
|
||||||
{% if test.devnetwork %}
|
{% if test.devnetwork %}
|
||||||
<tr><th>Dev Network</th><td>{{test.devnetwork}}</td></tr>
|
<tr>
|
||||||
|
<th>Dev Network</th>
|
||||||
|
<td><a href="/networks/download/{{test.devnetwork}}">{{test.devnetwork|resolveNetworkSha}}</td>
|
||||||
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr><th>Base Branch</th><td>{{test.base.name|prettyName}}</td></tr>
|
<tr><th>Base Branch</th><td>{{test.base.name|prettyName}}</td></tr>
|
||||||
<tr><th>Base Bench</th><td>{{test.base.bench}}</td></tr>
|
<tr><th>Base Bench</th><td>{{test.base.bench}}</td></tr>
|
||||||
<tr><th>Base Options</th><td>{{test.baseoptions}}</td></tr>
|
<tr><th>Base Options</th><td>{{test.baseoptions}}</td></tr>
|
||||||
<tr><th>Base Sha</th><td>{{test.base.sha}}</td></tr>
|
<tr><th>Base Sha</th><td>{{test.base.sha}}</td></tr>
|
||||||
{% if test.basenetwork %}
|
{% if test.basenetwork %}
|
||||||
<tr><th>Base Network</th><td>{{test.basenetwork}}</td></tr>
|
<tr>
|
||||||
|
<th>Base Network</th>
|
||||||
|
<td><a href="/networks/download/{{test.basenetwork}}">{{test.basenetwork|resolveNetworkSha}}</td>
|
||||||
|
</tr>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
<tr><th>Source Repo</th><td>{{test.source}}</td></tr>
|
<tr><th>Source Repo</th><td><a href="{{test.source}}">{{test.source}}</a></td></tr>
|
||||||
<tr><th>Opening Book</th><td>{{test.bookname}}</td></tr>
|
<tr><th>Opening Book</th><td><a href="{{config.framework}}/raw/master/Books/">{{test.bookname}}</a></td></tr>
|
||||||
<tr><th>Time Control</th><td>{{test.timecontrol}}s</td></tr>
|
<tr><th>Time Control</th><td>{{test.timecontrol}}s</td></tr>
|
||||||
<tr><th>Elo Bounds</th><td>[{{test.elolower}}, {{test.eloupper}}]</td></tr>
|
<tr><th>Elo Bounds</th><td>[{{test.elolower}}, {{test.eloupper}}]</td></tr>
|
||||||
<tr><th>SPRT Bounds</th><td>({{test.lowerllr|twoDigitPrecision}}, {{test.upperllr|twoDigitPrecision}})</td></tr>
|
<tr><th>SPRT Bounds</th><td>({{test.lowerllr|twoDigitPrecision}}, {{test.upperllr|twoDigitPrecision}})</td></tr>
|
||||||
|
|||||||
Reference in new issue
Block a user