Skip to content

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

Update skills/last30days/scripts/lib/render.py

Trevin Chow748b6eae083c
diff --git a/skills/last30days/scripts/lib/render.py b/skills/last30days/scripts/lib/render.py
index 78b5dee9..223b2d6e 100644
--- a/skills/last30days/scripts/lib/render.py
+++ b/skills/last30days/scripts/lib/render.py
@@ -3018,7 +3018,8 @@ def _render_top_comments(
candidate_pool = report.ranked_candidates if candidates is None else candidates
floor_candidates = [
cand for cand in candidate_pool
- if (cand.local_relevance or 0.0) >= relevance.RELEVANCE_FLOOR
+ if _best_take_relevance_ok(cand)
+ and (cand.local_relevance or 0.0) >= relevance.RELEVANCE_FLOOR
]
apply_relevance_floor = len(floor_candidates) >= relevance.MIN_ON_TOPIC
for cand in candidate_pool: