From 1e4e3ff7f05f808e0a2009fd172260a507328a57 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Sat, 7 Nov 2026 01:32:21 +0100 Subject: [PATCH] PLO5: heuristischen Nuss-Abschlag entfernt - range-bewusste Equity traegt sauberer, +8 bb (Owner 7.11.) Nachdem die range-bewusste Omaha-Equity (omaha_combos, 04a22554) geschlagene Haende an der WURZEL bestraft (Ueberpaar 0.00 gegen Value-Range statt 0.19), ueberkorrigierte der heuristische Nuss-Abschlag aus 552b2c7a: er foldete starke Nicht-Nuss-Haende weg (gemessen ein 88%-Flush!). Auf der breiteren Latte (45 Spots) gemessen: Abschlag RAUS hebt die Summe +178.37 -> +186.40 bb (der 88%-Flush callt wieder +8 bb), ohne dass Uebercalls zurueckkommen - die saubere Loesung traegt das Gewicht allein. Nut-Modul src/read/nut_made.rs bleibt als bewiesenes Fundament (spaeter fuer Bluffcatch/Sizing, nicht als Equity-Rohabschlag). NLHE-Leiter GLEICH (+0.00). pipeline_plo5 6/6, read_nut_made 11/11. Neue PLO5-Basislinie gespeichert. Offen auf der Latte (naechste Hebel, je gemessen): 2 Grenz-Aussetzer (44%/38%, sicher), ein Doppelbrett-Uebercall (Engine nach besserem Brett statt Split-Equity) - eigener Fix. --- benchmarks/plo5_baseline.txt | 8 +++---- src/engine/postflop.rs | 46 +----------------------------------- 2 files changed, 5 insertions(+), 49 deletions(-) diff --git a/benchmarks/plo5_baseline.txt b/benchmarks/plo5_baseline.txt index 7bf38f61..983a7d18 100644 --- a/benchmarks/plo5_baseline.txt +++ b/benchmarks/plo5_baseline.txt @@ -1,8 +1,8 @@ -label 04a22554+lokal +label ea2dbb1f+lokal scenario trocken deals 8 seed 104372000587777 -counts 8 0 0 +counts 7 1 1 samples 7.0817499999999995 10 7.067250000000001 0 0 0 0 0 scenario gefaehrlich deals 8 @@ -13,7 +13,7 @@ scenario monoton deals 8 seed 104372000587777 counts 8 0 0 -samples 10 10 10 0 0 0 0 0 +samples 10 10 10 8.0239625 0 0 0 0 scenario gepaart deals 8 seed 104372000587777 @@ -22,7 +22,7 @@ samples 10 7.624500000000001 9.777999999999999 0 0 0 0 0 scenario turn deals 8 seed 104372000587777 -counts 8 0 0 +counts 7 1 1 samples 9.692250000000001 8.904250000000001 5.177750000000001 7.7566375 0 0 0 0 scenario doppelbrett deals 5 diff --git a/src/engine/postflop.rs b/src/engine/postflop.rs index b55a24ae..40202288 100644 --- a/src/engine/postflop.rs +++ b/src/engine/postflop.rs @@ -10,7 +10,6 @@ use crate::exploit::thresholds::Thresholds; use crate::game::{ActionKind, Choice, Decision, Spot}; use crate::odds::{break_even::break_even, ev}; use crate::read::hand_read::HandRead; -use crate::read::nut_made::nuss_lage; fn label(choice: Choice, kind: Option) -> String { match (choice, kind) { @@ -88,32 +87,6 @@ pub fn choose_postflop( choose_postflop_with(spot, estimate, &Called::flat(estimate.share), thresholds, read) } -/// Omaha-Nuss-Abschlag: ab vier Lochkarten heisst "weit von der Nuss auf einem gemachten Brett", -/// dass eine Setz-Range des Gegners die Hand oft schon schlaegt - die rohe Equity (gegen eine grobe -/// Range) ueberschaetzt dann die realisierte. Naehe zur Nuss (Rang 0/1) bleibt voll; mit Abstand -/// sinkt der realisierte Anteil, bis eine geschlagene Hand richtig foldet statt zu callen (Owner -/// 7.11.). NLHE (zwei Lochkarten) bleibt voellig unberuehrt (`read/nut_made`). -fn nut_abschlag(spot: &Spot, mut eff: Effective) -> Effective { - let rules = spot.rules(); - if rules.hole_cards < 4 || spot.board.len() < 3 { - return eff; - } - if let Some(lage) = nuss_lage(&rules, &spot.hero_cards, &spot.board) { - eff.share *= nut_faktor(lage.rang); - } - eff -} - -/// Daempfungsfaktor nach Abstand zur Nuss (Rang 0 = Nuss). Monoton, voll bei Nuss/Second Nut. -fn nut_faktor(rang: usize) -> f64 { - match rang { - 0 | 1 => 1.0, - 2..=4 => 0.88, - 5..=9 => 0.70, - _ => 0.35, - } -} - /// The rule for a postflop spot, given an equity estimate, the share against the /// calling range per raise size (`called`) and the hand read. /// @@ -139,7 +112,7 @@ pub fn choose_postflop_with( if !(raw.is_finite() && (0.0..=1.0).contains(&raw)) { return Decision::abstain("equity unavailable"); } - let eff = nut_abschlag(spot, effective(spot, raw, thresholds, read)); + let eff = effective(spot, raw, thresholds, read); let share = eff.share; let be = break_even(spot.pot, spot.to_call); let breakpoint = be + eff.call_margin; @@ -201,20 +174,3 @@ pub fn choose_postflop_with( }, }) } - -#[cfg(test)] -mod tests { - use super::nut_faktor; - - #[test] - fn nut_faktor_voll_bei_nuss_dann_monoton_fallend() { - // Nuss und Second Nut bleiben voll - sonst foldet man gute Haende weg. - assert_eq!(nut_faktor(0), 1.0); - assert_eq!(nut_faktor(1), 1.0); - // Mit Abstand zur Nuss sinkt der Faktor, nie unter Null (kein Totalausschluss). - assert!(nut_faktor(3) < 1.0); - assert!(nut_faktor(7) <= nut_faktor(3)); - assert!(nut_faktor(20) <= nut_faktor(7)); - assert!(nut_faktor(20) > 0.0); - } -}