diff --git a/OpenBench/static/style.css b/OpenBench/static/style.css index c4c9f1b..ebc4d47 100644 --- a/OpenBench/static/style.css +++ b/OpenBench/static/style.css @@ -1,27 +1,295 @@ -html, body, header { - height: 100%; - line-height: 1.5rem; - font-weight: 400; +body { + font-family: "Courier Prime"; + font-size: 18px; + background: #303030; } +a:link, a:visited, a:hover, a:active { + text-decoration: none; + color: #FFFFFF; +} + +#sidebar { + float: left; + margin: 16px; + margin-top: 60px; +} + +#sidebar ul { + list-style-type: none; + padding: 0px 18px; +} + +#sidebar li a { + color: #A2A2A2; + font-size: 15px; +} + +#sidebar .header { + font-size: 15px; + color: #00AF00; +} + +#content { + float: left; + margin-top: 0; + color: #EAEAEA; +} + +#content label { + width: 128px; + padding-right: 10px; + text-align: right; + display: inline-block; + color: #A2A2A2; + font-size: 14px; +} + +#content input, #content select { + background-color: #BBBBBB; + color: #000000; + padding: 10px; + margin: 1px 0px; + width: 320px; + box-sizing: border-box; + -moz-box-sizing: border-box; + -webkit-box-sizing: border-box; +} + +#content button { + padding: 8px 0px; + margin: 2px 0px; + display: inline-block; + vertical-align: middle; + width: 290px; + background-color: #777777; + color: black; + border: none; + border-radius: 16px; + cursor: pointer; + font-weight: bold; +} + +#content button:hover { + background-color: #00AF00; +} + +#content input[type=submit] { + background-color: #00AF00; + color: #000000; + border: none; + border-radius: 16px; + cursor: pointer; + width: 100%; + font-weight: bold; +} + +#content input:read-only { + font-weight: bold; +} + +#content input:-moz-read-only { + font-weight: bold; +} + +#content #configuration { + float: left; + margin-top: 20px; +} + +#content #actions { + margin-left: 32px; + float: right; +} + +#content #actions h4 { + color: #A2A2A2; + font-size: 15px; + font-weight: bold; +} + +#content #actions .anchorbutton { + color: #000000; + padding: 8px 8px; + margin: 0px 8px; + border-radius: 16px; + font-weight: bold; + text-align: center; + display: inline-block; + width: 25%; +} + +#content #actions .anchorbutton a:hover { + background-color: #00AF00; +} + +#content #actions #approvebutton { + background-color: #9DF779; +} + +#content #actions #stopbutton { + background-color: #EEF788; +} + +#content #actions #restartbutton { + background-color: #EEF788; +} + +#content #actions #deletebutton { + background-color: #FA8E8E; +} + +#content #actions .deadbutton { + background-color: #808080; + pointer-events: none; +} + +#content #actions input { + width: 260px; +} + +#content #actions input[type=submit] { + width: 100%; +} + +#content .left-align { + text-align: left; +} + +#content tr:hover { + background-color: #666666; +} + +#content th { + color: #00AF00; + font-size: 16px; + font-weight: 100; + padding: 7px 12px 5px 12px; + background-color: #000000; +} + +#content td { + padding: 7px 12px 5px 12px; +} + +#content .numeric { + text-align: right; +} + +#content tr { + background-color: #202020; +} + +#content .table-spacer th { + background: #303030; + height: 16px; +} #content .statblock { + line-height: 70%; color: black; background-color: #CCCCCC; - font-family: Courier, serif; + border-radius: 4px; + font-family: "Courier New"; } #content .green { - background-color: #6bd26b - /*background: linear-gradient(to bottom, #75bb76 0%, #44EB44 100%);*/ + background-color: #9DF779 } #content .yellow { background-color: #EEF788 - } #content .red { - /*background: linear-gradient(to bottom, #FA8E8E 0%, #da7474 100%);*/ background-color: #FA8E8E } + +#content #results { + display: inline-block; + width: inherit; +} + +#content table { + line-height: 96%; +} + +#content .textcenter { + text-align: center; +} + +#content strong { + font-size: 14px; + font-weight: bold; +} + +#content a:not(.TitleLink) { + font-weight: 100; + color: #8BBAD6; +} + +#content a.redlink { + color: #FF4D4D; +} + +#content a.unstarred { + color: #808080; +} + +#content h1, h2, h3 { + color: #a7a7a7; + text-align: center; +} + +#content #pagebrowse { + text-align: center; + margin: 16px 0px 16px 0px; +} + +#content .page { + text-align: center; + display: inline-block; + padding: 8px 0px; + width: 5%; + background-color: #1A1A1A; + border-radius: 8px; +} + +#content .page:hover { + background-color: #00AF00; +} + +#error { + background-color: #EE7676; + padding: 8px; + text-align: center; +} + +#content form h3 { + margin-left: 110px; + margin-bottom: 2px; + font-size: 16px; + font-weight: normal; + color: #00AF00; +} + +#content h4 a { + font-size: 18px; +} + +#content form .settings-column { + float: left; + padding-bottom: 16px; +} + +#content #test-mode-buttons button { + width: 49.8%; +} + +#content #test-mode-buttons .left-floated { + float: left; +} + +#content #test-mode-buttons .right-floated { + float: right; +} diff --git a/OpenBench/templatetags/mytags.py b/OpenBench/templatetags/mytags.py index 9dae2ee..cf059c5 100644 --- a/OpenBench/templatetags/mytags.py +++ b/OpenBench/templatetags/mytags.py @@ -33,7 +33,6 @@ def oneDigitPrecision(value): except: return value - def twoDigitPrecision(value): try: value = round(value, 2) @@ -45,71 +44,52 @@ def twoDigitPrecision(value): except: return value - def gitDiffLink(test): + if type(test) != OpenBench.models.Test: - dev = test['dev']['source'] - base = test['base']['source'] - devsha = test['dev']['sha'] + dev = test['dev']['source'] + base = test['base']['source'] + devsha = test['dev']['sha'] basesha = test['base']['sha'] else: - dev = test.dev.source - base = test.base.source - devsha = test.dev.sha + dev = test.dev.source + base = test.base.source + devsha = test.dev.sha basesha = test.base.sha repo = OpenBench.utils.pathjoin(*dev.split('/')[:-2]) return OpenBench.utils.pathjoin(repo, 'compare', - '{0}...{1}'.format(basesha[:8], devsha[:8])) - + '{0}...{1}'.format(basesha[:8], devsha[:8])) def shortStatBlock(test): + if test.test_mode == "SPRT": + currentllr = twoDigitPrecision(test.currentllr) - lowerllr = twoDigitPrecision(test.lowerllr) - upperllr = twoDigitPrecision(test.upperllr) - elolower = twoDigitPrecision(test.elolower) - eloupper = twoDigitPrecision(test.eloupper) + lowerllr = twoDigitPrecision(test.lowerllr) + upperllr = twoDigitPrecision(test.upperllr) + elolower = twoDigitPrecision(test.elolower) + eloupper = twoDigitPrecision(test.eloupper) llrbounds = '({}, {}) '.format(lowerllr, upperllr) return 'LLR: {0} {1}[{2}, {3}]\n'.format(currentllr, llrbounds, elolower, eloupper) \ - + 'Games: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) + + 'Games: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) if test.test_mode == "GAMES": + lower, elo, upper = OpenBench.stats.ELO(test.wins, test.losses, test.draws) error = max(upper - elo, elo - lower) - elo = twoDigitPrecision(elo) + elo = twoDigitPrecision(elo) error = twoDigitPrecision(error) return 'Elo: {0} +- {1} (95%) [N={2}]\n'.format(elo, error, test.max_games) \ - + 'Games: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) - - -def shortBoldBlock(test): - if test.test_mode == "SPRT": - currentllr = twoDigitPrecision(test.currentllr) - lowerllr = twoDigitPrecision(test.lowerllr) - upperllr = twoDigitPrecision(test.upperllr) - elolower = twoDigitPrecision(test.elolower) - eloupper = twoDigitPrecision(test.eloupper) - - llrbounds = '({}, {}) '.format(lowerllr, upperllr) - - return 'LLR: {0}'.format(currentllr) - if test.test_mode == "GAMES": - lower, elo, upper = OpenBench.stats.ELO(test.wins, test.losses, test.draws) - error = max(upper - elo, elo - lower) - - elo = twoDigitPrecision(elo) - error = twoDigitPrecision(error) - - return 'Elo: {0} +- {1}'.format(elo, error, test.max_games) - + + 'Games: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) def longStatBlock(test): + tokens = test.devoptions.split(' ') threads = tokens[0].split('=')[1] hash = tokens[1].split('=')[1] @@ -117,85 +97,73 @@ def longStatBlock(test): lower, elo, upper = OpenBench.stats.ELO(test.wins, test.losses, test.draws) error = max(upper - elo, elo - lower) - elo = twoDigitPrecision(elo) + elo = twoDigitPrecision(elo) error = twoDigitPrecision(error) if test.test_mode == 'SPRT': - lowerllr = twoDigitPrecision(test.lowerllr) + + lowerllr = twoDigitPrecision(test.lowerllr) currentllr = twoDigitPrecision(test.currentllr) - upperllr = twoDigitPrecision(test.upperllr) - elolower = twoDigitPrecision(test.elolower) - eloupper = twoDigitPrecision(test.eloupper) + upperllr = twoDigitPrecision(test.upperllr) + elolower = twoDigitPrecision(test.elolower) + eloupper = twoDigitPrecision(test.eloupper) return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \ - + 'SPRT | {0}s Threads={1} Hash={2}MB\n'.format(test.timecontrol, threads, hash) \ - + 'LLR | {0} ({1}, {2}) [{3}, {4}]\n'.format(currentllr, lowerllr, upperllr, elolower, eloupper) \ - + 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) + + 'SPRT | {0}s Threads={1} Hash={2}MB\n'.format(test.timecontrol, threads, hash) \ + + 'LLR | {0} ({1}, {2}) [{3}, {4}]\n'.format(currentllr, lowerllr, upperllr, elolower, eloupper) \ + + 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) if test.test_mode == 'GAMES': - return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \ - + 'CONF | {0}s Threads={1} Hash={2}MB\n'.format(test.timecontrol, threads, hash) \ - + 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) + return 'ELO | {0} +- {1} (95%)\n'.format(elo, error) \ + + 'CONF | {0}s Threads={1} Hash={2}MB\n'.format(test.timecontrol, threads, hash) \ + + 'GAMES | N: {0} W: {1} L: {2} D: {3}'.format(test.games, test.wins, test.losses, test.draws) def testResultColour(test): + if test.passed: return 'green' if test.failed: if test.wins >= test.losses: return 'yellow' return 'red' return '' - def sumAttributes(iterable, attribute): - try: - return sum([getattr(f, attribute) for f in iterable]) - except: - return 0 - + try: return sum([getattr(f, attribute) for f in iterable]) + except: return 0 def insertCommas(value): return '{:,}'.format(int(value)) - def prettyName(name): if re.search('[0-9a-fA-F]{40}', name): return name[:16].upper() return name - def prettyDevName(test): if test.dev.name == test.base.name and test.devnetname != '': - try: - return OpenBench.models.Network.objects.get(sha256=test.devnetwork).name - except: - return test.devnetname # File has since been deleted ? + try: return OpenBench.models.Network.objects.get(sha256=test.devnetwork).name + except: return test.devnetname # File has since been deleted ? return prettyName(test.dev.name) - def testIsFRC(test): return "FRC" in test.bookname.upper() or "960" in test.bookname.upper() - def resolveNetworkURL(sha256): if OpenBench.models.Network.objects.filter(sha256=sha256): return '/networks/download/{0}'.format(sha256) - return sha256 # Legacy Networks - + return sha256 # Legacy Networks def testIdToPrettyName(test_id): return prettyName(OpenBench.models.Test.objects.get(id=test_id).dev.name) - def testIdToTimeControl(test_id): return OpenBench.models.Test.objects.get(id=test_id).timecontrol - register = django.template.Library() register.filter('oneDigitPrecision', oneDigitPrecision) register.filter('twoDigitPrecision', twoDigitPrecision) register.filter('gitDiffLink', gitDiffLink) register.filter('shortStatBlock', shortStatBlock) -register.filter('shortBoldBlock', shortBoldBlock) register.filter('longStatBlock', longStatBlock) register.filter('testResultColour', testResultColour) register.filter('sumAttributes', sumAttributes) diff --git a/OpenBench/utils.py b/OpenBench/utils.py index c5e5d7e..0ecd431 100644 --- a/OpenBench/utils.py +++ b/OpenBench/utils.py @@ -93,7 +93,7 @@ def getMachineStatus(username=None): if username != None: machines = machines.filter(user__username=username) - return "{0} Machines / ".format(len(machines)) + \ + return ": {0} Machines / ".format(len(machines)) + \ "{0} Threads / ".format(sum([f.threads for f in machines])) + \ "{0} MNPS ".format(round(sum([f.threads * f.mnps for f in machines]), 2)) diff --git a/OpenBench/views.py b/OpenBench/views.py index fb98931..c558b24 100644 --- a/OpenBench/views.py +++ b/OpenBench/views.py @@ -379,7 +379,7 @@ def machines(request): # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # # - data = {'machines' : OpenBench.utils.getRecentMachines(10080)} + data = {'machines' : OpenBench.utils.getRecentMachines()} return render(request, 'machines.html', data) diff --git a/Templates/OpenBench/Blocks/pagebrowser.html b/Templates/OpenBench/Blocks/pagebrowser.html index 468fc61..a9ffa73 100644 --- a/Templates/OpenBench/Blocks/pagebrowser.html +++ b/Templates/OpenBench/Blocks/pagebrowser.html @@ -1,48 +1,13 @@ -
- +
{% if paging.prev != paging.next %} - - - + <-- + {% for page in paging.pages %} + {% if page != "..." %} + {{page}} + {% else %} + {{page}} + {% endif %} + {% endfor %} + --> {% endif %} - - {# {% if paging.prev != paging.next %}#} - {# <--#} - {# {% for page in paging.pages %}#} - {# {% if page != "..." %}#} - {# {{page}}#} - {# {% else %}#} - {# {{page}} #} - {# {% endif %}#} - {# {% endfor %}#} - {# -->#} - {# {% endif %}#} - - {##} - {# {% if paging.prev != paging.next %}#} - {# <--#} - {# {% for page in paging.pages %}#} - {# {% if page != "..." %}#} - {# {{page}}#} - {# {% else %}#} - {# {{page}} #} - {# {% endif %}#} - {# {% endfor %}#} - {# -->#} - {# {% endif %}#}
\ No newline at end of file diff --git a/Templates/OpenBench/Blocks/testsummary.html b/Templates/OpenBench/Blocks/testsummary.html index 6b44c9c..2bdbe44 100644 --- a/Templates/OpenBench/Blocks/testsummary.html +++ b/Templates/OpenBench/Blocks/testsummary.html @@ -1,42 +1,11 @@ {% load mytags %} - - - - {{ test.author|capfirst|slice:":6" }} - - - {{ test.engine }} - {% if test.error %} - [x] {{ test|prettyDevName }} - {% elif test|testIsFRC %} - {{ test|prettyDevName }}[FRC] - {% else %} - {{ test|prettyDevName }} - {% endif %} - - diff - - - {{ test.timecontrol }} - -{# #} -{# #} -{# #} - -
-{# #} -
{{ test|shortStatBlock|linebreaksbr }}
-
- - \ No newline at end of file + + {{test.author|capfirst|slice:":6"}} + {{test.engine}} + {% if test.error %} [x] {{test|prettyDevName}} + {% elif test|testIsFRC %} {{test|prettyDevName}}[FRC] + {% else %} {{test|prettyDevName}} {% endif %} + diff + {{test.timecontrol}} + {{test|shortStatBlock|linebreaksbr}} + diff --git a/Templates/OpenBench/base.html b/Templates/OpenBench/base.html index 720e4ca..62628f6 100644 --- a/Templates/OpenBench/base.html +++ b/Templates/OpenBench/base.html @@ -2,165 +2,104 @@ -{% load static %} + {% load static %} - - - - - - + + + + + + + - - {# #} + OpenBench + - - {# #} + var timestamps = document.getElementsByClassName('timestamp'); - - + var options = { + year : 'numeric', month : '2-digit', + day : '2-digit', hour : '2-digit', + minute : '2-digit', second : '2-digit', + hour12 : false, + }; - + for (var i = 0; i < timestamps.length; i++) { + var date = new Date(1000 * timestamps[i].innerHTML); + timestamps[i].innerHTML = date.toLocaleString(undefined, options); + } - OpenBench - + - document.addEventListener('DOMContentLoaded', function () { + - var timestamps = document.getElementsByClassName('timestamp'); - - var options = { - year: 'numeric', month: '2-digit', - day: '2-digit', hour: '2-digit', - minute: '2-digit', second: '2-digit', - hour12: false, - }; - - for (var i = 0; i < timestamps.length; i++) { - var date = new Date(1000 * timestamps[i].innerHTML); - timestamps[i].innerHTML = date.toLocaleString(undefined, options); - } - - }, false); - - - - - - -{% if error %} -
-
{{ error }}
-
-{% endif %} - - -
-
-
-
- - - -
- - - - -
- - - - -
- - - - -
- - - - -
- - -
    - {% for engine, data in config.engines.items|dictsort:"0.lower" %} -
  • {{ engine }}
  • - {% endfor %} -
-
-
-
- {% block content %} - {% endblock %} -
+ + {% if error %} +
+
{{error}}
+ {% endif %} + + -
-
- - - +
+

OpenBench Testing Framework

+ {% block content %} + {% endblock %} +
+ diff --git a/Templates/OpenBench/buyEthereal.html b/Templates/OpenBench/buyEthereal.html index a001ebc..0e9e14d 100644 --- a/Templates/OpenBench/buyEthereal.html +++ b/Templates/OpenBench/buyEthereal.html @@ -2,129 +2,79 @@ -{% load static %} + {% load static %} - - - + + + - - - - + + - - + Ethereal 13.75 (NNUE) + - + #content p { + font-size: 16px; + margin: 16px 100px; + text-align: justify + } - -
-
-
-
- {# #} -

Ethereal 13.75

+ #content #buyethereal { + font-size: 32px; + display: block; + border-radius: 8px; + color: black; + font-weight: bold; + background: #00AF00; + text-align: center; + margin-top: 20px; + line-height: 64px; + border-color: black; + margin: 0px 100px; + } -

Ethereal 13.75 (NNUE) has been released. Since 13.50, a large number of changes have been made to - improve the search, time management, and NNUE architecture and training methods. Ethereal has - received multiple iterations of NNUE updates since 13.50, finally arriving at a pair of newly - trained Networks that are larger, but still faster than previous Networks. These Networks are - trained using the sum total of training data built up since 13.00.

+ + -

Ethereal 13.75 (NNUE) once again includes two NNUE Networks for evaluation. These Networks continue - Ethereal's long standing legacy of original work. These Networks are not trained on, nor duplicated - from the works of any other Computer Chess team. With it, Ethereal continues to refine new ideas and - techniques, allowing older processors to outperform NNUE implementations found in other engines, - while still harnessing the full power of the AVX/AVX2 instruction sets for CPUs with support.

+ +
-

Additionally, Ethereal 13.00 was the first engine to offer a secondary Network trained exclusively - for Fischer Random Chess (FRC). Ethereal 13.75 once again provides a secondary Network, updated with - all of the improvements found between releases. This Network outperforms the standard Network by - significant margins in FRC play, showcasing a creative style by Ethereal, not reliant on Opening - Theory.

+

Ethereal 13.75

-

The commercial NNUE version requires a CPU with the SSSE3 instruction set (which almost all CPUs - have), and will not run on systems lacking these instructions. AVX/AVX2 have become ubiquitous in - modern processor design, and are necessary to capitalize on the full strength of Neural Network - technology. If you are unsure if your system is supported, please reach out to me via email at andrew@grantnet.us - for assistance.

+

Ethereal 13.75 (NNUE) has been released. Since 13.50, a large number of changes have been made to improve the search, time management, and NNUE architecture and training methods. Ethereal has received multiple iterations of NNUE updates since 13.50, finally arriving at a pair of newly trained Networks that are larger, but still faster than previous Networks. These Networks are trained using the sum total of training data built up since 13.00.

-

Stripe will verify your payment of $40 USD. Afterwards, you will - receive an email from andrew@grantnet.us or andrewgrantethereal@gmail.com within 24 - hours containing a download link for the Standard/Fischer NNUE Networks, as well as the binary or - executable files for Windows and Linux. You should select the binary matching your Operating System. - Users with Intel CPUs containing BMI2 support (Also known as PEXT), should use the pext binary for - optimal performance. AMD CPU users should use the popcnt binary, unless they have a 5XXX series - Ryzen. AVX2 binaries will be the fastest, followed by AVX, and finally SSSE3. You should use the - fastest your CPU allows.

+

Ethereal 13.75 (NNUE) once again includes two NNUE Networks for evaluation. These Networks continue Ethereal's long standing legacy of original work. These Networks are not trained on, nor duplicated from the works of any other Computer Chess team. With it, Ethereal continues to refine new ideas and techniques, allowing older processors to outperform NNUE implementations found in other engines, while still harnessing the full power of the AVX/AVX2 instruction sets for CPUs with support.

-

If you purchased Ethereal 13.00, or 13.25, or 13.50, you should have received an email containing - updates to 13.75 free of charge. If you did not, and the email cannot be found in your spam folder, - please reach out to me via andrew@grantnet.us or andrewgrantethereal@gmail.com.

+

Additionally, Ethereal 13.00 was the first engine to offer a secondary Network trained exclusively for Fischer Random Chess (FRC). Ethereal 13.75 once again provides a secondary Network, updated with all of the improvements found between releases. This Network outperforms the standard Network by significant margins in FRC play, showcasing a creative style by Ethereal, not reliant on Opening Theory.

-
+

The commercial NNUE version requires a CPU with the SSSE3 instruction set (which almost all CPUs have), and will not run on systems lacking these instructions. AVX/AVX2 have become ubiquitous in modern processor design, and are necessary to capitalize on the full strength of Neural Network technology. If you are unsure if your system is supported, please reach out to me via email at andrew@grantnet.us for assistance.

- {# #} - -
+

Stripe will verify your payment of $40 USD. Afterwards, you will receive an email from andrew@grantnet.us or andrewgrantethereal@gmail.com within 24 hours containing a download link for the Standard/Fischer NNUE Networks, as well as the binary or executable files for Windows and Linux. You should select the binary matching your Operating System. Users with Intel CPUs containing BMI2 support (Also known as PEXT), should use the pext binary for optimal performance. AMD CPU users should use the popcnt binary, unless they have a 5XXX series Ryzen. AVX2 binaries will be the fastest, followed by AVX, and finally SSSE3. You should use the fastest your CPU allows.

+ +

If you purchased Ethereal 13.00, or 13.25, or 13.50, you should have received an email containing updates to 13.75 free of charge. If you did not, and the email cannot be found in your spam folder, please reach out to me via andrew@grantnet.us or andrewgrantethereal@gmail.com.

+ +
+ +
Buy Ethereal 13.75 (NNUE)
-
-
- - -{#
#} -{##} -{#

Ethereal 13.75

#} -{##} -{#

Ethereal 13.75 (NNUE) has been released. Since 13.50, a large number of changes have been made to improve the search, time management, and NNUE architecture and training methods. Ethereal has received multiple iterations of NNUE updates since 13.50, finally arriving at a pair of newly trained Networks that are larger, but still faster than previous Networks. These Networks are trained using the sum total of training data built up since 13.00.

#} -{##} -{#

Ethereal 13.75 (NNUE) once again includes two NNUE Networks for evaluation. These Networks continue Ethereal's long standing legacy of original work. These Networks are not trained on, nor duplicated from the works of any other Computer Chess team. With it, Ethereal continues to refine new ideas and techniques, allowing older processors to outperform NNUE implementations found in other engines, while still harnessing the full power of the AVX/AVX2 instruction sets for CPUs with support.

#} -{##} -{#

Additionally, Ethereal 13.00 was the first engine to offer a secondary Network trained exclusively for Fischer Random Chess (FRC). Ethereal 13.75 once again provides a secondary Network, updated with all of the improvements found between releases. This Network outperforms the standard Network by significant margins in FRC play, showcasing a creative style by Ethereal, not reliant on Opening Theory.

#} -{##} -{#

The commercial NNUE version requires a CPU with the SSSE3 instruction set (which almost all CPUs have), and will not run on systems lacking these instructions. AVX/AVX2 have become ubiquitous in modern processor design, and are necessary to capitalize on the full strength of Neural Network technology. If you are unsure if your system is supported, please reach out to me via email at andrew@grantnet.us for assistance.

#} -{##} -{#

Stripe will verify your payment of $40 USD. Afterwards, you will receive an email from andrew@grantnet.us or andrewgrantethereal@gmail.com within 24 hours containing a download link for the Standard/Fischer NNUE Networks, as well as the binary or executable files for Windows and Linux. You should select the binary matching your Operating System. Users with Intel CPUs containing BMI2 support (Also known as PEXT), should use the pext binary for optimal performance. AMD CPU users should use the popcnt binary, unless they have a 5XXX series Ryzen. AVX2 binaries will be the fastest, followed by AVX, and finally SSSE3. You should use the fastest your CPU allows.

#} -{##} -{#

If you purchased Ethereal 13.00, or 13.25, or 13.50, you should have received an email containing updates to 13.75 free of charge. If you did not, and the email cannot be found in your spam folder, please reach out to me via andrew@grantnet.us or andrewgrantethereal@gmail.com.

#} -{##} -{#
#} -{##} -{#
Buy Ethereal 13.75 (NNUE) #} -{#
#} - + diff --git a/Templates/OpenBench/events.html b/Templates/OpenBench/events.html index 20cc7ae..d8d59f0 100644 --- a/Templates/OpenBench/events.html +++ b/Templates/OpenBench/events.html @@ -4,54 +4,31 @@ {% block content %} - - +
+ - - - - - - - + + + + + + + - {% for event in events %} - - - - - - - + + + + + + + {% endfor %} -
DateUserTestWorkerTCSummaryLogsDateUserTestWorkerTCSummaryLogs
- {{ event.created|date:'U' }} - - {{ event.author|capfirst }} - - - {{ event.test_id|testIdToPrettyName }} - - - {% if event.machine_id %} - {{ event.machine_id }} - {% endif %} - - {{ event.test_id|testIdToTimeControl }} - - {{ event.summary }} - - {% if event.log_file %} - - - - {% endif %} - {{event.created|date:'U'}}{{event.author|capfirst}}{{event.test_id|testIdToPrettyName}}{% if event.machine_id %} {{event.machine_id}} {% endif %}{{event.test_id|testIdToTimeControl}}{{event.summary}}{% if event.log_file %}View{% endif %}
+ {% include "OpenBench/Blocks/pagebrowser.html" %} diff --git a/Templates/OpenBench/index.html b/Templates/OpenBench/index.html index 1cc4207..83070b2 100644 --- a/Templates/OpenBench/index.html +++ b/Templates/OpenBench/index.html @@ -2,77 +2,37 @@ {% block content %} - {% if paging.page == 1 %} - {% if pending %} -
-
- Pending -
-
-
- - - - - - - - - - +
AuthorEngineNameTC Result
+ + + {% if paging.page == 1 %} + + + {% if pending %} + {% for test in pending %} {% include "OpenBench/Blocks/testsummary.html" %} {% endfor %} - - - -
Pending
- {% endif %} + + {% endif %} - {% if active %} -
-
- Active {{ status }} -
-
- - - - - - - - - - - + + {% if active %} + {% for test in active %} {% include "OpenBench/Blocks/testsummary.html" %} {% endfor %} -
AuthorEngineNameTC Result
Active {{status}}
+ + {% endif %} + {% endif %} - {% endif %} - -
-
- Finished -
-
- - - - - - - - - - - + + {% for test in completed %} {% include "OpenBench/Blocks/testsummary.html" %} {% endfor %} +
AuthorEngineNameTC Result
Finished
{% include "OpenBench/Blocks/pagebrowser.html" %} diff --git a/Templates/OpenBench/login.html b/Templates/OpenBench/login.html index 4839a25..b770957 100644 --- a/Templates/OpenBench/login.html +++ b/Templates/OpenBench/login.html @@ -4,21 +4,9 @@
{% csrf_token %} -
-
-
- -
-
-
- -
-
-
- -
-{#
#} -{#
#} +
+
+
{% endblock %} diff --git a/Templates/OpenBench/machines.html b/Templates/OpenBench/machines.html index eeae0c9..2facb0e 100644 --- a/Templates/OpenBench/machines.html +++ b/Templates/OpenBench/machines.html @@ -4,27 +4,27 @@ {% block content %} - - +
+ - - - - - - - + + + + + + + - + {% for machine in machines %} - - - - - - - + + + + + + + {% endfor %} diff --git a/Templates/OpenBench/networks.html b/Templates/OpenBench/networks.html index 749ea73..c5a9855 100644 --- a/Templates/OpenBench/networks.html +++ b/Templates/OpenBench/networks.html @@ -55,18 +55,16 @@ {% block content %} -
#UserSystemUpdatedWorkloadThreadsMNPS#UserSystemUpdatedWorkloadThreadsMNPS
{{ machine.id }}{{ machine.user.username|capfirst }}{{ machine.osname|truncatewords:1|slice:":-2" }}{{ machine.updated|date:'U' }}{{ machine.workload.dev.name|prettyName }}{{ machine.threads }}{{ machine.mnps|twoDigitPrecision }}{{machine.id}}{{machine.user.username|capfirst}}{{machine.osname|truncatewords:1|slice:":-2"}}{{machine.updated|date:'U'}} {{machine.workload.dev.name|prettyName}}{{machine.threads}}{{machine.mnps|twoDigitPrecision}}
+
- - - - - - - - - - + + + + + + + + {% for network in networks %} @@ -84,7 +82,7 @@ + {% endfor %} diff --git a/Templates/OpenBench/newTest.html b/Templates/OpenBench/newTest.html index 064cad0..6fb083c 100644 --- a/Templates/OpenBench/newTest.html +++ b/Templates/OpenBench/newTest.html @@ -3,184 +3,179 @@ {% block scripts %} var Configurations = { - {% for name, data in config.engines.items %} - '{{ name }}' : { - 'base' : "{{ data.base }}", - 'book' : "{{ data.book }}", - 'bounds' : "{{ data.bounds }}", - }, - {% endfor %} + {% for name, data in config.engines.items %} + '{{name}}' : { + 'base' : "{{data.base}}", + 'book' : "{{data.book}}", + 'bounds' : "{{data.bounds}}", + }, + {% endfor %} }; var TestModes = { - {% for name, data in config.engines.items %} - '{{ name }}' : [ - {% for mode in data.testmodes %} - { - {% for key, value in mode.items %} - '{{ key }}' : '{{ value }}', - {% endfor %} - }, + {% for name, data in config.engines.items %} + '{{name}}' : [ + {% for mode in data.testmodes %} + { + {% for key, value in mode.items %} + '{{key}}' : '{{value}}', + {% endfor %} + }, + {% endfor %} + ], {% endfor %} - ], - {% endfor %} }; var Networks = [ - {% for network in networks %} - { - "name" : "{{ network.name }}", - "sha256" : "{{ network.sha256 }}", - "engine" : "{{ network.engine }}", - "default" : "{{ network.default }}", - }, - {% endfor %} + {% for network in networks %} + { + "name" : "{{network.name}}", + "sha256" : "{{network.sha256}}", + "engine" : "{{network.engine}}", + "default" : "{{network.default}}", + }, + {% endfor %} ]; function set_test_type(type) { - //// When the test mode is set or changed, run this. - //// Sets the bounds, confidence intervals, and max games fields. + //// When the test mode is set or changed, run this. + //// Sets the bounds, confidence intervals, and max games fields. - var selectA = document.getElementById("test_mode"); - var mode = selectA.options[selectA.selectedIndex].value; + var selectA = document.getElementById("test_mode"); + var mode = selectA.options[selectA.selectedIndex].value; - var selectB = document.getElementById("enginename"); - var engine = selectB.options[selectB.selectedIndex].value; + var selectB = document.getElementById("enginename"); + var engine = selectB.options[selectB.selectedIndex].value; - if (mode == "SPRT") { - document.getElementById("test_bounds").value = Configurations[engine]["bounds"] - document.getElementById("test_confidence").value = "{{ config.tests.confidence }}"; - document.getElementById("test_max_games").value = "N/A"; - } + if (mode == "SPRT") { + document.getElementById("test_bounds").value = Configurations[engine]["bounds"] + document.getElementById("test_confidence").value = "{{config.tests.confidence}}"; + document.getElementById("test_max_games").value = "N/A"; + } - if (mode == "GAMES") { - document.getElementById("test_bounds").value = "N/A"; - document.getElementById("test_confidence").value = "N/A"; - document.getElementById("test_max_games").value = "{{ config.tests.max_games }}"; - } + if (mode == "GAMES") { + document.getElementById("test_bounds").value = "N/A"; + document.getElementById("test_confidence").value = "N/A"; + document.getElementById("test_max_games").value = "{{config.tests.max_games}}"; + } } function set_test_mode(mode_idx) { - //// Sets any of the possible following options: - //// Threads, Hash, Book, time Control, Test Mode, Bounds, Games + //// Sets any of the possible following options: + //// Threads, Hash, Book, time Control, Test Mode, Bounds, Games - var selection = document.getElementById("enginename"); - var engine = selection.options[selection.selectedIndex].value; - var mode = TestModes[engine][mode_idx]; + var selection = document.getElementById("enginename"); + var engine = selection.options[selection.selectedIndex].value; + var mode = TestModes[engine][mode_idx]; - if (mode["th"] != null && mode["hash"] != null) { - var threads = mode["th"]; var hash = mode["hash"]; - document.getElementById("devoptions").value = "Threads=" + threads + " Hash=" + hash; - document.getElementById("baseoptions").value = "Threads=" + threads + " Hash=" + hash; - } + if (mode["th"] != null && mode["hash"] != null) { + var threads = mode["th"]; var hash = mode["hash"]; + document.getElementById("devoptions").value = "Threads=" + threads + " Hash=" + hash; + document.getElementById("baseoptions").value = "Threads=" + threads + " Hash=" + hash; + } - if (mode["book"] != null) { - document.getElementById("bookname").value = mode["book"] - } + if (mode["book"] != null) { + document.getElementById("bookname").value = mode["book"] + } - if (mode["tc"] != null) { - document.getElementById("timecontrol").value = mode["tc"];; - } + if (mode["tc"] != null) { + document.getElementById("timecontrol").value = mode["tc"];; + } - if (mode["bounds"] != null) { - document.getElementById("test_mode").value = "SPRT"; set_test_type(); - document.getElementById("test_bounds").value = mode["bounds"]; - } + if (mode["bounds"] != null) { + document.getElementById("test_mode").value = "SPRT"; set_test_type(); + document.getElementById("test_bounds").value = mode["bounds"]; + } - if (mode["games"] != null) { - document.getElementById("test_mode").value = "GAMES"; set_test_type(); - document.getElementById("test_max_games").value = mode["games"]; - } + if (mode["games"] != null) { + document.getElementById("test_mode").value = "GAMES"; set_test_type(); + document.getElementById("test_max_games").value = mode["games"]; + } - // Default back when not specified + // Default back when not specified - if (mode["bounds"] == null && mode["games"] == null) { - document.getElementById("test_mode").value = "SPRT"; set_test_type(); - } + if (mode["bounds"] == null && mode["games"] == null) { + document.getElementById("test_mode").value = "SPRT"; set_test_type(); + } - if (mode["book"] == null) { - document.getElementById("bookname").value = Configurations[engine]["book"]; - } + if (mode["book"] == null) { + document.getElementById("bookname").value = Configurations[engine]["book"]; + } } function set_engine(engine) { - //// Creates a button to setup test modes, as specififed in the Engine's - //// entry in config.py. Also sets the opening book, and default base branch - //// based on the same config entry. Finally, creates a list of all uploaded - //// Network files that can be selected. The default Network is set as such, - //// if it exists. In all cases, a blank Network is included in the options. + //// Creates a button to setup test modes, as specififed in the Engine's + //// entry in config.py. Also sets the opening book, and default base branch + //// based on the same config entry. Finally, creates a list of all uploaded + //// Network files that can be selected. The default Network is set as such, + //// if it exists. In all cases, a blank Network is included in the options. - document.getElementById("enginename").value = engine; + document.getElementById("enginename").value = engine; - var button_div = document.getElementById("test-mode-buttons"); - while (button_div.hasChildNodes()) button_div.removeChild(button_div.lastChild); + var button_div = document.getElementById("test-mode-buttons"); + while (button_div.hasChildNodes()) button_div.removeChild(button_div.lastChild); - for (let i in TestModes[engine]) { - const btn = document.createElement('button') - btn.innerHTML = TestModes[engine][i]["id"]; - btn.onclick = function(e) { - set_test_mode(i); - console.log(i); - e.preventDefault();} - ; - btn.classList.add('btn'); - btn.classList.add('btn-secondary', 'mr-1'); - button_div.append(btn); - } + for (let i in TestModes[engine]) { + const btn = document.createElement('button') + btn.innerHTML = TestModes[engine][i]["id"]; + btn.onclick = function() { set_test_mode(i); }; + btn.class = (i % 2) ? "left-floated" : "right-floated"; + button_div.append(btn); + } - var devnet = document.getElementById("devnetwork"); - var basenet = document.getElementById("basenetwork"); - var hasdefault = false; + var devnet = document.getElementById("devnetwork"); + var basenet = document.getElementById("basenetwork"); + var hasdefault = false; - while (devnet.length) devnet.remove(0); - while (basenet.length) basenet.remove(0); + while (devnet.length) devnet.remove(0); + while (basenet.length) basenet.remove(0); - for (const network of Networks) { + for (const network of Networks) { - if (network.engine !== engine) continue; + if (network.engine !== engine) continue; - var devopt = document.createElement("option"); - var baseopt = document.createElement("option"); + var devopt = document.createElement("option"); + var baseopt = document.createElement("option"); - devopt.text = baseopt.text = network.name; - devopt.value = baseopt.value = network.sha256; + devopt.text = baseopt.text = network.name; + devopt.value = baseopt.value = network.sha256; - devopt.selected = network.default == "True"; - baseopt.selected = network.default == "True"; - devnet.add(devopt); basenet.add(baseopt); + devopt.selected = network.default == "True"; + baseopt.selected = network.default == "True"; + devnet.add(devopt); basenet.add(baseopt); - hasdefault = (hasdefault || (network.default == "True")); - } + hasdefault = (hasdefault || (network.default == "True")); + } - { - var devopt = document.createElement("option"); - var baseopt = document.createElement("option"); + { + var devopt = document.createElement("option"); + var baseopt = document.createElement("option"); - devopt.text = baseopt.text = "None"; - devopt.value = baseopt.value = ""; + devopt.text = baseopt.text = "None"; + devopt.value = baseopt.value = ""; - devopt.selected = (hasdefault == false); devnet.add(devopt); - baseopt.selected = (hasdefault == false); basenet.add(baseopt); - } + devopt.selected = (hasdefault == false); devnet.add(devopt); + baseopt.selected = (hasdefault == false); basenet.add(baseopt); + } - var base_branch = document.getElementById("basebranch"); - base_branch.value = Configurations[engine]["base"]; + var base_branch = document.getElementById("basebranch"); + base_branch.value = Configurations[engine]["base"]; - var book_selection = document.getElementById("bookname"); - book_selection.value = Configurations[engine]["book"]; + var book_selection = document.getElementById("bookname"); + book_selection.value = Configurations[engine]["book"]; } document.addEventListener( - 'DOMContentLoaded', function () { - set_test_type(); - set_engine("{{ profile.engine }}"); - set_test_mode(0); - }, false + 'DOMContentLoaded', function () { + set_test_type(); + set_engine("{{profile.engine}}"); + set_test_mode(0); + }, false ); {% endblock %} @@ -189,205 +184,73 @@ {% csrf_token %} +
-
-
-
- {#

Engine

#} -
-
-
- Engine -
-
- -
-
- -
-
- -
-
-
-
-
- {#

Dev Settings

#} -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
- -
-
-
-
- {#

Base Settings

#} -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
+

Engine

+
+
-
+

Dev Settings

+
+
+
+
+

Base Settings

+
+
+
+
-
-
-
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
-
- -
- - -
-
-
- {#

Game Settings

#} -
-
- -
-
- -
-
- -
-
- -
-
-
-
-
- -
- +
+

Game Settings

+
+
+ +

Test Settings

+
+
+
+
+ +

General Settings

+
+
+ +
+ +
+ +
+ +
+
+ +
{% endblock %} diff --git a/Templates/OpenBench/profile.html b/Templates/OpenBench/profile.html index 5f159c8..2793983 100644 --- a/Templates/OpenBench/profile.html +++ b/Templates/OpenBench/profile.html @@ -4,55 +4,30 @@
{% csrf_token %} -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-
-
- -
-{#
#} -{# https://github.com/#} -{#
#} -
-
- - -
-
- -
-
-
+ +
+
+
+
+
+ + +
+ + + {% endblock %} diff --git a/Templates/OpenBench/register.html b/Templates/OpenBench/register.html index 8e53ba7..f5c5bdc 100644 --- a/Templates/OpenBench/register.html +++ b/Templates/OpenBench/register.html @@ -4,24 +4,11 @@
{% csrf_token %} - -
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - +
+
+
+
+ {% endblock %} diff --git a/Templates/OpenBench/search.html b/Templates/OpenBench/search.html index a308a9e..db26d4f 100644 --- a/Templates/OpenBench/search.html +++ b/Templates/OpenBench/search.html @@ -3,15 +3,15 @@ {% block scripts %} function set_default_engine() { - {% if profile.engine %} - document.getElementById("engine").value = "{{ profile.engine }}"; - {% endif %} + {% if profile.engine %} + document.getElementById("engine").value = "{{profile.engine}}"; + {% endif %} } document.addEventListener( - 'DOMContentLoaded', function () { - set_default_engine(); - }, false + 'DOMContentLoaded', function () { + set_default_engine(); + }, false ); {% endblock %} @@ -22,102 +22,55 @@
{% csrf_token %} -{#

Search for a test

#} -
-
-
-
-
-
- - -
-
- - -
-
- - -
-
-
-
-
-
-
-
- - -
-
- - -
-
- - -
-
- - -
-
- - -
-
-
-
-
- -
-
-
+
+
+ + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ + + {% endif %} -
EngineUploaderNameHash
EngineUploaderNameHash
{{network.sha256}} -
- - - {% if tests != empty %} - - - - - - - - - {% endif %} - +
AuthorEngineNameTC Result
{% for test in tests %} {% include "OpenBench/Blocks/testsummary.html" %} {% endfor %} diff --git a/Templates/OpenBench/test.html b/Templates/OpenBench/test.html index ff40c56..391fe89 100644 --- a/Templates/OpenBench/test.html +++ b/Templates/OpenBench/test.html @@ -3,180 +3,104 @@ {% load mytags %} {% block style %} - {% load static %} +{% load static %} {% endblock %} {% block content %}
+ + + + + + + + {% if test.devnetwork %} + + + + + {% endif %} + + + + + {% if test.basenetwork %} + + + + + {% endif %} + + -
-
Author{{test.author|capfirst}}
Creation{{test.creation|date:'U'}}
Engine{{test.engine}}
Dev Branch{{test.dev.name|prettyName}}
Dev Bench{{test.dev.bench}}
Dev Options{{test.devoptions}}
Dev Sha{{test.dev.sha}}
Dev Network{{test.devnetname}}
Base Branch{{test.base.name|prettyName}}
Base Bench{{test.base.bench}}
Base Options{{test.baseoptions}}
Base Sha{{test.base.sha}}
Base Network{{test.basenetname}}
Source Repo{{test.source}}
Opening Book{{test.bookname}}
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - {% if test.devnetwork %} - - - - - {% endif %} - - - - - - - - - - - - - - - - - {% if test.basenetwork %} - - - - - {% endif %} - - - - - - - - - - - - - - - - - -
Author{{ test.author|capfirst }}
Creation{{ test.creation|date:'U' }}
Engine{{ test.engine }}
Dev Branch{{ test.dev.name|prettyName }}
Dev Bench{{ test.dev.bench }}
Dev Options{{ test.devoptions }}
Dev Sha{{ test.dev.sha }}
Dev Network{{ test.devnetname }}
Base Branch{{ test.base.name|prettyName }}
Base Bench{{ test.base.bench }}
Base Options{{ test.baseoptions }}
Base Sha{{ test.base.sha }}
Base Network{{ test.basenetname }}
Source Repo{{ test.source }}
Opening Book{{ test.bookname }}
Syzygy ADJ{{ test.syzygy_adj }}
Syzygy WDL{{ test.syzygy_wdl }}
-
-
- -
-
- - {% if not test.approved and profile.approver and profile.user.username != test.author %} - Approve - {% elif not test.approved and request.user.is_superuser %} - Approve - {% else %} - Approve - {% endif %} -
-
- - {% if test.finished and profile.approver %} - Restart - {% elif test.finished and profile.user.username == test.author %} - Restart - {% elif test.finished %} - Restart - {% else %} - Restart - {% endif %} -
-
- - {% if not test.finished and profile.approver %} - Stop - {% elif not test.finished %} - Stop - {% else %} - Stop - {% endif %} -
-
- - {% if profile.approver or profile.user.username == test.author %} - Delete - {% else %} - Delete - {% endif %} -
-
- - - - -
{{ test|longStatBlock|linebreaksbr }}
- - -
- - {% csrf_token %} - -
-
- -
-
- -
-
- -
-
- -
-
- - - - {% if profile.approver or profile.user.username == test.author %} - - {% else %} - - {% endif %} - -
-
-
+ Syzygy ADJ{{test.syzygy_adj}} + Syzygy WDL{{test.syzygy_wdl}} +
+ +

+ {{test.dev.name|prettyName}} vs {{test.base.name|prettyName}} +

+ + + {% if not test.approved and profile.approver and profile.user.username != test.author %} + Approve + {% elif not test.approved and request.user.is_superuser %} + Approve + {% else %} + Approve + {% endif %} + + + {% if test.finished and profile.approver %} + Restart + {% elif test.finished and profile.user.username == test.author %} + Restart + {% elif test.finished %} + Restart + {% endif %} + + + {% if not test.finished and profile.approver %} + Stop + {% elif not test.finished and profile.user.username == test.author %} + Stop + {% elif not test.finished %} + Stop + {% endif %} + + + {% if profile.approver or profile.user.username == test.author %} + Delete + {% else %} + Delete + {% endif %} + + +
{{test|longStatBlock|linebreaksbr}}
+ + +
+ + {% csrf_token %} + +
+
+ + + {% if profile.approver or profile.user.username == test.author %} + + {% else %} + + {% endif %} + +
@@ -184,11 +108,10 @@
- +
- - + @@ -199,23 +122,22 @@ - - + {% for result in results %} - - - - - - - - - - + + + + + + + + + + {% endfor %} - +
Machine ID ## User OS UpdatedTime Crash
{{ result.machine.id }}{{ result.machine.user.username|capfirst|slice:"6" }}{{ result.machine.osname|truncatewords:1|slice:":-2" }}{{ result.updated|date:'U' }}{{ result.games }}{{ result.wins }}{{ result.losses }}{{ result.draws }}{{ result.timeloss }}{{ result.crashes }}{{result.machine.id}}{{result.machine.user.username|capfirst|slice:"6"}}{{result.machine.osname|truncatewords:1|slice:":-2"}}{{result.updated|date:'U'}}{{result.games}}{{result.wins}}{{result.losses}}{{result.draws}}{{result.timeloss}}{{result.crashes}}
diff --git a/Templates/OpenBench/uploadnet.html b/Templates/OpenBench/uploadnet.html index 07a3f2c..a3f6d55 100644 --- a/Templates/OpenBench/uploadnet.html +++ b/Templates/OpenBench/uploadnet.html @@ -3,43 +3,22 @@ {% block content %}
- {% csrf_token %} + {% csrf_token %} -
+
+
-
-
-
-
-
- -
-
-
- - -
-
- - -
-
-
-
+
-
- -
- - + {% endblock %} diff --git a/Templates/OpenBench/users.html b/Templates/OpenBench/users.html index 2b93e82..9cbd4b8 100644 --- a/Templates/OpenBench/users.html +++ b/Templates/OpenBench/users.html @@ -4,39 +4,35 @@ {% block content %} - - +
- - - - - + + + + + - - + - - - - - + + + + - {% for profile in profiles %} - {% if profile.enabled %} - {% if profile.games or profile.tests %} - - - - - - - - {% endif %} + {% if profile.enabled %} + {% if profile.games or profile.tests %} + + + + + + + {% endif %} + {% endif %} {% endfor %}
UsernameGamesTestsEngineDefault RepositoryUsernameGamesTestsEngineDefault Repository
{{ profiles|sumAttributes:"games"|insertCommas }}{{ profiles|sumAttributes:"tests"|insertCommas }}{{profiles|length}}{{profiles|sumAttributes:"games"|insertCommas}}{{profiles|sumAttributes:"tests"|insertCommas}}
{{ profile.user.username|capfirst }}{{ profile.games|insertCommas }}{{ profile.tests|insertCommas }}{{ profile.engine }}{{ profile.repo }}
{{profile.user.username|capfirst}}{{profile.games|insertCommas}}{{profile.tests|insertCommas}}{{profile.engine}}{{profile.repo}}