From 317cb74bf73116994fc5b3be5f363fd498ff1f80 Mon Sep 17 00:00:00 2001 From: Marc Mintel Date: Thu, 3 Dec 2026 16:00:09 +0100 Subject: [PATCH] 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 --- entscheiden/motor/src/main.rs | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/entscheiden/motor/src/main.rs b/entscheiden/motor/src/main.rs index 1591efa5..9b0671ce 100644 --- a/entscheiden/motor/src/main.rs +++ b/entscheiden/motor/src/main.rs @@ -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"}), } }