Commit 0e538ec
authored
feat(preflop-charts): scenario-scoped charts, TUI viewer, and verify command (#276)
Rework the preflop chart system around (position, scenario) — each
`PositionCharts` holds one `PreflopChart` per scenario (rfi/vs_open/
vs_3bet/vs_4bet), replacing the labeled Raise/ThreeBet/FourBet scheme
that tried to pack every scenario into one strategy. `PreflopStrategy`
collapses to `{raise, call}` with fold implicit; both fields are
optional in JSON so the common `{"raise": 1.0}` case is terse. A new
`four_bet_plus_multiplier` (default 2.5) sizes 4-bet raises in Vs3Bet.
Adds `rsp arena charts` (interactive TUI hand-grid viewer with
auto-switching to a non-empty scenario when seats change) and
`rsp arena verify` with `--summary` for combo-weighted range stats per
position/scenario. The in-tree example config is rewritten in the new
format; a one-shot migration script for local configs lives outside
the tree.1 parent d3fa5a5 commit 0e538ec
16 files changed
Lines changed: 3607 additions & 3821 deletions
File tree
- examples/configs
- src
- arena
- agent
- cfr
- action_generator
- bin/rsp
- arena
- tui
- screens
- widgets
- holdem
Large diffs are not rendered by default.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
274 | 274 | | |
275 | 275 | | |
276 | 276 | | |
277 | | - | |
| 277 | + | |
278 | 278 | | |
279 | 279 | | |
280 | 280 | | |
| |||
284 | 284 | | |
285 | 285 | | |
286 | 286 | | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
| 292 | + | |
| 293 | + | |
| 294 | + | |
| 295 | + | |
| 296 | + | |
| 297 | + | |
| 298 | + | |
| 299 | + | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
| 306 | + | |
287 | 307 | | |
288 | 308 | | |
289 | 309 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
| 18 | + | |
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| |||
0 commit comments