Skip to content

Fail closed when VF gizmoduck author lookup is Err or missing - #149

Closed
Pitchfork-and-Torch wants to merge 2 commits into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/vf-author-nsfw-fail-closed-1830
Closed

Fail closed when VF gizmoduck author lookup is Err or missing#149
Pitchfork-and-Torch wants to merge 2 commits into
xai-org:mainfrom
Pitchfork-and-Torch:cursor/vf-author-nsfw-fail-closed-1830

Conversation

@Pitchfork-and-Torch

Copy link
Copy Markdown

Gizmoduck author Err/missing is assembled via get_or_default. NsfwAuthorInterstitial and NSFW user-label drops only check presence, so a failed read looks unlabeled and the post ranks.

Drop candidates whose author lookup is Failed or missing. Confirmed NotFound is unchanged. FilterTweets already Drops omitted hydrations as unresolved_author.

This is not #125 (home-mixer gizmoduck). This is not #139 (tweet safety labels). This is not #134 (TES flags).

cursoragent and others added 2 commits September 7, 2026 05:23
NSFW author interstitial and user-label drops only check flag presence.
A failed gizmoduck read was assembled as default features, so those
rules never fired and the post still ranked.

Co-authored-by: Jon Bailey <Pitchfork-and-Torch@users.noreply.github.com>
Avoid Default on the result struct so the test compiles against
the same type shape the hydrator tests already use.

Co-authored-by: Jon Bailey <Pitchfork-and-Torch@users.noreply.github.com>
@Pitchfork-and-Torch

Copy link
Copy Markdown
Author

Same class as #144 (gizmoduck author/user-label lookup fail-closed on Err/missing). One class one PR. Prefer #144. Do not merge this twin.

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