Read live from the published source
This page is rendered from a reading taken when you asked for it, not from a snapshot frozen at build time. Every value comes from the two files named at the foot of the page, and every time one of them moves, the move is written down.
X ALGORITHM · FOR YOU WEIGHTS
The ranking is public. One file is not the whole ranking.
xAI publishes the code that ranks the For You feed, weights included: +20 for a copy-link, +5 for a reply, -234 for a report. The score is a sum of weight × predicted probability, not a count of likes, so those numbers price actions nobody ever sees. And the params are not in one place. The out-of-network discount and the author-diversity decay live in vm-ranker/params.rs, not in home-mixer/params/param.rs: read only the file everyone quotes and you will report that they do not exist. I read both, and the numbers below are what the files say.
- ScoreΣ weight × P(action) · not a count
- Copy-link+20 · the heaviest positive
- Reply+5 · +15 between mutual follows
- Like+0.5 · dwell +0.05
- Report-234 · 5.4× every positive combined
- Out-of-network×0.75 · topics ×0.5
- Author diversitydecay 0.5 · floor 0.25
- Read fromparam.rs + vm-ranker/params.rs
- Checkedcommit 4c5cfe8 · 26 Sep 2026
- LicenceApache-2.0
The weights · read live
Fold a row open for the parameter name, the file it was read from, and what the number means.
Bonus 12
Copy-link—
A reader keeps the link. The heaviest positive in the file.
ShareViaCopyLinkWeight
Reply—
An answer to the post. Accounts that follow each other add the boost below.
ReplyWeight
Mutual reply—
Added to a reply when the two accounts follow each other.
BidirectionalFollowReplyWeightBoost
Quote—
The post is quoted: it travels with someone else's comment.
QuoteWeight
Share in a DM—
Sent to one person directly. Weighs as much as a reply.
ShareViaDmWeight
Follow—
The reader follows the author, not only the post.
FollowAuthorWeight
Share—
Reposted to the timeline.
ShareWeight
Repost—
A plain repost, no comment attached.
RetweetWeight
Like—
The cheapest signal in the file.
FavoriteWeight
Click—
A click anywhere on the post.
ClickWeight
Open link—
The link is actually opened, not merely seen.
OpenLinkWeight
Dwell—
Time spent on the post, per second of attention.
DwellWeight
Malus 5
Report—
The heaviest number here: five times every positive added together.
ReportWeight
Mute author—
The reader silences the account.
MuteAuthorWeight
Not interested—
The “show less of this” signal.
NotInterestedWeight
Block—
The account is blocked outright.
BlockAuthorWeight
No dwell—
Scrolled past without stopping. The smallest malus.
NotDwelledWeight
Multipliers 4
Out-of-network—
A post from outside your network keeps this fraction of its score.
OonWeightFactor
Topic out-of-network—
The same, when the topic is outside your network: half the score.
TopicOonWeightFactor
Author diversity—
Each repeated author in one run of the feed is scaled down by this.
AuthorDiversityDecay
Diversity floor—
The decay never goes below this: an account is dimmed, never erased.
AuthorDiversityFloor
Length is logarithmic: the file spans 0.004 to 234, so a linear axis would show one bar and erase the rest. Bonus and malus are read on that axis; multipliers fill on their own 0–1 scale, because a multiplier is not an added weight.
reading the source…
What the files say
- 01A weight multiplies a probability: it never promises a count.
- 02One report outweighs every positive weight in the file added together (43.344).
- 03A copy-link is worth four replies: 20 against 5.
- 04The out-of-network discount exists, and it is not in the file everyone quotes.
Not
- ✕a secret ranking
- ✕a black box with no published numbers
- ✕"1 report = 468 likes" · the ratio is exact, the arithmetic is not
- ✕engagement counted raw
xai-org/x-algorithm · param.rs · vm-ranker/params.rs · commit 4c5cfe8
An independent reading of published code. Not affiliated with X or xAI. The weights come from the files above, published under the Apache License 2.0 · the probabilities they multiply are predicted, and are not published.
Watchdog · upstream pull requests
The last 25 pull requests opened on xai-org/x-algorithm. The code drops arrive with one generic commit message, so the pull requests are the only place the upstream work is named.
reading the pull requests…