feat: add my-taste builtin profile (personalization-forward feed) - #3
Merged
Merged
Conversation
Personalization-forward weight set: lowers the global-popularity (engagement) term to 0.15 and raises affinity (0.40) and topic (0.30), so followed accounts and the viewer's own subjects lead while off-topic viral posts sink. Keeps tau 10h, 60% in-network, explore every 8th slot, and prolific damp threshold 8; the diversity guards stay on so it sharpens personalization without collapsing into a filter bubble. Registered in BuiltinProfiles(), with a test asserting it prefers a followed on-topic post over an off-topic viral one more strongly than the default, plus README/ALGORITHM/CHANGELOG entries. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014kaXMnwzpviZesDmpphxNn
ham-33
marked this pull request as ready for review
July 26, 2026 13:22
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.
What
Adds a new builtin feed profile,
my-taste, tuned for viewers who want the feed to lean toward their own signals rather than global popularity.for-you(default)my-tasteThe net effect: accounts you engage with and subjects you care about lead, while off-topic viral posts sink. The diversity guards (author cap, topic-run break, exploration slots, language/seen/stranger-reply penalties) are left on, so it sharpens personalization without collapsing into a filter bubble.
Why
This profile came out of a hands-on comparison of
for-youvs. a personalization-forward weight set on a shared candidate set. Relative to the default,my-tastepulls followed / on-topic content higher, drops off-topic viral posts out of the page, and surfaces slightly more new-author discovery — while the same seen / language / prolific / stranger-reply filters keep the feed from feeling "off".Changes
profiles.go: addMyTasteConfig()and register"my-taste"inBuiltinProfiles().profiles_test.go:TestMyTasteProfilePersonalizesOverPopularityasserts the profile prefers a followed, on-topic post over an off-topic viral one more strongly than the default, and that the personal post wins outright undermy-taste.README.md,ALGORITHM.md: add the profile to the feed-profiles tables.CHANGELOG.md:Unreleasedentry.No changes to the scoring formula, sourcing, filters, or page rules — this is purely an additional published weight set.
Testing
🤖 Generated with Claude Code
https://claude.ai/code/session_014kaXMnwzpviZesDmpphxNn
Generated by Claude Code