1 Commits
Author SHA1 Message Date
Ziad ArafatandClaude Opus 5.5 43809412cd doge_alignment: guess from the whole message history, sampled at random
alignment guess used the last 35 messages in the 8 busiest channels. It
now uses Discord's guild message search (author filter, channels the
viewer can see) to reach the person's whole history: core/sampling.py
picks 8 random pages across all of it, walking past the 10,000-result
offset limit with max_id windows, keeps 5 random messages with text from
each, and picks 35. Search allows about one request per 5 seconds, so
that's ~40 s; 70 single random messages took over two minutes on a real
10,193-message history. Falls back to scanning channels without search.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01GUebqhE8dK19vyn4Ct5g1L
2026-11-05 14:52:28 -07:00