Gegnermodell: MDF-Fix, Strassen- und Linien-Reads, leichter 3-Bet, Leiter-Infrastruktur

Bewiesen auf der gepaarten Leiter (19 Gegner, 95 %-CI, kein Profil verliert):
- MDF-Floor/Veto-Fix: in der Sim bit-identisch, echte Haende Overfold 36 -> 7.5 bb.
- Aggressions-Vertrauen, Strassen-Reads (Turn/River-Aggression, Fold-auf-Bet je Strasse,
  Bayes-geschrumpft zum Gesamt-Read), Zug-Logging der Gegnerprofile, Replay mit geloggten Profilen.
- Leichter 3-Bet gegen 3-Bet-Folder (EV-Break-even risk/(pot+risk)): +6.62 +-5.23 bb/100
  gegen den 3-Bet-Folder, sonst unveraendert.
- Fold-auf-C-Bet preist die C-Bet: neutral.
- Welt-Archetypen cbet-folder, 3bet-folder, check-raiser; ab_zelle (Zellen-Leiter, fortsetzbar),
  Warteschlange mit Thread-Budget, ab.py.

Nicht drin: der Check-Raise-Abschlag (drei Varianten, keine sauber; wird durch ein
Spielbaum-Modell ersetzt), der River-Showdown-Read bleibt aus (Verlierer -1.31).
Ergebnisse: messung_engine/ERGEBNISSE.md.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-11-13 21:27:08 +01:00
co-authored by Claude Opus 5.5
parent c03530a1c4
commit 0deb2e10de
34 changed files with 1497 additions and 26 deletions
+44
View File
@@ -36,8 +36,16 @@ pub const PRIOR: Profile = Profile {
wtsd: None,
wsd: None,
confidence: None,
aggression_confidence: None,
river_bluff_share: None,
river_bluff_shown: None,
};
/// Postflop moves at which an aggression read and the population weigh the same — the session
/// memory's half-life (`sim::memory::CONFIDENCE_HALF`), so a live read earns trust as fast as a
/// simulated one.
pub const AGGRESSION_HALF: f64 = 30.0;
/// Weight of the sample in `[0, 1)`.
pub fn trust(hands: f64) -> f64 {
if hands.is_nan() || hands <= 0.0 {
@@ -76,5 +84,41 @@ pub fn shrink(profile: &Profile, hands: f64) -> Profile {
// 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)),
aggression_confidence: profile.aggression_confidence,
river_bluff_share: profile.river_bluff_share,
river_bluff_shown: profile.river_bluff_shown,
}
}
/// The aggression read on its OWN sample: `raw` was measured over `actions` postflop moves (not over
/// the HUD's hands), so it is shrunk toward the population with that weight and carries it as
/// `aggression_confidence`. No usable count: the profile is returned unchanged.
pub fn shrink_aggression(profile: Profile, raw: Option<f64>, actions: f64) -> Profile {
if actions.is_nan() || actions < 0.0 {
return profile;
}
let w = actions / (actions + AGGRESSION_HALF);
Profile { aggression: pull(raw, PRIOR.aggression, w), aggression_confidence: Some(w), ..profile }
}
/// Anchors of the line reads that have no pooled read to shrink toward (a regular's HUD): fold to
/// 3-bet and check-raise. Shared by the sim memory and the wire.
pub const FOLD_TO_THREE_BET_ANCHOR: f64 = 0.55;
pub const CHECK_RAISE_ANCHOR: f64 = 0.08;
/// Street samples at which one street's own read and the pooled read weigh the same — the session
/// memory's `sim::memory::STREET_FOLD_PRIOR`, so a live street read earns trust as a simulated one.
pub const STREET_PRIOR: f64 = 15.0;
/// One street's read (`raw`, measured over `n` moves on that street) pulled toward the `pooled` read of
/// all streets: `(raw·n + STREET_PRIOR·pooled) / (n + STREET_PRIOR)`. A few river moves barely move
/// the river belief off the pooled one. No street sample, a broken count or no pooled read to anchor
/// on: `None`, so the engine falls back to the pooled read (never a raw 0/1 from one move).
pub fn shrink_street(raw: Option<f64>, n: f64, pooled: Option<f64>) -> Option<f64> {
let raw = raw.filter(|x| !x.is_nan())?;
let pooled = pooled.filter(|x| !x.is_nan())?;
if n.is_nan() || n <= 0.0 {
return None;
}
Some((raw * n + STREET_PRIOR * pooled) / (n + STREET_PRIOR))
}