howxranksby @SidneyCur

Decode X's For You feed

X open-sourced the code that ranks the For You feed. We explored it and decoded the weights, penalties and enforcement rules. Now test them yourself: set a post's predicted actions, see the score, and simulate repeat posts and reports.

Created by @SidneyCur · Based on the repository at commit b220448 (2026-11-03)

Specimen — one viewer, one postFig. 0
Example +2.00

A reply on your original post, from a mutual follow

The reply weight is 5, plus a 15 boost for mutual follows on original posts: 20 in total. A 10% predicted chance of a reply adds 20 × 0.10.

20 × 0.10 = +2.00

How a score is built

The ranker does not count likes. It predicts how likely each action is for each viewer, weights each prediction, and adds the results. The four steps below are the same ones the calculator runs.

Fig. 1 — Scoring pipeline, one post, one viewerScale: not to scale
How one post is scored for one viewer A candidate post enters the Phoenix model, which predicts the chance of each of twelve actions. Each chance is multiplied by a fixed weight, the results are summed, then three adjustments are applied: out-of-network posts are scaled by 0.75, repeat posts by a decay multiplier, and an offset of 0.001 is added. Posts older than 48 hours and out-of-network replies are dropped before any of this. CANDIDATEPOST PHOENIX MODELP(action | viewer) WEIGHTINGw × p SUMΣ FINAL SCOREΣ·0.75·m(k) + 0.001 1 12 PREDICTED ACTIONS reply · like · share · click · follow · mute · block · report 3 ADJUSTMENTS out-of-network × 0.75 · repeat-post m(k) offset + 0.001 DROPPED FIRST age > 48h · OON reply 2 + reply 20 (5 + 15 mutual boost) · copy-link 20 · quote 5 · dm 5 + follow 4 · share 2 · repost 1 · favorite 0.66 · click 0.3 − report 234 · mute 58.8 · not interested 52.3 · block 31.2 Weights are prices, not counts: w = 5 at p = 0.10 contributes 0.50, not five.
  1. 01Predict

    The Phoenix model estimates the chance a viewer will reply, like, share, follow, mute, or report a post.

  2. 02Weight

    Each chance is multiplied by a fixed weight. Copy-link shares carry 20, a report carries −234.

  3. 03Sum

    The weighted values are added. Positive actions push the score up and negative ones pull it down.

  4. 04Adjust

    An offset keeps scores non-negative. Out-of-network posts are scaled by 0.75, and each extra post from one author is scaled down.

Weights are not counts. A weight of 5 on replies means a 10% chance of a reply adds 0.5 points, not five.

Score calculator

Set the predicted chance of each action for one post. P, the chance, is a percentage from 0 to 100. The values are illustrative: start from a preset, then adjust. Results update as you type or drag.

NOTE — Estimates only. The chances and results are illustrative inputs, not measurements from X. howxranks cannot guarantee any score, reach or outcome for your posts.

Parameter run — predicted chance of each action, per viewer12 actions
Predicted chance of each action, per viewer
Ref Action parameter Weight P (%) Input Magnitude Contribution
Σ Positive
0.00
Σ Negative
0.00
Σ before adjustment
0.0000
Final score
0.000

offset = 0.001

Fig. 1a — largest contributionspoints
Adds points Subtracts points

Workingas the ranker runs it

          

The offset is a constant, 0.001, that the ranker adds so scores stay non-negative. A net total below zero is compressed toward zero, so the post ranks at the bottom.

Feed simulation

Two things the ranker does to your posts. First, it discounts repeat posts from one author. Second, one report can outweigh many good actions. Both use the code's own constants.

NOTE — Estimates only. The sliders show how the code's constants combine. They are not predictions for your account, and howxranks cannot guarantee any reach or outcome.

Fig. 2 — repeat-post decaym(k) = 0.75 · 0.5k−1 + 0.25

Your posts in one viewer's feed

Repeat-post decay curve The multiplier starts at 1.000 for your first post in a feed and falls toward a floor of 0.25, which it approaches but never reaches. floor 0.25 1.0 0
6
2.00

Kept by the postRemoved by repeat-post decay

Repeat-post decay in one feed
#PostMultiplierFactorScore

The multiplier for post k is (1 − 0.25) × 0.5k−1 + 0.25. It falls quickly, then levels off at 0.25 and never reaches zero.

Fig. 3 — report break-evensolve −234p + reply = 0

Break-even: how many reports cancel a reply?

Reports carry −234. A boosted reply carries +20 per unit of chance. Use the slider to test a report chance.

0.10%
Boosted reply, from the calculator+0.40
Report at this chance−0.23
Report chance that cancels one boosted reply0.17%

Worked examples

Each row is one calculation from the weights above, with illustrative chances. Read the result first, then the calculation and what it means for your posts.

Detail callouts — eight worked casesillustrative chances
Worked examples
#CaseResultCalculationWhat it means
01Boosted reply on your original postLargest gain+2.0020 × 0.10 = +2.00A mutual follow is 10% likely to reply to your original post. Only original posts from mutual follows get the boost.
02Copy-link shareLarge gain+1.0020 × 0.05 = +1.00Five in a hundred viewers copy the link to your post. Copy-link is the largest non-reply gain, so posts people want to pass on are worth designing for.
03One report, at a 1% chanceLargest loss−2.34−234 × 0.01 = −2.34A report weighs −234. A 1% chance of reporting cancels several good actions, which is why report rates matter most.
04A 2% mute chance against a 30% favorite chanceMute vs favorite−1.18−58.8 × 0.02 = −1.18 · 0.66 × 0.30 = +0.20A mute weighs −58.8, so a 2% chance costs about six favorites' worth of gain (+0.20 at 30%).
05The same boosted reply, for a viewer who doesn't follow youOut of network1.502.00 × 0.75 = 1.50An out-of-network post keeps 75% of its score. Replies and reposts from accounts a viewer doesn't follow are filtered by default.
06Your fourth post in one viewer's feedFourth post0.692.00 × 0.344 = 0.69Each later post from you is scaled down: the 4th keeps 34% of the starting score. Posting less often reduces how many of your posts compete in one feed.
07The tenth post and beyondFloor0.250.25 + 0.75 × 0.5⁹ = 0.2515The multiplier approaches 0.25 but never reaches zero, so a late post still scores a quarter of the starting value.
08Report chance that cancels one boosted replyBreak-even0.85%2.00 ÷ 234 ≈ 0.85%At a 10% reply chance, a boosted reply is worth +2.00. About one viewer in 117 reporting cancels it out.

Follower goal planner

The code ranks posts. It does not model how many people follow after reading one, so this planner needs your own rate. Start from your analytics: 60 new follows and 227 replies in a week gives about 0.26 follows per reply, counted gross.

NOTE — Estimates only. Your rate is an input, so the result is a projection, not a forecast. howxranks cannot guarantee follows, replies or reach.

Inputs — from your analytics
From your analytics.
The number you want to reach.
The time you have to reach it.
Your measured rate. Test it over a week before relying on it.
Used for the comparison below.

Do and don't

Each item links to a weight or a rule in the repository. Points are the change to a post's score. Labels are enforcement flags that last 30 days.

Raises the score

  • Post original posts to mutual followsReplies to them carry 20 instead of 5. reply + boost
  • Earn copy-link sharesWorth 20 per unit of chance, the largest non-reply gain. ShareViaCopyLinkWeight
  • Earn quotes and DM sharesEach worth 5. QuoteWeight, ShareViaDmWeight
  • Earn followsWorth 4 per unit of chance. Clear posts that show what you know help. FollowAuthorWeight
  • Reply to followers and mutualsTheir replies to you stay in the feed. Replies to strangers are filtered by default. OONRetweetReplyFilter
  • Write posts worth putting on a popular listA shared list of popular recent posts now feeds For You by default, a new route to people who do not follow you. EnablePopularPostsSource
  • Post regularly, within 48 hoursPosts older than 48 hours are removed before scoring. MAX_POST_AGE

Lowers the score or gets labelled

  • Trigger reports, mutes, blocksReports −234, mutes −58.8, blocks −31.2 per unit of chance. ReportWeight
  • Automate or burst repliesFlagged as fast-reply spam: a 30-day label that drops the post for people who don't follow you. fast_reply_spam_post
  • Post LLM-written or gibberish repliesFlagged as LLM text or gibberish. Gibberish gets a 30-day spam label. llm_slop_post, gibberish_post
  • Repeat near-identical repliesThe multi-step classifier flags them across threads. classifier_multi_step_reply_spam
  • Count on video views, watch seconds or profile clicksAll carry zero weight in this code, including the new watch-seconds and profile-visit terms. VqvWeight, ProfileClickWeight, VideoContinuationWeight, ProfileVisitSecsWeight
  • Post a fourth or later item in one feedScaled to about a third of its score. EnableAuthorDiversity

Questions

What is howxranks?

howxranks is an independent reference for X's For You feed. It explains the public ranking code, turns its scoring weights into a calculator and simulation, and lists the enforcement rules, with sources.

Is howxranks affiliated with X?

No. howxranks is independent and is not affiliated with, endorsed by, or sponsored by X Corp.

Where do the numbers come from?

Every weight comes from the public repository x-algorithm, commit b220448 (2026-11-03). The repository's parameters are mirrored from feature switches, so production values may differ. The probabilities in the calculator are illustrative.

How is a post's score calculated?

The ranker predicts how likely each action is, multiplies each prediction by its weight, and adds the results. An offset keeps scores non-negative. Out-of-network posts are scaled by 0.75, and each extra post from one author is scaled down.

Why do replies to strangers reach fewer people?

In the repository, out-of-network replies and reposts are filtered by default, so replies mostly reach your followers. Original posts are the route to new people.

Sources and limits

Weights and fusion: home-mixer/params/param.rs, vm-ranker/params.rs, xai-value-model/scoring.rs.

Filters: home-mixer/filters/. Enforcement: abuse-enforcement-service/service-lib/rules/, visibility-filtering/rules/, grox/flows/reply_spam/.

The repository's parameters are mirrored from feature switches, so production values may differ. The probabilities are illustrative, not measured for any account. Classifier thresholds are not published.

Design direction: an engineering drawing — graph-paper sheet, titleblock, numbered callouts and figure frames. Dark mode is a cyanotype. No assets were copied from anywhere.