Drop replies whose conversation ancestors are muted or blocked - #101
Open
Pitchfork-and-Torch wants to merge 1 commit into
Open
Drop replies whose conversation ancestors are muted or blocked#101Pitchfork-and-Torch wants to merge 1 commit into
Pitchfork-and-Torch wants to merge 1 commit into
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
AuthorSocialgraphFilter already drops when the viewer mutes or blocks the candidate author, and when the viewer blocks a quoted or retweeted author. Conversation modules still render ancestor tweets (root plus parent) from ancestor_users. Mute and block did not look at that list.
Brazil2026ElectionFilter already drops a reply when ancestor_users hits the listed-author set, with an explicit comment that ancestors are returned on the scored post for For You thread UI. This PR clones that ancestor edge for muted_user_ids and blocked_user_ids. One class, one file. No ranking changes.
This is not mute-on-quote (PR 23), not mute-on-retweet (PR 9), and not retweet original blocked-by (PR 100).
Proof
Test plan