From e9bdc130581348c55f743a3f536f6cc6d40d8cbb Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sun, 22 Nov 2026 02:29:06 +0100 Subject: [PATCH] Diagnose: PV-Zeile je Hand (Vorflop-Geschichte mit Betraegen, Startstacks) fuer vorflop_korrektur; Verhalten unveraendert --- src/bin/zwilling.rs | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/src/bin/zwilling.rs b/src/bin/zwilling.rs index 7bd0a14c..bc020dd8 100644 --- a/src/bin/zwilling.rs +++ b/src/bin/zwilling.rs @@ -611,6 +611,15 @@ fn lauf(a: &[String]) { } // Grosse Toepfe (messung/zwilling/grosstopf.py): GN je Hand, GT mit Karten und Geschichte dz.push(format!("{dn} {pos} GN")); + // Vorflop-Geschichte je Hand (messung/zwilling/vorflop_korrektur.py): Heldensitz, Startstacks, Aktionen mit Betrag + { + let g: Vec = hist + .iter() + .filter(|r| r.street == Street::Preflop) + .map(|r| format!("{}:{}:{}", r.seat, r.action.name(), r.amount.map_or("-".into(), |a| format!("{a:.2}")))) + .collect(); + dz.push(format!("{dn} {pos} PV {} {} {}", h + 1, start.iter().map(|s| format!("{s:.1}")).collect::>().join(","), g.join(","))); + } // Showdown (messung/zwilling/fortsetzung.py): SD mit den bis zum Ende lebenden Sitzen { let mut lebt = vec![false; n];