Skip to content

Drop For You self-reply chains aimed at unfollowed users - #99

Open
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:fix/for-you-self-reply-chain
Open

Drop For You self-reply chains aimed at unfollowed users#99
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:fix/for-you-self-reply-chain

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Bug

SelfReplyChainFilter already drops an in-network author replying to themselves toward someone the viewer does not follow. reverse_chron Following runs it. Phoenix For You did not.

CoreDataCandidateHydrator fills ancestor_users before filters. The filter keeps non-replies, missing ancestor_users, pure self-chains, and chains whose first non-self ancestor is followed or the viewer.

This is not OON reply drops (OONRetweetReplyFilter). Not conversation-gap VF ancestors (PR 97).

Fix

Run SelfReplyChainFilter on the Phoenix candidate pipeline after SelfTweetFilter. Same filter Following already uses.

Proof

  • Entry: CoreDataCandidateHydrator ancestor_users
  • Sink: SelfReplyChainFilter
  • Break: Phoenix never wired the filter
  • Viewer effect: followed author self-replies toward an unfollowed user still serve on For You
  • Twin: reverse_chron SelfReplyChainFilter

Tests

  • existing drops_self_reply_directed_at_unfollowed_user
  • existing keeps_pure_self_reply_chain / followed / viewer
  • unit tests already on the filter; cargo test cannot run in the public dump

SelfReplyChainFilter already runs on reverse_chron Following. Phoenix
For You did not, so an in-network author replying to themselves toward
someone the viewer does not follow still served. CoreData hydrates
ancestor_users before this filter.
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