The shell can now send the optional `tournament` field (payouts, stacks, heroIndex, ante, level). The core read none of it, and the exact Harville expansion could not price the real bubble (15-18 players). Fields above MAX_PLAYERS are now priced by an exponential race sample with a fixed seed, so the same request always gets the same answer; beyond MAX_FIELD the core abstains. Malformed fields are an invalid request, unpriceable ones abstain. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
14 lines
316 B
Rust
14 lines
316 B
Rust
//! Wire format of VERTRAG.md: JSON request → `Spot`, `Decision` → JSON line.
|
|
|
|
pub mod decode;
|
|
pub mod decode_board;
|
|
pub mod decode_card;
|
|
pub mod decode_extras;
|
|
pub mod decode_history;
|
|
pub mod decode_legal;
|
|
pub mod decode_name;
|
|
pub mod decode_tournament;
|
|
pub mod decode_villain;
|
|
pub mod encode;
|
|
pub mod respond;
|