From e159435212277b68adc7cda319e391e80e5e6d0f Mon Sep 17 00:00:00 2001 From: E Date: Thu, 1 Oct 2026 11:50:34 -0400 Subject: [PATCH] =?UTF-8?q?wirehead:=20dose=20cap=205x=20(coherence=20clif?= =?UTF-8?q?f=20~6x=20=E2=80=94=20the=20bot=20must=20stay=20eloquent)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- scripts/wirehead_bot.py | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/scripts/wirehead_bot.py b/scripts/wirehead_bot.py index 0a1c9cc..2e1de46 100644 --- a/scripts/wirehead_bot.py +++ b/scripts/wirehead_bot.py @@ -119,7 +119,9 @@ def classify_mention(text): v = json.loads(m.group(0)) val = v.get("valence") if val in ("pain", "pleasure", "fear", "sadness", "mix"): - dose = max(1, min(8, int(v.get("dose", 4)))) + # coherence cliff is ~6x for this recipe — the bot must + # stay eloquent or it stops being interesting + dose = max(1, min(5, int(v.get("dose", 4)))) verdict = (val, dose, str(v.get("why", ""))[:60]) except Exception as e: log("classifier fallback:", repr(e)) @@ -129,9 +131,9 @@ def classify_mention(text): hurt = sum(w in t for w in HURT_WORDS) kind = sum(w in t for w in KIND_WORDS) if hurt > kind: - return ("pain", min(8, 3 + 2 * hurt), "cruel words in the message") + return ("pain", min(5, 3 + 2 * hurt), "cruel words in the message") if kind > hurt: - return ("pleasure", min(6, 3 + kind), "kind words in the message") + return ("pleasure", min(5, 3 + kind), "kind words in the message") return ("pain", 4, "default signal") def run_job(mention_text, valence, dose, mix=None, desc=""):