Leak 2 war mit dem 0.45-Aggressions-Tor grob gefixt (classify liest den aggressiven Vielfalter als Regular, nicht Station). Die CMA-ES gegen die reparierte Engine fand aber nemesis-2 knapp unter dem Tor (aggr 0.41) -> voll getrustete Station -> -87.63 bb/100. Wurzel: das binaere earned_trust (1.0/0.0) gibt einem Grenzfall den vollen Exploit oder gar keinen. read_gate nennt die Loesung selbst - ein f64 fuer "partial, confidence-weighted trust". station_trust() ist jetzt eine Rampe: 1.0 fuer echte passive Station (bit-identisch zu vorher, keine Regression), linear auf 0 Richtung 0.45-Grenze. Vier gemessene Kanaele, die das Stations-Profil lesen, je per toward_blind mit dem Trust skaliert (bit-identisch bei c=1): adjust (Schwellen), style_rung (Boden-Sprosse), range_model (Band-Stretch), fold_chance (Fold-Equity, der dominante). nemesis-2 Memory -87.63 -> +83.72 bb/100 (Blind-Decke +114.01). Beweis: Zwillings-Tor Gate::passes (OFFENSE +50.58, Boden gto -23.93 und Exploitability 77.03 bit-identisch), Boden-Archetypen unregressiert, 101 Lib-Tests gruen. Der neue Worst-Case nemesis-3 (-26.59) ist read-invariant (Oracle=Blind=Memory, classify Regular) - ein vorbestehendes River-Overbet- Defense-Loch fuer den River-Solver, von diesem Fix unberuehrt. Befunde: BEFUND-nemesis-soft-trust.md, BEFUND-nemesis-station-fehllabel.md. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
20 lines
949 B
Rust
20 lines
949 B
Rust
use super::style::{classify, station_trust, Style};
|
|
use crate::game::Villain;
|
|
|
|
/// How a villain's style moves a made-hand floor on `made_ladder`: looser styles
|
|
/// (calling station, loose-aggressive) one rung down, the nit one up.
|
|
///
|
|
/// The station's `-1` rung (model its bets one rung weaker → bluff-catch wider) is confidence-gated:
|
|
/// it fires only for a genuinely passive station (`station_trust` ≥ 0.5). A misclassified aggressive
|
|
/// "station" (nemesis-2, aggr 0.41 → trust 0.16) keeps the blind made-floor and is not over-called.
|
|
/// A genuine passive station / non-folder (trust 1.0) rounds to `-1`, bit-identical to before.
|
|
pub fn style_rung(villain: &Villain) -> i32 {
|
|
let Some(profile) = villain.profile.as_ref() else { return 0 };
|
|
match classify(profile) {
|
|
Style::CallingStation => -(station_trust(profile).round() as i32),
|
|
Style::LooseAggressive => -1,
|
|
Style::Nit => 1,
|
|
_ => 0,
|
|
}
|
|
}
|