Skip to content

fix: pick ring topics from what publishers file under, not the commonest word - #198

Merged
ralyodio merged 1 commit into
mainfrom
fix/ring-topics
Sep 13, 2026
Merged

fix: pick ring topics from what publishers file under, not the commonest word#198
ralyodio merged 1 commit into
mainfrom
fix/ring-topics

Conversation

@ralyodio

Copy link
Copy Markdown
Contributor

Ring topics from what publishers file under, not the commonest word

Follow-up to #196 and #197. The first seed created rings named one, de and episode: the topics rollup counts every phrase lifted from prose, so its top of the table is stopwords. Now topRingTopics ranks candidates by feeds that carry the slug as their own category tag (feed_keywords.source = 'category'), counted only over active feeds with a site, with a three-character minimum. Bounded: the rollup names a pool (indexed), each candidate costs one range scan of its own keyword rows. dropStaleTopicRings removes a topic ring that no longer qualifies and has under five active members (the three junk rings); a ring people have linked to is never dropped. Test added for the ranking, the exclusions and the drop. db, ingest and poller suites pass.

🤖 Generated with Claude Code

https://claude.ai/code/session_01XYae2mH3khdwiXUVzcVMDw

…est word

The first seed took the topics rollup's top of the table, which is the
most common phrases in a hundred thousand feeds' prose: "one", "de",
"episode", "time". A ring named after one of those is a ring of
everything. Ring topics are now ranked by the feeds that carry the slug as
their own category tag (feed_keywords.source = 'category'), counted only
over feeds a ring can use, with a three-character minimum so stopwords
and language codes are out. Bounded like the seed: the rollup names a pool,
each candidate costs one range scan of its own rows. A topic ring made
under the old ranking, with fewer than five active members, is dropped when
its topic no longer qualifies; a ring people have linked to stays.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01XYae2mH3khdwiXUVzcVMDw
@ralyodio
ralyodio merged commit ba2eddc into main Sep 13, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant