Engine: EV-neutrales Size-Mix, Stage-B-Solver-Infra, Turnier-Staerke-Leiter
Drei getestete/bewiesene Arbeitsstraenge dieser Session (128/128 Lib gruen): - EV-neutrales Size-Mix (engine::postflop): das Postflop-Sizing war reiner EV-Argmax (deterministisch und damit lesbar). Es mischt jetzt seeded unter den Raise-Sizes, deren EV innerhalb 0.5 Standardfehlern des besten liegt (unter dem Modell nicht unterscheidbar) - nur Raises, nie check/call/fold. Gepaart gegen die deterministische Baseline bewiesen EV-neutral (-0.23 +/-0.59 bb/100, 112 Spots gemischt, jede Zeile ununterscheidbar von 0); der winzige Negativ-Punktschaetzer ist konstruktionsbedingt (Abweichung nur weg vom Argmax) und band-getrieben. Schalter SIZE_MIX / SIZE_MIX_BAND. Befund: docs/notizen/BEFUND-size-mix-ev-neutral.md. - Stage B Turn+River-Subgame-Solver (cfr::turn_river, engine::turn_subgame) plus Per-Street-Aggression in der Belief (Profile turn_/river_aggression, sim::memory-Zaehler, believed_villain nimmt die Aggression als Parameter). Der Live-Turn-Fold-Veto wurde nach gepaarter Messung ZURUECKGENOMMEN (regressiert nemesis-1; Wurzel = draw-blinder Turn-Bucket, nicht Belief-Granularitaet -> Stage C). Solver- und Belief-Infra bleibt als getestete, Ladder-neutrale Primitive. Befund: docs/notizen/BEFUND-stage-b-turn-river-solver.md. - Turnier-Staerke-Leiter (sim::turnier_leiter, bin turnier_leiter, icm::risk): ICM-$-gepaarte Leiter, die die ICM-Linie gegen Chip-EV beweist, Cash bit-identisch. Befunde: docs/notizen/BEFUND-turnier-*.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -13,6 +13,8 @@ const WEAK_PLAYER: Profile = Profile {
|
||||
pfr: Some(0.10),
|
||||
fold_to_bet: Some(0.25),
|
||||
aggression: Some(0.20),
|
||||
turn_aggression: None,
|
||||
river_aggression: None,
|
||||
cbet: None,
|
||||
fold_to_cbet: None,
|
||||
three_bet: None,
|
||||
@@ -21,6 +23,7 @@ const WEAK_PLAYER: Profile = Profile {
|
||||
check_raise: None,
|
||||
wtsd: None,
|
||||
wsd: None,
|
||||
confidence: None,
|
||||
};
|
||||
|
||||
fn prior(mark: &str) -> Option<Profile> {
|
||||
@@ -38,6 +41,8 @@ pub fn with_mark(measured: Option<Profile>, mark: &str) -> Option<Profile> {
|
||||
pfr: known.pfr.or(prior.pfr),
|
||||
fold_to_bet: known.fold_to_bet.or(prior.fold_to_bet),
|
||||
aggression: known.aggression.or(prior.aggression),
|
||||
turn_aggression: known.turn_aggression.or(prior.turn_aggression),
|
||||
river_aggression: known.river_aggression.or(prior.river_aggression),
|
||||
cbet: known.cbet.or(prior.cbet),
|
||||
fold_to_cbet: known.fold_to_cbet.or(prior.fold_to_cbet),
|
||||
three_bet: known.three_bet.or(prior.three_bet),
|
||||
@@ -46,5 +51,6 @@ pub fn with_mark(measured: Option<Profile>, mark: &str) -> Option<Profile> {
|
||||
check_raise: known.check_raise.or(prior.check_raise),
|
||||
wtsd: known.wtsd.or(prior.wtsd),
|
||||
wsd: known.wsd.or(prior.wsd),
|
||||
confidence: known.confidence.or(prior.confidence),
|
||||
})
|
||||
}
|
||||
|
||||
@@ -18,6 +18,15 @@ pub struct Profile {
|
||||
/// Share of the player's postflop actions that are bets or raises (aggression
|
||||
/// frequency). Steers how much of their betting range is a bluff (`bluff_share`).
|
||||
pub aggression: Option<f64>,
|
||||
/// Aggression frequency on the TURN only (bets+raises over the player's turn actions). `None`
|
||||
/// until the memory/HUD has turn data. The turn gearbox (`engine::turn_subgame`) prefers it over
|
||||
/// the pooled `aggression`: a player who barrels turns but checks flops reads as a turn bluffer
|
||||
/// here, so the defensive veto does not fold a good call against them.
|
||||
pub turn_aggression: Option<f64>,
|
||||
/// Aggression frequency on the RIVER only. `None` until the memory/HUD has river data. The river
|
||||
/// gearbox (`engine::river_subgame`) prefers it over the pooled `aggression`, since river bluffing
|
||||
/// tendency differs from flop/turn barreling.
|
||||
pub river_aggression: Option<f64>,
|
||||
/// How often the player continuation-bets the flop as the preflop aggressor.
|
||||
pub cbet: Option<f64>,
|
||||
/// How often the player folds to a continuation bet.
|
||||
@@ -35,4 +44,10 @@ pub struct Profile {
|
||||
pub wtsd: Option<f64>,
|
||||
/// Won at showdown: how often the player wins once at showdown.
|
||||
pub wsd: Option<f64>,
|
||||
/// Confidence in this read, in `[0, 1)`: 0 without data, rising with the observed postflop
|
||||
/// sample (half at `sim::memory::CONFIDENCE_HALF` actions). Not a tendency — it says how far the
|
||||
/// read may be trusted. The river gearbox (`engine::river_subgame`) turns it into the KL trust
|
||||
/// radius λ: strong read → exploit far, weak read → stay near GTO. `None` = no confidence signal
|
||||
/// (treated as 0 by the gearbox). No classify/gate rule reads it; it only scales exploitation.
|
||||
pub confidence: Option<f64>,
|
||||
}
|
||||
|
||||
@@ -22,6 +22,10 @@ pub const PRIOR: Profile = Profile {
|
||||
pfr: Some(0.18),
|
||||
fold_to_bet: Some(0.45),
|
||||
aggression: Some(0.35),
|
||||
// No population prior for per-street aggression: a missing one lets `shrink` pass the measured
|
||||
// value through unshrunk.
|
||||
turn_aggression: None,
|
||||
river_aggression: None,
|
||||
cbet: None,
|
||||
fold_to_cbet: None,
|
||||
three_bet: None,
|
||||
@@ -30,6 +34,7 @@ pub const PRIOR: Profile = Profile {
|
||||
check_raise: None,
|
||||
wtsd: None,
|
||||
wsd: None,
|
||||
confidence: None,
|
||||
};
|
||||
|
||||
/// Weight of the sample in `[0, 1)`.
|
||||
@@ -55,6 +60,8 @@ pub fn shrink(profile: &Profile, hands: f64) -> Profile {
|
||||
pfr: pull(profile.pfr, PRIOR.pfr, w),
|
||||
fold_to_bet: pull(profile.fold_to_bet, PRIOR.fold_to_bet, w),
|
||||
aggression: pull(profile.aggression, PRIOR.aggression, w),
|
||||
turn_aggression: pull(profile.turn_aggression, PRIOR.turn_aggression, w),
|
||||
river_aggression: pull(profile.river_aggression, PRIOR.river_aggression, w),
|
||||
cbet: pull(profile.cbet, PRIOR.cbet, w),
|
||||
fold_to_cbet: pull(profile.fold_to_cbet, PRIOR.fold_to_cbet, w),
|
||||
three_bet: pull(profile.three_bet, PRIOR.three_bet, w),
|
||||
@@ -63,5 +70,9 @@ pub fn shrink(profile: &Profile, hands: f64) -> Profile {
|
||||
check_raise: pull(profile.check_raise, PRIOR.check_raise, w),
|
||||
wtsd: pull(profile.wtsd, PRIOR.wtsd, w),
|
||||
wsd: pull(profile.wsd, PRIOR.wsd, w),
|
||||
// The sample weight IS the read confidence (same half-life): a client profile with a hand
|
||||
// count earns the gearbox's trust exactly as a session-memory read does. Keep an explicit
|
||||
// confidence if one was already set.
|
||||
confidence: profile.confidence.or(Some(w)),
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user