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.
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>
- 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>
- 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>
- 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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>
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>
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>
A sacrifice is a piece the move itself gives up; every move of a combination
is marked; a piece saving itself on the only good square and the only good
move of an equal position can be great. 7 of chess.com's 8 marks agree.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
A sound piece sacrifice is !!, the only good move that turns the game is !,
by the rules of docs/research/brilliant-moves.md. Sacrifices come from a static
exchange count over the board (features.rs); the best other move comes from a
second engine search (searchmoves) only where the move played was the engine's
best and could be either. The marks go wherever errors go: report, notation,
graph, board badge, and into the PGN as $3/$1 unless the author's sign is there.
An older analysis is filled in by Update without evaluating it again.
The Android board now draws the move's mark in the corner of its square, as the
desktop does.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner puts the app in RuStore: the store updates it, and the store's build
must neither update itself nor be counted by the site. A build type «rustore»
on the same branch (not a branch to catch up each time): the release with
SELF_UPDATE off — no check of releases (the check is what the site counts
installations by), no download or install, no updates block in About, a
release kept from the site's build forgotten; its manifest drops the install
permissions and the installer's receiver. The full build only; the same
package and key, so it goes over the site's one and back with the databases.
release.sh builds it into dist-rustore and checks it asks for no install
permission; the release workflow keeps it as the run's «rustore» artifact, not
a file of the release. The site's builds are as they were.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The owner's choice: in rapid, classical and games without a clock «↶ Take back» is not
offered, and Ctrl+Z does nothing.
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>