D1c: Leseschicht im River-Veto hinter GEGNER_RANGE (aus), Werte auf echten Gegnern, Messarme eingereiht
- river_subgame: river_tree_weighted (Gewicht je Gegner-Kombi), read_belief (gekippte Range, festgelegter geglaubter Gegner aus Fold/Bluffanteil), KL gegen das ungekippte Gleichgewicht, Vertrauen aus RangeRead::trust; ohne Schalter bitgleich. - range_read::on() (GEGNER_RANGE=1), decide.py kennt den Schalter. - bin/range_read_scan + messung_zaehlung/range_read.py: 634 echte Gegner-Spots; gezaehlt 85/123 River-Spots mit Bluff-Vertrauen >= 0,5 (live 0). - Leiter range-an + LBR range-lbr-typ eingereiht; STAND §10, PLAN D1c. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
@@ -50,6 +50,13 @@ pub struct RangeRead {
|
||||
pub bluff_confidence: f64,
|
||||
}
|
||||
|
||||
/// Measurement switch (read once): `GEGNER_RANGE=1` lets the river gearbox (`engine::river_subgame`)
|
||||
/// apply the read layer. Default off: bit-identical to before.
|
||||
pub fn on() -> bool {
|
||||
static ON: std::sync::OnceLock<bool> = std::sync::OnceLock::new();
|
||||
*ON.get_or_init(|| std::env::var("GEGNER_RANGE").as_deref() == Ok("1"))
|
||||
}
|
||||
|
||||
fn ok(x: Option<f64>) -> Option<f64> {
|
||||
x.filter(|v| v.is_finite())
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user