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, } }