chessbaseLinux/Cargo.toml
vrubelroman d54f207889 Opponent prep: the prep crate (openings only)
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>
2026-10-28 12:32:39 +03:00

54 lines
1.6 KiB
TOML

[workspace]
resolver = "3"
members = [
"crates/chess-core",
"crates/chess-import",
"crates/uci",
"crates/game-review",
"crates/online-games",
"crates/releases",
"crates/mobile-api",
"crates/maia",
"crates/trainer",
"crates/play",
"crates/prep",
"apps/desktop",
]
[workspace.package]
version = "2.0.0"
edition = "2024"
rust-version = "1.97"
license = "GPL-3.0-or-later"
authors = ["vrubelroman <vrubelroman@gmail.com>"]
repository = "https://github.com/vrubelroman/chessPenguin"
homepage = "https://github.com/vrubelroman/chessPenguin"
[workspace.dependencies]
shakmaty = "0.30.2"
pgn-reader = "0.29.1"
encoding_rs = "0.8"
thiserror = "2"
serde = { version = "1", features = ["derive"] }
serde_json = "1"
egui = "=0.36.2"
eframe = { version = "=0.36.2", default-features = false, features = ["wgpu", "wayland", "x11", "accesskit", "default_fonts", "links"] }
egui_extras = { version = "=0.36.2", features = ["svg", "image"] }
image = { version = "0.25", default-features = false, features = ["jpeg", "png"] }
rfd = "0.17"
arboard = { version = "3.6", features = ["wayland-data-control"] }
rodio = "0.22"
directories = "6"
chess-core = { path = "crates/chess-core" }
chess-import = { path = "crates/chess-import" }
uci = { path = "crates/uci" }
maia = { path = "crates/maia" }
game-review = { path = "crates/game-review" }
online-games = { path = "crates/online-games" }
releases = { path = "crates/releases" }
trainer = { path = "crates/trainer" }
play = { path = "crates/play" }
prep = { path = "crates/prep" }
[profile.dev.package."*"]
opt-level = 2