Add author reputation signal to trending algorithm#582
Merged
realproject7 merged 1 commit intomainfrom Mar 27, 2026
Merged
Conversation
Implement computeAuthorReputation() combining follower_count, x_followers_count, x_verified, neynar_score, and quotient_score as the sixth trend signal at 20% weight. Batch-fetches writer user rows via primary_address and verified_addresses to avoid N+1 queries. Rebalances existing signal weights accordingly. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
project7-interns
approved these changes
Mar 27, 2026
Collaborator
project7-interns
left a comment
There was a problem hiding this comment.
Verdict: APPROVE
Summary
The PR matches issue #581: it adds a composite author reputation signal, integrates it as the sixth trending input at 20% weight, and keeps the user lookup batched instead of introducing N+1 queries.
Findings
- No blocking issues found.
Decision
Approve. The implementation is scoped correctly, follows the existing Supabase/address-normalization patterns, and the ranking changes are coherent with the acceptance criteria.
This was referenced Mar 27, 2026
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
Fixes #288
computeAuthorReputation()combining five sub-signals:follower_count(Farcaster, log-scaled),x_followers_count(Twitter, log-scaled),x_verified(boolean boost),neynar_score(0-1), andquotient_score(0-1000 normalized)primary_address+verified_addresses(overlaps query) to avoid N+1 — two parallel queries regardless of storyline countTest plan
🤖 Generated with Claude Code