Skip to content

Stop For You from stamping OON before TES fills author_id - #128

Open
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/in-network-after-core-data-f02e
Open

Stop For You from stamping OON before TES fills author_id#128
Pitchfork-and-Torch wants to merge 1 commit into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/in-network-after-core-data-f02e

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Bug

For You (phoenix_candidate_pipeline) runs InNetworkCandidateHydrator before CoreDataCandidateHydrator. InNetwork reads author_id and writes in_network once.

TweetMixer often ships author_id = 0. InNetwork treats 0 as unfollowed and stamps in_network = Some(false). TES later writes the real author. The flag stays false.

VF then fetches at TimelineHomeRecommendations. Recs-only Drop rules fire (DO_NOT_AMPLIFY, SPAM_HIGH_RECALL, NSFW_HIGH_RECALL, MALICIOUS_URL, FOSNR_ABUSE_INSULTS, and the rest of the Recs table). The same followed author on Home is Allow (or Interstitial for NSFW HP / gore / card).

phoenix_scores_pipeline already runs CoreData, then InNetwork.

Fix

Run CoreData, then InNetwork, same as the scores pipeline.

This is not rewriting Recs-only policy. Not #115 / #116 / #119.

For You was classifying follow-graph membership before CoreData wrote
author_id. TweetMixer often ships 0; that stamped OON and Recs-only VF
drops then hit followed authors.

Co-authored-by: Jon Bailey <Pitchfork-and-Torch@users.noreply.github.com>
@cursor
cursor Bot force-pushed the cursor/in-network-after-core-data-f02e branch from a5d787a to cb9d627 Compare September 7, 2026 04:12
cursor Bot pushed a commit to Pitchfork-and-Torch/x-algorithm that referenced this pull request Sep 7, 2026
xai-org#128 runs InNetwork after CoreData so TES can fill author_id. CoreData only
wrote author_id when the source field was 0. Phoenix and Thunder ship a
nonzero id. TES ran and was discarded. InNetwork stamped the source id.

A followed TES author then hit TimelineHomeRecommendations. NSFW HP / gore /
card Recs-drop; the same labels are interstitial on TimelineHome.

TES author now overwrites a nonzero source id. TES miss still keeps source.

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