Splash ohne passende eigene Tabelle: mit MOTOR_SHARINGAN_SPLASH spielt SHARINGAN statt ABSTAIN (Startprobe 03.12.: 150 von 180 Splash-Anfragen gingen sonst ins ABSTAIN)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
2026-12-03 16:00:09 +01:00
co-authored by Claude Opus 5.5
parent d114259348
commit 317cb74bf7
+8
View File
@@ -359,6 +359,14 @@ fn main() {
r["reason"] = serde_json::json!(format!("Splash{} {}", y.0, r["reason"].as_str().unwrap_or("")));
r
}
// MOTOR_SHARINGAN_SPLASH (03.12.): ohne passende eigene Splash-Tabelle spielt SHARINGAN (totes Geld als dead_money);
// antwortet er nicht, wie bisher kein Zug (der Hauptbaum kennt kein totes Geld)
_ if crate::sharingan::splash() => {
let r = m.antworte(&q);
if r["reason"].as_str().is_some_and(|g| g.starts_with("sharingan")) { r } else {
serde_json::json!({"action": "ABSTAIN", "size": null, "confidence": 0, "reason": "motor notfall: keine Splash-Strategie, SHARINGAN ohne Antwort"})
}
}
_ => serde_json::json!({"action": "ABSTAIN", "size": null, "confidence": 0, "reason": "motor notfall: keine Splash-Strategie"}),
}
}