Skip to content

AI agent skill that researches any topic across Reddit, X, YouTube, HN, Polymarket, and the web - then synthesizes a grounded summary

fix(render): remove dead _QUESTION_WORDS constant and unused first_word local

Diogo Andre Santosc5b4a82917f4
diff --git a/skills/last30days/scripts/lib/render.py b/skills/last30days/scripts/lib/render.py
index 3245aa00..734f637b 100644
--- a/skills/last30days/scripts/lib/render.py
+++ b/skills/last30days/scripts/lib/render.py
@@ -1054,12 +1054,6 @@ def render_brief(report: schema.Report, cluster_limit: int = 8) -> str:
return "\n".join(lines).strip() + "\n"
-_QUESTION_WORDS: frozenset[str] = frozenset({
- "what", "why", "how", "when", "where", "who", "which",
- "is", "are", "can", "does", "will", "should", "would", "could",
-})
-
-
def _extract_audience_questions(candidates: list[schema.Candidate]) -> list[str]:
"""Return titles that read as audience questions, deduped and in ranked order."""
questions: list[str] = []
@@ -1068,7 +1062,6 @@ def _extract_audience_questions(candidates: list[schema.Candidate]) -> list[str]
title = candidate.title.strip()
if not title:
continue
- first_word = title.split()[0].lower().rstrip("?")
if title.endswith("?"):
norm = title.lower()
if norm not in seen: