From 943c67cc87494044c71b00420a03260fa36ea67b Mon Sep 17 00:00:00 2001 From: AJ Isaacs Date: Tue, 24 Feb 2026 18:05:41 -0500 Subject: [PATCH] Add Wordle scoring context so LLM knows lower is better Co-Authored-By: Claude Opus 4.6 --- cogs/wordle.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cogs/wordle.py b/cogs/wordle.py index 32000cd..af24c97 100644 --- a/cogs/wordle.py +++ b/cogs/wordle.py @@ -113,7 +113,12 @@ class WordleCog(commands.Cog): return # Build context for the LLM - context_parts = [f"[Wordle bot posted in #{message.channel.name}]"] + context_parts = [ + f"[Wordle bot posted in #{message.channel.name}]", + "[Wordle scoring: players guess a 5-letter word in up to 6 tries. " + "LOWER is BETTER — 1/6 is a genius guess, 2/6 is incredible, 3/6 is great, " + "4/6 is mediocre, 5/6 is rough, 6/6 barely scraped by, X/6 means they failed]", + ] if parsed["type"] == "results": context_parts.append("[This is a Wordle results summary]")