Commit graph

177 commits

Author SHA1 Message Date
vrubelroman
fdcb12bd80 Release 2.1.5
Some checks failed
Release / linux (push) Has been cancelled
Release / flatpak (push) Has been cancelled
Release / windows (push) Has been cancelled
Release / macos (push) Has been cancelled
Release / android (push) Has been cancelled
Release / publish (push) Has been cancelled
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Release / version (push) Has been cancelled
Automatically save opponent preparations and start the opening-error engine when the report is ready, while preserving manual Stop and saved evaluations.

Remove the book comparison from opponent preparation: its UI, background work, algorithm and development hook are gone. Legacy saved data remains readable and is preserved for a possible future revert.

Align game counts, error counts and percentages in the preparation summary and refresh the architecture and team documentation.
2026-11-02 13:35:21 +03:00
vrubelroman
3803165491 Changelog, decisions and tasks: periods, saved preparations, game links
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 22:04:39 +03:00
vrubelroman
570bd84dcf Opponent prep: periods of 3 and 6 months, not 5 years
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 20:28:35 +03:00
vrubelroman
57fa98241b Opponent prep: which games by period or number, saved preparations
The report takes all the player's games, those of the last 1/2/5 years
before his newest game, or his last 50/100/200 of each colour; every
choice shows how many games it takes. Undated games count only with all.
«💾 Save» keeps a preparation with its errors in the program's data;
«📑 Preparations» in the library opens, renames and deletes them.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 18:11:58 +03:00
vrubelroman
771162f627 Review engine: the probe started by the user's path, a timeout told and not kept, no wait on quitting; the shelf takes a link once
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- The «checking your engine» toast only while an engine is really being checked.
- The probe starts the engine by the path of the settings or PATH (a snap or a
  wrapper looks at its name); the verdict stays the real file's.
- A Stockfish 19 that does not finish the check in time: its own text, kept in
  memory until the next request, never on the disk.
- Quitting waits for probes 2 s at most; an engine hung in its handshake dies with
  the probe's thread (uci: EngineConfig::kill_with_parent, PR_SET_PDEATHSIG).
- touch_database: a link to a database on the shelf is that database.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:51:29 +03:00
vrubelroman
829bde9fdb Review engine and dropped files: fixes after the independent check
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- The probe turns down an engine not called «Stockfish 19» right after `uci`, without
  a search; a search has a 10 s guard, the probe 30 s; probes stop and their engines
  quit (or are killed) when the program quits. Play engines (Rodent, Maia) are never
  candidates.
- «Did not start» is its own outcome, said once and tried again next time; verdicts
  are kept for the real file with the reference's key; the engine's name is checked
  again when a job starts (a wrapper may run another program).
- The wait for a probe belongs to its game or preparation; the game analysis and the
  opening errors wait apart; «analyse anew» keeps its `full`.
- The offer says why: another engine (settings / system), a Stockfish 19 that
  calculates otherwise, one that did not start; the size line is back.
- Dropped files: missing ones told, known ChessBase parts only, duplicates by the real
  file, each folder listed once; drops never replace a database being chosen again,
  a cancelled «Choose again» ends it; «Added to the shelf» over a game; a framed
  highlight with a card; long names shortened.
- decisions.md: where dropping works (not in a Wayland session: winit 0.30).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:42:19 +03:00
vrubelroman
4fc1d5b67d Tasks: training along a file's tree of variations, as in ChessTempo
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:38:42 +03:00
vrubelroman
02b665719f Tasks: training files - positions to solve with points, as in ChessBase
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:26:36 +03:00
vrubelroman
391977a5ef Game analysis on the user's own Stockfish 19 once it searches as ours; files dropped on the window open as databases
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- review_engine: ChessPenguin's Stockfish 19, else a Stockfish 19 of the user's
  (settings, PATH) whose probe (game_review::probe: id name and three searches of the
  analysis's fixed mode at 100k nodes) matches the reference of ours; probed in the
  background, the verdict kept by path, size and time. Other engines: the offer names
  them («В настройках указан …»).
- Dropped files and folders open as «Add database» does (.pgn/.cbh/.cbv/.zip/.7z, the
  .cbh of any ChessBase part); others get a toast; «Release to open» while dragging.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-31 13:16:15 +03:00
vrubelroman
b5da315343 Sizes in the interface's language: units and the decimal sign («2,2 ГБ, предел 2,0 ГБ»)
platform::size_text takes the units from the translations ({n} GB …) and
the decimal comma where the language writes one; every size the web version
shows goes through it. chessbase.mjs takes CP_LANG.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 21:15:11 +03:00
vrubelroman
bc104c55b4 Web version: ChessBase databases of several files and folders, a 2 GB limit with a polite refusal, messages without the page's paths
A .cbh chosen alone brings a window: its folder (Chrome, Edge:
showDirectoryPicker opening beside the file, the folder remembered; others:
webkitdirectory) or all its files; the files are grouped into databases by
name (chess_import::group_chosen), the reader opens a ChessBase one with
open_chessbase_owned. The user's files stay the browser's File objects: the
worker reads them, the page never holds a database's bytes; a kept copy
takes the whole database. Over 2 GB of the files read: refused with the way
to the desktop program. A reader out of memory says so in the user's words.
Paths like /opened/... are no longer shown (platform::files::shown).

chess-core: detect_letter_substitution decodes the text a piece at a time;
it held the whole text as chars (four times its size): a 1 GB cp1251 PGN
could not be read in a browser (capacity overflow) and cost gigabytes on a
computer. Now 1.95 GB opens in Firefox and Chromium.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 20:42:18 +03:00
vrubelroman
bda92c5675 Web version: «Allow reading» checked, a kept copy lets the handle go, dropped files told apart in Chrome; docs: §9, the checks in Chromium
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 17:58:01 +03:00
vrubelroman
67c91b6e0d Web version: no engine-file or folder buttons in a browser's settings; docs: the review check (359 of 359 positions the same as on the computer), checks of stage 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:43:28 +03:00
vrubelroman
48de2debcf Web version: engine settings without threads and memory; review check reads the browser's storage as JSON; docs for stage 2
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 16:37:38 +03:00
vrubelroman
dd1f3c6c28 docs/dev/web.md: the size of the download, the device page's variants, the engine's location
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:19:11 +03:00
vrubelroman
30eac472ff Web version: what the browser lacks is not offered, files dropped on the window, checks, docs
The interface hides what the platform does not have (platform::CAPS): play,
new databases, adding to a database, preparation, translation, their
shortcuts and the Translation tab. Files dropped on the window open like
chosen ones (in a browser; the desktop program takes no drops, as before),
with «Release to open» while they are dragged over it.

/app/: ?phone=android and ?phone=ios show those variants of the device page.

apps/web/check: device.test.mjs (14 devices: computer, iPhone, iPad as a Mac,
Android phone and tablet, desktop-site modes, Chromebook, touch laptop) and
app.mjs (headless Firefox: the device page in three languages without the
program, the program, a PGN opened by Ctrl+O and the file chooser, a dropped
PGN, a game of the classics, moves, «Download PGN», e2-e4 on the board, the
settings after a reload). All pass.

docs/dev/web.md: the architecture, the platform layer, what is not built for
a browser, the build and the checks, what comes next; docs/dev/uci.md and
desktop.md updated, web/README.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 15:18:45 +03:00
vrubelroman
89269b8849 Decisions: the web app only on computers; phones and tablets get the app page
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:08:49 +03:00
vrubelroman
c92d182e87 Design: the web version (light) - screens, files and storage, iPad layouts, keys, install, the phone page
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 14:06:37 +03:00
vrubelroman
3ce1eb588e Decisions: no web app on phones - a page sending Android to the app, iPhone: coming soon
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:58:04 +03:00
vrubelroman
81314598df Decisions: the web version - light first, our site, four browsers, read-only databases from disk
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:55:41 +03:00
vrubelroman
de18fd93d6 Web version: the concept study; task 22 status
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:22:22 +03:00
vrubelroman
5ecd7a4e98 Research: the technical side of a web version (wasm build, Stockfish in the browser, files, workers)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 13:21:47 +03:00
vrubelroman
b30f9635d1 Web version: a subproject to study running ChessPenguin in the browser
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 12:46:33 +03:00
vrubelroman
a8c8ff3002 Revert "Review: a check that wins a piece whatever the reply is not great"
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
This reverts commit d8a5c8f4c7.
2026-10-30 01:45:33 +03:00
vrubelroman
d8a5c8f4c7 Review: a check that wins a piece whatever the reply is not great
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
90.Ra4+ of the owner's son's game, a skewer, is a textbook blow - the owner
calls it plain. The checks of a mating attack stay (22.Bf5+, 23.Bd7+ of the
Evergreen game). ChessCom rules only; the son's game now lists Ra4+ among the
owner's plain moves.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-30 01:43:43 +03:00
vrubelroman
cfa2610dc3 Review: the king stepping out of check is not great
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Three of our ! chess.com did not give (23.Kd3, 20...Ka7, 32.Kd2) and three it
did (22.Ke3, 25...Kb6, 20.Ke2) go; the owner counts the move plain. Our ! are now
chess.com's 27 times of 28. ChessCom rules only.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 22:08:10 +03:00
vrubelroman
90b20c0376 Review: a hard only move is brilliant too; the owner's plain moves join the check set
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The shallow search (5 000 nodes) is on: the only good move (10 % ahead) that a
shallow search ranks 30 % lower is !! even without a sacrifice - 17...Be6!! of
Byrne - Fischer and 33.c3+!! of Kasparov - Topalov; !! of chess.com found 35 of 39
(was 32), 95 % of ours right, no wrong one added. Not used for ! (it would take
nearly every ! away). The owner's two games with 10.Be2 and Ra7, which he calls
plain, join the set with an OwnerPlain tag the checker enforces.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 21:58:46 +03:00
vrubelroman
da4903cb2e Review: an attacked piece stepping quietly to its one good square is not great
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
10.Be2 of the owner's online game (the bishop on d3 under c4, the only square
that keeps f3) was ! - plain, the owner says. A step away with check can still be
great (19...Ne2+, 23.Bd7+ are chess.com's !). ChessCom rules only; 13.Qa4! of the
Evergreen game is given up for it.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-29 20:43:54 +03:00
vrubelroman
63ba4b3e08 Tasks: opponent preparation stays on the desktop
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:36:45 +03:00
vrubelroman
703af42557 README: the description and screenshots of 2.1
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Opponent preparation, !! and ! in the game review, the reference tab, search by
position, 100 classic games and the Android app (no longer alpha); the gallery
takes the current English screenshots of the website plus the opponent
preparation. AppStream's default screenshot follows the new file.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:35:01 +03:00
vrubelroman
5b2898ee46 Tasks: opponent prep - games by age or count; saved preparations
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 22:17:02 +03:00
vrubelroman
dd26e7261a Samples: 100 classic games (was 38)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
62 famous games added as plain records, from the free player files of
pgnmentor.com, most checked move by move against Wikipedia; two with sources
that disagree were left out. Byrne - Fischer 1956 now has the move order of the
sources (same final position). The new file replaces the old sample on update.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 20:31:53 +03:00
vrubelroman
a328f429c5 Samples: the built-in databases are brought up to the program's version
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
At every start a sample's file that is not the text built into the program
(an older version, damaged or edited outside) is replaced atomically, under
its name in any language; a sample taken off the shelf stays off. Android
reads the samples from the app's assets: the number of games on a row is
taken again when the sample's SHA-256 is not the one it was counted from.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:46:45 +03:00
vrubelroman
1e834fe1ea Review: stricter great moves - never a capture, the best other move 25 % behind
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The owner wants !! near 100 % and fewer, surer !. Sweeping the thresholds on
the check set, wrong ! came mostly from captures in forced lines; with no !
for a capture and a gap of 25 % (was 10) ours are chess.com's 87 % of the time.
ChessCom rules only. 2M nodes instead of 1M changed !! not at all: kept 1M.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:30:11 +03:00
vrubelroman
63a764bd16 Android: the game analysis in the fixed search; decision and docs
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
- mobile-api GameReview.start(path, eval_file, full): the fixed search in
  one engine process per core (at most 4, by free memory), nice 10;
  ReviewState.stale, nps_per_process; review_estimate_secs().
- The start sheet keeps the description, the time and one button; quality,
  «Start over» and «Analyse again» are gone; a stale analysis offers
  «Update», evaluations of the PGN «Analyse with the engine».
- docs/decisions.md: the owner's decision with the numbers (search, memory,
  times, the first chess.com check); android-ui.md §21.2; chess.com README.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:23:46 +03:00
vrubelroman
2ca494ce27 Review: a threat standing before the move does not undo a sacrifice; Kasparov - Topalov
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
37.Rd7!! of Kasparov - Topalov: 37...Rxd7 38.Bxc4 wins the queen back, but the
bishop has attacked it since 36.Bf1 - the move made no new threat, the rook is
given. Only a threat the move itself makes (18.Bxa7 opening the d-file) means
taking is no answer. Tried and dropped: a pawn given as the only good move as !!
(finds 33.c3+!!, but marks 17.d5 of Steinitz, unmarked by chess.com).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:20:09 +03:00
vrubelroman
58aac83927 Review: won anyway means a forced mate (ChessCom); three more chess.com games
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Every sacrifice of the check set whose best other move also won (up to 93 %)
is chess.com's !!, so a won position no longer rules !! out by win % - only a
forced mate without the move does. The checker compares games known only by
chess.com's totals by count (Levitsky - Marshall). Check set: 10 games.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 19:02:47 +03:00
vrubelroman
1be3f84802 Review: a piece moved into a new attack is offered; a pawn for a quicker mate; taking back a trade
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Calibrated on three more games marked by chess.com (Pillsbury - Lasker,
Rotlewi - Rubinstein, Reti - Tartakower), ChessCom rules only:
- an attacked piece moved quietly onto another attacked square could have
  stepped away: offered (18...Ra3!!, 20...Ng4!!); only a desperado capture is
  a piece lost anyway;
- a capture winning back what the opponent has just taken elsewhere is no
  winning capture and can be great (18.fxe6!), unless the opponent took a piece
  the mover had just offered (24...Bxe4+);
- a pawn offered for a quicker mate is brilliant (29...b5+!!).
Check set: 7 games, 38 agree, 6 differ (was 34/10).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:46:50 +03:00
vrubelroman
9f46fb1d71 Review: no ! or !! for a book move; no ! when the best other move keeps 60 %
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The opening table moves from prep into its own crate, chess-openings, so the
game review can tell a book move (a position on a line of the table), as
chess.com does. A move is no longer great when the best other move still keeps
60 % (was 75): every chess.com ! of the check set is at 59 % or less. ChessCom
rules only. Check set: 23 agree, 5 differ (was 9).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:37:42 +03:00
vrubelroman
da367bdaf1 Review: only a threat the move made refutes a sacrifice, not one the capture opens
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
22.Rxe7+!! and 24.Rg7+!! of Steinitz - von Bardeleben (chess.com marks both)
were lost to the previous rule: 22...Qxe7 23.Rxc8+ wins back only because the
queen left d7. The game joins the chess.com check set.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 18:31:45 +03:00
vrubelroman
4f573bac6f Review: a sacrifice mating sooner is brilliant; a best move's next-position drop is noise
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The Immortal game against chess.com's marks: 22.Qf6+!! mates in 2 while 22.Qf7
mates in 4 (win % cannot tell them apart), and 9.Nf5! / 12.h4! were lost to
the noise between two searches. ChessCom rules only; the chess.com check set
gains the Immortal game: 17 of 17.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 17:18:48 +03:00
vrubelroman
0efe794662 Review: a piece whose capture loses more at once is no sacrifice; chess.com check set
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
18.Bxa7 (a game against Rodent, 2026-10-27) opens the d-file on the queen:
18...Rxa7 19.Rxd8. chess.com gives it no !!, and neither do the ChessCom rules
now. The games compared with chess.com live in crates/game-review/chesscom/ with
its marks as NAGs; the chesscom_check example runs them all after each change.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 17:13:10 +03:00
vrubelroman
3d72f80ab5 Tasks: opponent prep status; «Open as a game» left for the owner to decide
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:50:32 +03:00
vrubelroman
d654223665 Opponent prep: the tester's and designer's review
Core: the most precise opening name stays down a line (a deeper position the
table names more generally, «Sicilian Defense» after 3.d4, does not take it
back), in the games' names and in the tree; one name per position across move
orders; the games and the last date of a position over all its move orders;
`evaluated()` (evaluations from the cache count). Report version 3.

Screen: errors judged from cached evaluations show without a run; «Checked N of
M positions · Continue» after «Stop» or a new depth; the report shows the book
only when it was computed with the chosen one; the dialog keeps the remembered
book and the same player reopens with the dialog's colour and book; «Deeper»
and the depth list share one path (setting kept, report from the cache); a
chosen error survives re-judging during the run; quitting during the run asks
first; Ctrl+W returns from a game opened from the report; a game opened at an
error opens after the move, a repeated error at its newest game.

Design (§12): the summary as a grid whose columns give way, counts in the
colours of the signs; result bars without numbers, faint over few games; move
lines numbered at White's moves; whole-move first-move lines; colour icons in
the openings table; ECO kept beside the name; the errors tab as one table with
row selection and keys (↑/↓/→/←/Enter); colour lines there only in the stack;
«Inaccuracies» switch (kept in settings) for the tab, the summary, the tree and
the games; «▾» at the right end; one colour order; the depth caption by the
room left; names first in narrow game lists; two-row games minimum in a low
window; the caption beside the stacked board; «others (N)» when narrow.
Designer's review recorded in docs/design/opponent-prep.md §12.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 16:21:16 +03:00
vrubelroman
f02f140394 Opponent prep: the desktop screen (dialog, report, engine run)
The «Prepare against…» entry points in the library (the filter panel's button
when a player is set, the game row's context menu, Ctrl+Shift+P), the dialog
(database, the player's spellings with the similar names apart, colour, book)
and the report screen in the stack between the library and the game: the
repertoire tree with transpositions, opening names, scores and the book
column, the openings table by family and variation, the errors tab (repeated
errors and by opening), the board of the chosen position with the line under
it, and the games of the selection, which open in the game screen at that move
with «⬅ Back to preparation».

The engine run reuses the game analysis job over the distinct opening
positions of the chosen colour: the launch dialog shares the engine picker and
the quality/threads/memory grid with review.rs (quality «Fast» by default, its
own setting), marks appear as positions are evaluated, «Stop» keeps what was
done, the evaluations and the report are cached under <cache>/prep. One engine
job per program: game analysis and the live engine are blocked meanwhile.

Core: targets and counts by colour (`targets_for`, `missing_for`), the book
step keeps its per-position counts (`book_counts`) for the tree column.
Narrow windows: the board stacks over the lists under 804 px and folds into a
button under 720 px of height; the right column is split explicitly (a nested
bottom panel is not reserved from the content above it in egui).

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 15:43:15 +03:00
vrubelroman
015fa0cfe3 Design: opponent preparation screen
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 12:18:56 +03:00
vrubelroman
53ffc69d40 Opponent prep: owner's scope — openings only, desktop first
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 12:07:29 +03:00
vrubelroman
b51ca265ff Research: preparing against an opponent (concept and technical part)
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
2026-10-28 11:59:47 +03:00
vrubelroman
ef498aa7cc Tasks: opening repertoire and opponent preparation
Some checks are pending
CI / macos-build (push) Waiting to run
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 10:43:05 +03:00
vrubelroman
2e145dc362 Review: both rule sets of !! and ! kept (Strict, ChessCom); ! is «Замечательный ход»
Some checks are pending
CI / check (push) Waiting to run
CI / windows-build (push) Waiting to run
CI / macos-build (push) Waiting to run
The first rules stay beside the calibrated ones, selectable through
game_review::Rules, to compare them on annotated games and to go back.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-28 02:23:19 +03:00