Commit Graph
450 Commits
Author SHA1 Message Date
claude 611a117a38 Pass start FEN and game data to the board analyser, load board.css, drop the status dot 2026-10-10 16:02:29 +02:00
claude 309754bb08 Event viewer: index-based move selection, new board analyser layout 2026-10-10 16:01:57 +02:00
claude 9fba5f41b7 Add board analyser: board, evaluation bar and graph, captured pieces, controls 2026-10-10 16:01:01 +02:00
claude c8aa90ee91 Add chess rules engine for the board analyser (legal moves, SAN, FEN, Chess960) 2026-10-10 15:59:25 +02:00
claude e76aa8a977 Wire the UX layer into views.py and base.html 2026-10-10 00:42:34 +02:00
claude 2b06146e7c Add UX layer: time control buckets, event/PGN parser, template filters, styles and scripts 2026-10-10 00:42:23 +02:00
claude 56e22e6936 LLR history: back to a simple graph, back in the Actions card, fixed snapping
- Simple graph again: plot with grid, 3 y labels, games axis, bounds/zero
  when in range, green/red line, hover marker + one-line tooltip. Removed the
  header, progress bar, legend, area fill, zones, pulse and animations.
  Colours are unchanged.
- The LLR panel is back at the end of the Actions card (below Adjust) where it
  was originally; the separate LLR card and its grid placement are gone.
- Snapping: the marker now locks onto every visible peak and valley. Peaks
  are found with a swing filter (a turning point counts once the line has
  moved >= 3px away from it), so plateaus and tiny wiggles no longer steal
  the snap from the real peaks. The first and latest points snap as well.
2026-10-09 22:15:23 +02:00
claude 8ac2335020 LLR history: responsive client-side chart with snapping crosshair
- llr_history.js: draws the chart in the browser (fills its card, crisp at
  any width), nice axis ticks, green/red line + area split at zero, pass/fail
  bound lines and zones, estimated segments dashed, live-pulse marker,
  progress-to-bound header, entrance animation
- Snapping: crosshair locks to the nearest point and is pulled towards
  nearby peaks/valleys; mouse, touch scrubbing and keyboard
  (arrows, Shift x10, Home/End, Escape) with screen-reader announcements
- Loading: skeleton, error state with Retry
- mytags.llr_history_graph now only returns data (JSON in data-chart); the
  old static SVG renderer is kept as _llr_history_graph_static
- workload.html: LLR gets its own wide card, inline script removed,
  fixed a stray <tr> in the SPSA parameter table
- workload.css: grid placement + chart styles
2026-10-09 21:57:02 +02:00
claude acf5c004cb Fix mobile test list: card rule must not override stacked layout 2026-10-09 05:38:33 +02:00
claude a506ae3b5a Redesign styles: new layout, cards, tables, buttons, forms
- style.css rewritten for the topbar/sidebar shell, cards, test list with
  mobile card layout, workload grid, badges, banners, toast, LLR widget
- form.css rewritten: forms are grids of cards, stacked on small screens,
  filter chips, presets grid, sticky submit bar, auth card
2026-10-09 05:36:03 +02:00
claude cb3d99fa45 Redesign shell: topbar + sidebar navigation, ui.js, new test list markup
- base.html: new topbar/sidebar/main layout, accessible mobile menu,
  dismissible message banners, toast container, page_head block
- ui.js: current-page nav highlight, mobile menu close, copy toast
- index/testsummary: one card per section with column headers,
  labelled flags instead of coloured asterisks, empty state
- pagebrowser: nav landmark + aria labels
All Django logic, URLs, IDs and JS hooks are unchanged.
2026-10-08 22:37:46 +02:00
claude 7bbcff231d Modern redesign: new dark theme, Inter/JetBrains Mono, sharp corners
Visual-only changes: restyle style.css, form.css and paging.css and swap
the web font in base.html. No class names, IDs or markup logic changed.
2026-10-08 22:21:55 +02:00
Kirill020708 9520ca7e91 Update focus setting 2026-04-20 21:39:12 +03:00
rektdie 8bb8bd421b speedups + llr history graph z-index fix 2026-03-20 01:38:34 +01:00
rektdie 4e8c6c9423 interpolation with estimated llr and peak locking 2026-03-15 22:48:09 +01:00
rektdie 2884a7ccf8 LLR history graph!!! 2026-03-15 21:49:10 +01:00
rektdie 9d32dd8161 sync 2025-12-29 14:14:25 +00:00
Andrew Grant c66e7f4c0a Restore stepping of book_index
This is also needed for unique PGN naming.
Stopping the stepping, for datagen, was a mistake, predicated on the notion that we only needed the book_index to handle book seeding.
2024-09-21 17:05:43 -04:00
Andrew Grant 076f7af5ea Have server provide explicit int32 seeds 2024-09-20 20:32:46 -04:00
mhouppin 7a6f5ea0fb Allow some fields in the test model to be left empty (#229) 2024-09-10 16:36:53 -04:00
Gahtan Nahdi e2673c3cd1 Fix syllable abbreviation for pentanomial (#224) 2024-06-15 03:23:42 -04:00
andrew 13c1c5b4bd Add defaults to all workload presets if not present 2024-05-08 22:27:36 -04:00
andrew 1a95253055 Use Pentanomial error bars for tests with use_penta
These elo error bars, and the elo estimate itself, are still WRONG for SPRT tests, as there is no accounting for the bias introduced by the SPRT cutoff condition. Refering to elo values, or their error bars, from SPRT tests, is flawed at best.

This change does however provide proper error bars for fixed-game and datagen workloads
2024-05-08 21:33:41 -04:00
Gahtan Nahdi 742055757c Use scipy's phi_inv instead of the simple estimate (#215) 2024-05-08 18:50:39 -04:00
ArseniyandAndrew Grant 8f6d86eb5f Implement workload blacklisting (#214)
Closes #213

Co-authored-by: Andrew Grant <andrew.github@grantnet.us>
2024-04-14 15:38:33 -04:00
andrew d76d911a82 Add games reporting to archive2nps; Extra fix for last commit 2024-04-09 12:41:28 -04:00
andrew 9385dfc27e Fix security flaw allowing leaking of meta data in the API
Coding bug allows bypassing the API authentication on private servers, to reach the config, network, and build info meta-data endpoints. config and build-info are already public generally, but network meta-data was not.
2024-04-09 12:39:02 -04:00
andrew 9f21dbcb17 Kick static to v4 2024-03-28 19:43:31 -04:00
Arseniy bde66609a6 Add missing focus modifier for textarea (#208) 2024-03-28 19:42:53 -04:00
Arseniy a96a21289d Highlight current page in pagination (#207) 2024-03-28 19:42:18 -04:00
Andrew Grant 2fcb7329ce Implement support for DATAGEN Workloads through the genfens interface (#200) 2024-03-12 21:22:07 -04:00
andrew 45302fa347 Force css/js updates 2024-03-11 19:37:23 -04:00
Arseniy 1e3ea617e7 Implement editing of profile repos directly (#204) 2024-03-11 19:34:13 -04:00
mhouppin 5f1e653eba Fix invalid escape sequences in pattern strings (#205)
Turn some strings to raw strings to fix errors raised by the Python 3.12 interpreter on invalid escape sequences.
2024-03-11 19:30:57 -04:00
Arseniy e2e22c5dc7 Adaptive title font size for mobile (#199) 2024-03-11 19:30:22 -04:00
andrew eca8ccc613 Add a mechanism for cache-busting static files 2024-03-07 19:15:41 -05:00
Arseniy b768f9f5c3 Introduce mobile responsiveness (#194) 2024-03-07 18:19:20 -05:00
Andrew GrantandArseniy 989305997b Account for default config when switching presets (#198)
Co-authored-by: Arseniy <93079612+codedeliveryservice@users.noreply.github.com>
2024-03-07 18:03:54 -05:00
andrew 9c838cba9b SPSA: tuning integers, raise C_curr to 0.50 to allow C_end below 0.50
Allows passing C_end as 0 for integer tunes for example, which ensures that no matter the iteration number, C_curr will be exactly 0.50. This is useful for tuning very small numbers which have great impact, like depths, or impactful but small weights.

The formula for C_curr is C_end x (total_iters/curr_iters)^Gamma, where Gamma is usually 0.101
2024-02-28 17:59:57 -05:00
andrew c268b47e4d Modernize running benchmarks and reporting errors 2024-02-02 05:35:19 -05:00
andrew 1d75616503 Fix unknown race condition in obtaining Result objects
For unclear reasons, multiple Result objects can be created with the same test and machine, despite the ideal situation in that no machine is ever concurrently talking to the server.

In the event a duplicate occurs, all future requests would have created an additional duplicate, as Django objects obtained via .get() expect EXACTLY one response.

It is unclear how this race condition could have occured in practice
2024-01-31 22:59:18 -05:00
andrew 19bb5ce6c8 Improve worker assignment algorithm
If a handful of tests are present, its possible for one test to get multiple times more resources than is fair, without making any other tests be considered unbalacned. IE, the one test steals a small amount of resources from all other tests.

Fix this by bounding the definition of balance as +- 25%, instead of having a one-sided bound.

Also, when computing ratios, compute them as if the machine we are assigning has been assigned to each test. Ie, the ratios IF the worker is assigned to the specific test. Likewise, the fair ratio should account for this machine's threads.
2024-01-31 20:46:15 -05:00
andrew 84db0e561e Fix for min([]) on empty frameworks 2024-01-31 00:50:10 -05:00
andrew 6bbbeeeaad Fix explicit filtering with id= in some Django versions 2024-01-31 00:09:21 -05:00
andrew 6d13a513f2 Fix misnamed engine_dist -> engine_freq 2024-01-31 00:05:43 -05:00
Andrew Grant 884265289e Allow for --focus ENGINE1 [ENGINE2 ....] to prioritize Workload Assignments (#187) 2024-01-30 23:44:45 -05:00
andrew a6194682ad Reset nps values on workload assignment 2024-01-23 20:27:38 -05:00
andrew 9d464e5b7d Add balance_engine_throughputs as a configuration option
Load balances tests with relation to each engine. If set to true, the effective throughput during work allocation will be scaled linearly with the number of tests which share the same dev engine.

Namely, it can be used in a large framework to ensure equal allocation of resources across various engines. This comit will be followed by one which allows the user to specify an engine to the client, via --engine MyEngine, to force their worker to selfishly select their engine.

We will account for cases where the selfish-engine is not a top-prio workload, and not play the low prio one.
We will account for the other workers, by ignoring this worker's contribution to overall worker distrubtion. This ensures that it is a strict net gain to attach your own machines to a framework
2024-01-11 21:17:59 -05:00
andrew 7b826b22ef Cleaner implementation of flagging active machines 2024-01-11 19:14:01 -05:00
andrew f7b184c435 Add a green highlight to active results on workloads 2024-01-10 20:45:07 -05:00