Skip to content

WRONG TREE / do not merge — closed - #65

Closed
Pitchfork-and-Torch wants to merge 19 commits into
mainfrom
cursor/magellan-freespeech-oon-reply-ancestors-e29b
Closed

WRONG TREE / do not merge — closed#65
Pitchfork-and-Torch wants to merge 19 commits into
mainfrom
cursor/magellan-freespeech-oon-reply-ancestors-e29b

Conversation

@Pitchfork-and-Torch

@Pitchfork-and-Torch Pitchfork-and-Torch commented Sep 8, 2026

Copy link
Copy Markdown
Owner

Wrong tree. Closed. Never PR this fork. Upstream only: xai-org/x-algorithm.

CI agent and others added 19 commits August 14, 2026 20:55
in_network_ids is passed to the VF client without deduplication, while
oon_ids is deduped four lines below. retweeted_tweet_id is pushed for
every candidate that has one, so the same ID repeats once per retweet of
a given post — most often when that post is going viral.

Neither VfClient implementation dedupes its input: StratoVfClient builds
one call per element, and XaiVfClient chunks by XAI_VF_MAX_BATCH_SIZE, so
duplicates consume batch slots and can force an extra round trip.

Not a correctness issue — results collapse into a HashMap keyed by tweet
ID — but redundant work on the For You serving path.

Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
Deduplicate in_network_ids before VF lookup
Phoenix, MOE, Topics, and TweetMixer set in_reply_to_tweet_id and leave
ancestors empty. OONRetweetReplyFilter treated empty ancestors as a hard
drop, so in-network followee replies never reached scoring or VF.
Thunder already copies the parent into ancestors and survived. OON
retweets and replies still drop.

Co-authored-by: Jon Bailey <Pitchfork-and-Torch@users.noreply.github.com>
@Pitchfork-and-Torch Pitchfork-and-Torch changed the title Stop OON reply filter from dropping followee Phoenix replies WRONG TREE / do not merge — closed Sep 8, 2026
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.

4 participants