Skip to content

Drop For You posts whose author handle matches a muted keyword - #182

Open
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/magellan-author-handle-kw-cad1
Open

Drop For You posts whose author handle matches a muted keyword#182
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/magellan-author-handle-kw-cad1

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Bug

Gizmoduck already writes author_screen_name on For You. ViewerMutedKeywordFilter only matched tweet_text.

A muted keyword that is the card author's handle never hid the post when the body was clean. @mutedkeyword posting "hello" still ranked.

This is not quoted-author handle mute-keyword (#140). Not RT original-author handle mute-keyword (#164). Not Phoenix reply-parent VF (#180). Not notes x ranking (#171 / #177).

Fix

Tokenize the already-hydrated author_screen_name with the same mute-keyword matcher as tweet text.

Proof

Tests

  • drops_when_author_handle_matches_muted_keyword
  • keeps_when_author_handle_does_not_match
  • unit tests added; cargo test cannot run in the public dump (no home-mixer Cargo.toml)

Gizmoduck already hydrates author_screen_name. ViewerMutedKeywordFilter
only matched tweet_text, so @mutedkeyword posts with clean body text
still served. Quote and RT original handles are separate classes.

Co-authored-by: Jon Bailey <Pitchfork-and-Torch@users.noreply.github.com>
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.

2 participants