messung_preflop nach messung/preflop (Wurzel-Regel)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-16 00:59:06 +01:00
co-authored by Claude Opus 5.5
parent c8360771e0
commit fee3051ff0
90 changed files with 3 additions and 3 deletions
+3 -3
View File
@@ -1,14 +1,14 @@
//! Preflop-Abdeckung auf echten Spots: welcher Teil entscheidet (CFR-Lösung oder Range-Regel), und
//! warum die Lösung fehlt.
//!
//! Liest `messung_preflop/spots.jsonl` (eine Zeile je echter Preflop-Anfrage, `spots_ziehen.py`),
//! Liest `messung/preflop/spots.jsonl` (eine Zeile je echter Preflop-Anfrage, `spots_ziehen.py`),
//! schickt jede Anfrage durch den Kern (`wire::respond`, wie live) und schreibt je Zeile ein JSON:
//! `{hand, raum, cfr, klasse, aktion, grund, tiefe, sitze, pos, lage, open_bb}`.
//!
//! `klasse` ist die Spot-Klasse aus der Hand-Historie (Limp-Pot, Open + Caller, 4-Bet+ ...), damit die
//! Lücke benannt ist und nicht nur gezählt.
//!
//! cargo run --release -j 4 --bin preflop_abdeckung -- messung_preflop/spots.jsonl > aus.jsonl
//! cargo run --release -j 4 --bin preflop_abdeckung -- messung/preflop/spots.jsonl > aus.jsonl
//!
//! Schalter wie live: `OPEN_JAM` und `PREFLOP_VOLL` aus der Umgebung.
@@ -102,7 +102,7 @@ fn klasse(spot: &Spot, l: &Linie, all_in: bool) -> String {
}
fn main() {
let pfad = std::env::args().nth(1).unwrap_or_else(|| "messung_preflop/spots.jsonl".to_string());
let pfad = std::env::args().nth(1).unwrap_or_else(|| "messung/preflop/spots.jsonl".to_string());
let datei = std::fs::File::open(&pfad).expect("spots.jsonl");
for zeile in BufReader::new(datei).lines() {
let Ok(zeile) = zeile else { continue };