Commit Graph
203 Commits
Author SHA1 Message Date
Andrew GrantandMinusKelvin 003148abbe Finalize Priority Group Dividers (#184)
Co-authored-by: MinusKelvin <mark.carlson@minuskelvin.net>
2024-01-09 14:11:41 -05:00
Mark Carlson 2363e7a517 Add priority group dividers (#183) 2024-01-09 14:09:34 -05:00
andrew c9b889eb9c Add PGN Archive download buttons, and API endpoint 2023-12-11 13:29:43 -05:00
andrew 7d4be81da2 Update sidebar links to new config 2023-12-04 09:26:19 -05:00
andrew ca630c80f2 Initial step for PGN uploading
1. Create the interface code to allow for it.
2. Create pgn_util to strip and compress PGNs
2023-12-04 07:57:33 -05:00
andrew 1ac76bdcc1 Optimize default SPSA to avoid CPU downtime
Left Column indicates the number of threads of a match
N= represents the number of games ( not game pairs )
The values in the table are the % of CPU time wasted.

This is based on LTC data from Torch.
The Single Modeling area can be used to understand SPRT tests as well.

We find that sufficiently large N is needed to avoid massive waste.
Multiple distribution is significanly more prone to waste CPU time

Results for Single Modeling:
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
|    |      N=1 |      N=2 |       N=3 |      N=4 |       N=8 |      N=16 |      N=32 |
+====+==========+==========+===========+==========+===========+===========+===========+
|  1 |        0 |        0 |         0 |        0 |         0 |         0 |         0 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 16 | 0.187964 | 0.154541 | 0.0953438 | 0.111055 | 0.0682209 | 0.0419675 | 0.0234031 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 30 | 0.233956 | 0.250168 |  0.247093 | 0.160325 |   0.17584 | 0.0490092 | 0.0233125 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+
| 60 |   0.3319 | 0.283755 |  0.310635 | 0.315316 | 0.0914697 | 0.0474954 | 0.0229517 |
+----+----------+----------+-----------+----------+-----------+-----------+-----------+

Results for Multiple Modeling:
+----+----------+----------+----------+----------+----------+----------+-----------+
|    |      N=1 |      N=2 |      N=3 |      N=4 |      N=8 |     N=16 |      N=32 |
+====+==========+==========+==========+==========+==========+==========+===========+
|  1 |        0 |        0 |        0 |        0 |        0 |        0 |         0 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 16 | 0.187964 | 0.108087 | 0.112321 |  0.18708 | 0.178225 | 0.109092 | 0.0847329 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 30 | 0.233956 | 0.228522 |  0.26862 | 0.263978 | 0.167372 | 0.182215 | 0.0831574 |
+----+----------+----------+----------+----------+----------+----------+-----------+
| 60 |   0.3319 | 0.352034 | 0.270229 | 0.291731 | 0.219136 | 0.178662 | 0.0936702 |
+----+----------+----------+----------+----------+----------+----------+-----------+
2023-11-22 16:25:08 -05:00
andrew 0b17de9426 Unify create_test and create_tune 2023-11-16 20:25:11 -05:00
andrew 9123444d22 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
2023-11-16 20:25:11 -05:00
andrew 98090b7ad3 Allow networks to be seen as previous defaults
Networks can now be default, previous-default, or neither.
Networks can can have these fields manually edited.
Networks with default or previous-default status may not be deleted.
Networks may have their names changed, iff no conflicts arise.
2023-11-08 18:19:39 -05:00
andrew b3f8cc67af Add a heartbeat to the Client
Hits /clientHeartbeat/ when no data exists to report
May return a stop header to abort the workload
2023-11-08 14:56:10 -05:00
andrew b577315b57 Adjust workload assignment policy
Refer to https://github.com/AndyGrant/OpenBench/wiki/Workload-Assignment
2023-11-01 01:06:35 -04:00
andrew 86d2c908e9 Ethereal 14.25 2023-10-21 00:25:33 -04:00
andrew 8e0aa6a26b Adjust default tune creation
We've shown that high SMP is fine; remove the Worker Limit default
We've shown that BULK counting might be a good idea; Swap from BATCH
Lower prio from 1 to 0 to account for the Worker Limit removal
2023-09-25 22:04:54 -04:00
andrew b6e2f0dcae Allow copying SPSA inputs/outputs more clearly 2023-09-25 21:43:40 -04:00
andrew 358ced1c0e Solve some of the html wrapping 2023-09-25 20:47:30 -04:00
andrew 9798654c36 Add workload_size ( pairs-per-point ) to display 2023-09-25 17:41:48 -04:00
andrew 7334ae4091 Ensure the tune/test differentiation is correct 2023-09-25 17:37:28 -04:00
andrew 9b294538aa Network download link from test/tunne page 2023-09-25 17:20:22 -04:00
andrew 3526e442ee Book download link from test/tune page 2023-09-25 17:10:59 -04:00
Andrew Grant 7c3f4a7203 Some improvements to SPSA's CSS/HTML/JS (#173)
Move the copy_text function to /static
Record the original order of inputs for SPSA
Display SPSA data in the original order ( if it exists )
Format ints as ints instead of floats for Start/Min/Max
Swap the Curr/Start column to clearly show the initial triplet
Right align all of the SPSA stuff
Change the copy button on Tunes to be the original SPSA Input
2023-09-21 11:12:20 -04:00
Andrew Grant a17b5f853d Add spsa_reporting_type and spsa_distribution_type (#170)
Reporting Method (BATCHED vs BULK) for SPSA Tests
Send everything at once, vs every time a pair finishes

Distribution Method (SINGLE vs MULTIPLE) for SPSA Tests
Give 1 parameter set; Give as many sets as we can
2023-09-20 10:48:15 -04:00
Andrew Grant ee267381fc Implement SPSA for OpenBench (#169)
* Support Worker and Thread Limits
* Drop report_rate from the Client
* Creation page
* WIP for SPSA; Lots of code shuffling to clean it up
* Able to create a Tune in the interface
* Start to work on a display page for Tunes
* Move all workload utilities to their own dir
* Ignore config files going forward
* Able to produce an SPSA test from the Server
* Round integers with probabilities that make sense
* Client side working
* Report as results come in, don't wait
* Fix workload size comment
* Cleanup and fix Tune modifications
* Adustment to random value in tuning
* Delete engine configs
2023-09-19 14:44:52 -04:00
Alexandra 5d1ee29358 Add restore button to test view page (#164) 2023-09-11 10:36:49 -04:00
andrew 7bf3c54249 Date formatting on searches 2023-08-18 13:17:19 -04:00
andrew f76de2bc56 Improve Searching
Fix ordering of searches to be most-recent first
Fix for fixed-game tests not matching due to wrong arguments
Display datestamps for searched tests
Modify base template block to drop the <tr> tags
2023-08-18 13:09:26 -04:00
Andrew Grant a1f8efb55a Report all errors after workload is finished (#155)
Upon completion of the workload, parse all newly created PGN files for errors. We identify these by the Termination header. Any errors found are reported to the server.

Modify the PGN naming scheme to be more versatile; Name them as <test-id>.<result-id>.<cutechess-seed>.pgn. This makes it more easy to identify PGNs and their association with tests, if someone were to look at the raw files.

Commit some code, partially based on Kimmy's efforts, which will help process PGNs without the use of python-chess' PGN libs, which are far too slow.

Cleanup some interfaces which had far too much information on them

Delete some very ancient auto-approving code that only applied to the cross-approval case. Frankly no one is running OpenBench instances with cross-approval.

Display both the base and dev NPS on the machines page
2023-08-18 12:45:42 -04:00
andrew 3b4103baf7 Improve Networks page
Better sorting, more clear fa icons
2023-08-05 21:53:20 -04:00
andrew 832f23c4eb Resolves https://github.com/AndyGrant/OpenBench/issues/149 2023-07-25 14:11:40 -04:00
andrew acbc6922bd Tentative support for 7man Syzygy 2023-07-24 16:57:23 -04:00
andrew 53c0d7e369 By default, enable Syzygy adjudication 2023-07-19 05:19:50 -04:00
andrew ef3104cd68 Implement Searching again 2023-07-19 04:45:44 -04:00
andrew 12c81c05dd Three different sets of changes in one commit
1. Fix the Networks API to handle duplicate Networks between engines
2. Modify end points to account for this ( breaks scripts and client )
3. Update Client to handle these changes
2023-07-14 21:12:29 -04:00
andrew abd6a42455 Revert change which uncollapsed Result objects 2023-06-26 07:13:47 -04:00
andrew abb924a02b Support for N-Man Syzygy as an option 2023-06-26 03:00:41 -04:00
andrew 802553269a Allow -I or --identity= to pass a nickname for a machine
Display this information on machines list, individual machine page, and on the error log
2023-06-21 00:25:23 -04:00
andrew 000fcc17ba Number of CSS and display changes
Make copy button show hoverable pointer events
Stop truncating usernames on worker result pages
Fixes for setting dev/base options when doing cross-engine play
  - Base will inherit dev's threads and hash options
  - Base will discard everything else, and add their own specific options
Move to using a 2-dot .. diff instead of a 3-dot ... diff for now.
2023-06-15 15:24:56 -04:00
andrew a9c532f873 Allow using git tags for branch names
Now supports branch names, commit shas, and git tags. Shas must still be the full length 40-character value. Tags are a fall back on branch names. If a tag has the same name as a branch, the branch will be retrieved and not the tag
2023-06-11 06:49:38 -04:00
andrew 61e89948b1 Fix swapping Engines, and nicely enfore github 2023-06-11 05:15:17 -04:00
andrew 48e3b14c1b Fix Network downloads + Machines view
Renamed function argument from action to target, was missing for Client connections.
Machines.html needs to use a different template tag to handle workload-id to test resolution
2023-06-11 04:29:13 -04:00
andrew 59917f960d Work in progress on some view changes 2023-06-09 11:03:35 -04:00
rafid-dev be55d74daa Use current page for updating status and error 2023-06-09 14:06:59 +06:00
andrew b5b95ec9cf Small cleanups 2023-06-09 00:39:15 -04:00
rafid-dev 5ae64025aa multiple repos 2023-06-09 09:49:56 +06:00
andrew 9faa5c51aa Bugfix cross-engine, and time control parsing 2023-06-06 05:32:22 -04:00
andrew 01d99a86df Implement support for cross-engine play
Also support for time odds
2023-06-01 09:40:33 -04:00
andrew 72608dc70b Fix submitting tests when actually just setting modes 2023-05-20 08:15:17 -04:00
andrew 6ab3d18b33 Fix test creation page 2023-05-20 08:09:22 -04:00
Finn Eggersandandrew faff329962 Reworked the styles for the paging buttons (#117)
Co-authored-by: andrew <andrew.github@grantnet.us>
2023-05-20 06:43:29 -04:00
andrew 6f3a0fc4c3 Collapse Results into a single object 2023-05-20 05:46:55 -04:00
andrew 6d2c38b095 CSS cleanups 2023-05-18 02:32:47 -04:00