A new crate shared by the apps, no UI: what a player of a database plays in the opening and where in the opening he goes wrong. - Player: candidates from the database's names (initials with a full stop work), one or several ids, White, Black or both. - Lines: the first N plies (default 20) of the main lines, position keys, UCI/SAN, result from the player's side, full date, opponent's Elo; games from a set-up position are skipped. - Repertoire tree per colour by move order with position keys: games (+/=/-), last date, average opponent Elo, game list, transpositions marked. - Opening names from lichess-org/chess-openings (CC0; revision and SHA-256 pinned, files in crates/prep/data, THIRD_PARTY_NOTICES): the deepest named position of a line, families and variations with their first moves, grouped by name. - Book: a second database (or the same one without the player's games) says where each game left it (first position with fewer than T games, T = 5) and whose move it was. - Engine: every distinct position of the lines once through game_review::run, judged with the game analysis rules for the player's moves only; errors by opening and the repeated ones (same position, same move in two or more games); evaluations cached per position across reports, the report cached by database, player and plies. - examples/prep_report.rs prints it all for a database and a player. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
17 lines
576 B
TOML
17 lines
576 B
TOML
[package]
|
|
name = "prep"
|
|
description = "Preparing against an opponent: a player's opening repertoire in a database, the names of the openings, where the games leave the book, and the opening errors the engine finds (the desktop and Android apps share it)"
|
|
version.workspace = true
|
|
edition.workspace = true
|
|
rust-version.workspace = true
|
|
license.workspace = true
|
|
authors.workspace = true
|
|
publish = false
|
|
|
|
[dependencies]
|
|
chess-core.workspace = true
|
|
chess-import.workspace = true
|
|
game-review.workspace = true
|
|
uci.workspace = true
|
|
serde.workspace = true
|
|
serde_json.workspace = true
|