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>
This commit is contained in:
vrubelroman 2026-10-31 13:42:19 +03:00
parent 4fc1d5b67d
commit 829bde9fdb
14 changed files with 1164 additions and 334 deletions

View file

@ -30,6 +30,7 @@
//! best move, scored 30 cp lower (a worse move)
//! --shallow N MOVE `go nodes n` with n < N (no `searchmoves`): MOVE is the
//! best move (a shallow search choosing another move)
//! --ignore-nodes `go nodes N` searches until `stop` (as Rodent does)
//! --answer MARKER TAIL `go` in the position of MARKER answers at once with
//! `info depth 10 multipv 1 score TAIL` and the bestmove of
//! the first move after `pv` in TAIL (repeatable)
@ -64,6 +65,7 @@ struct Cfg {
searchmoves: bool,
shallow: Option<(u64, String)>,
answers: Vec<(String, String)>,
ignore_nodes: bool,
}
fn parse_args() -> Cfg {
@ -98,6 +100,7 @@ fn parse_args() -> Cfg {
let n = num(args.next());
c.shallow = args.next().map(|m| (n, m));
}
"--ignore-nodes" => c.ignore_nodes = true,
"--answer" => {
if let (Some(m), Some(t)) = (args.next(), args.next()) {
c.answers.push((m, t));
@ -309,7 +312,7 @@ fn main() {
.and_then(|p| toks.get(p + 1))
.and_then(|v| v.parse().ok())
// `go nodes N`: a short search that ends by itself, like a real one.
.or_else(|| toks.contains(&"nodes").then_some(3));
.or_else(|| (toks.contains(&"nodes") && !cfg.ignore_nodes).then_some(3));
since_new_game += 1;
let mut bias = if cfg.hash_memory {
let of_position = marker.bytes().map(i32::from).sum::<i32>() % 97;