VORFLOP_POP: Veto im Grund sichtbar (VETO-Vermerk mit Messgrundlage und Solver-Aktion), alter Vermerk unveraendert
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -166,6 +166,34 @@ pub fn ziel_mit(spot: &Spot, t: &Teile) -> Option<f64> {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
const BASIS_VS3BET: &str = "im EV-Modell gegen die gemessene NL2-3-Bet-Range (linear, wertlastig) in allen Varianten Fold besser als Call/4-Bet";
|
||||||
|
const BASIS_VS4BET: &str = "NL2-4-Bet-Range 46-57 % AA-QQ/AK, Call/5-Bet 6-29 bb je Spot unter Fold, echtes Netto 4.5 bis 16.7 bb Verlust";
|
||||||
|
const BASIS_BLUFF4: &str = "3-Bettor foldet gegen den 4-Bet-Jam ab 80 bb 61 %, Jam-Bluff 5 bis 8 bb schlechter als Fold";
|
||||||
|
const BASIS_OEFFNEN: &str = "Klasse ausserhalb der gemessenen Breite der NL2-Regulars (VPIP 18-26 %), in allen Modellvarianten negativ";
|
||||||
|
const BASIS_KALT: &str = "Klasse ausserhalb der gemessenen Breite der NL2-Regulars (VPIP 18-26 %), Kalt-Call in allen Modellvarianten negativ";
|
||||||
|
|
||||||
|
fn aktion_wort(a: super::plan::ChartAction) -> &'static str {
|
||||||
|
use super::plan::ChartAction::*;
|
||||||
|
match a {
|
||||||
|
Fold => "fold",
|
||||||
|
Call => "call",
|
||||||
|
Raise => "raise",
|
||||||
|
Jam => "jam",
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
/// Begruendung eines Fold-Vetos: ein eigener Vermerk `VETO ...` (Population ueberstimmt den Solver, mit Messgrundlage
|
||||||
|
/// und der Aktion ohne Veto) VOR dem alten Vermerk `VORFLOP_POP <teil>: <grund> -> fold`, der unveraendert bleibt
|
||||||
|
/// (Leser: `betrieb/trainer_bewertung.py`, `lesen/vorflop_population/oeffnen_replay.py`).
|
||||||
|
fn veto_text(plan: &super::plan::PreflopPlan, teil: &str, grund: &str, basis: &str) -> String {
|
||||||
|
format!(
|
||||||
|
"{} | VETO Population-Veto VORFLOP_POP {teil} ueberstimmt den Solver (ohne Veto: {}), Basis: {basis} | VORFLOP_POP {}{grund} -> fold",
|
||||||
|
plan.reason,
|
||||||
|
aktion_wort(plan.action),
|
||||||
|
if teil == "vs3bet" || teil == "vs4bet" || teil == "bluff4" { format!("{teil}: ") } else { String::new() },
|
||||||
|
)
|
||||||
|
}
|
||||||
|
|
||||||
/// Fold-Veto Opener gegen 3-Bet (Teil `vs3bet`): `plan` wird Fold, wenn die Tabelle die Klasse hier foldet.
|
/// Fold-Veto Opener gegen 3-Bet (Teil `vs3bet`): `plan` wird Fold, wenn die Tabelle die Klasse hier foldet.
|
||||||
pub fn veto_vs3bet(spot: &Spot, plan: super::plan::PreflopPlan) -> super::plan::PreflopPlan {
|
pub fn veto_vs3bet(spot: &Spot, plan: super::plan::PreflopPlan) -> super::plan::PreflopPlan {
|
||||||
if !teile().vs3bet || plan.action == super::plan::ChartAction::Fold {
|
if !teile().vs3bet || plan.action == super::plan::ChartAction::Fold {
|
||||||
@@ -175,7 +203,7 @@ pub fn veto_vs3bet(spot: &Spot, plan: super::plan::PreflopPlan) -> super::plan::
|
|||||||
Some(grund) => super::plan::PreflopPlan {
|
Some(grund) => super::plan::PreflopPlan {
|
||||||
action: super::plan::ChartAction::Fold,
|
action: super::plan::ChartAction::Fold,
|
||||||
certainty: plan.certainty.max(0.5),
|
certainty: plan.certainty.max(0.5),
|
||||||
reason: format!("{} | VORFLOP_POP vs3bet: {grund} -> fold", plan.reason),
|
reason: veto_text(&plan, "vs3bet", &grund, BASIS_VS3BET),
|
||||||
..plan
|
..plan
|
||||||
},
|
},
|
||||||
None => plan,
|
None => plan,
|
||||||
@@ -218,7 +246,7 @@ pub fn veto_vs4bet(spot: &Spot, plan: super::plan::PreflopPlan) -> super::plan::
|
|||||||
Some(grund) => super::plan::PreflopPlan {
|
Some(grund) => super::plan::PreflopPlan {
|
||||||
action: super::plan::ChartAction::Fold,
|
action: super::plan::ChartAction::Fold,
|
||||||
certainty: plan.certainty.max(0.5),
|
certainty: plan.certainty.max(0.5),
|
||||||
reason: format!("{} | VORFLOP_POP vs4bet: {grund} -> fold", plan.reason),
|
reason: veto_text(&plan, "vs4bet", &grund, BASIS_VS4BET),
|
||||||
..plan
|
..plan
|
||||||
},
|
},
|
||||||
None => plan,
|
None => plan,
|
||||||
@@ -235,7 +263,7 @@ pub fn veto_bluff4(spot: &Spot, plan: super::plan::PreflopPlan) -> super::plan::
|
|||||||
Some(grund) => super::plan::PreflopPlan {
|
Some(grund) => super::plan::PreflopPlan {
|
||||||
action: ChartAction::Fold,
|
action: ChartAction::Fold,
|
||||||
certainty: plan.certainty.max(0.5),
|
certainty: plan.certainty.max(0.5),
|
||||||
reason: format!("{} | VORFLOP_POP bluff4: {grund} -> fold", plan.reason),
|
reason: veto_text(&plan, "bluff4", &grund, BASIS_BLUFF4),
|
||||||
..plan
|
..plan
|
||||||
},
|
},
|
||||||
None => plan,
|
None => plan,
|
||||||
@@ -342,7 +370,10 @@ pub fn veto_oeffnen(spot: &Spot, plan: super::plan::PreflopPlan) -> super::plan:
|
|||||||
Some(grund) => super::plan::PreflopPlan {
|
Some(grund) => super::plan::PreflopPlan {
|
||||||
action: super::plan::ChartAction::Fold,
|
action: super::plan::ChartAction::Fold,
|
||||||
certainty: plan.certainty.max(0.5),
|
certainty: plan.certainty.max(0.5),
|
||||||
reason: format!("{} | VORFLOP_POP {grund} -> fold", plan.reason),
|
reason: {
|
||||||
|
let (teil, basis) = if grund.starts_with("kalt") { ("kalt", BASIS_KALT) } else { ("oeffnen", BASIS_OEFFNEN) };
|
||||||
|
veto_text(&plan, teil, &grund, basis)
|
||||||
|
},
|
||||||
..plan
|
..plan
|
||||||
},
|
},
|
||||||
None => plan,
|
None => plan,
|
||||||
|
|||||||
Reference in New Issue
Block a user