xai-org/x-algorithm

★34,563Rust🇺🇸 North AmericaApache-2.0⑂ 5,560Issue 69Updated Dec 4, 2026

Algorithm powering the For You feed on X

Open source code behind X's For You feed ranking — This repo publishes the Rust code that mixes in-network and ML-retrieved out-of-network posts, filters them, and ranks them with a transformer model for X's For You feed. It documents scoring weights and ships an 'Under the Hood' transparency tool showing why posts rank or get limited, useful for researchers and transparency advocates.

LLMs & ML

Metrics

Relative growth (7d)+0%Growth over the last 7 days relative to size
Acceleration-1%Change in growth pace from the week before
Retention+36%How well growth holds up 30 days after first trending
Attention33The three metrics scaled to 0–100 and combined

See About for how each metric is defined.

Star growth and Trending appearances (last 30 days)

+74★/dayDailyWeekly
Nov 6, 2026Dec 5, 2026

Bands mark days on the trending list (darker = higher rank)

Daily trending ranks as a table (15 days)
DateDailyWeekly
Nov 17, 2026
rust #3 +22
—
Nov 8, 2026—
rust #15 +170
Nov 7, 2026—
rust #10 +217
Nov 6, 2026—
rust #11 +220
Nov 5, 2026—
rust #14 +230
Nov 4, 2026—
rust #9 +233
Nov 3, 2026—
rust #9 +255
Nov 2, 2026
rust #3 +24
rust #8 +251
Nov 1, 2026—
rust #8 +243
Oct 31, 2026—
rust #11 +187
Oct 30, 2026—
rust #12 +195
Oct 29, 2026
rust #8 +37
rust #13 +171
Oct 28, 2026
rust #9 +40
—
Sep 22, 2026
rust #10 +45
—
Sep 21, 2026
rust #2 +29
—

Created Jan 20, 2026 · First on trending Sep 21, 2026

Other notable repositories in the same category (LLMs & ML)

See all LLMs & ML repositories →

Get the weekly digest by email

Every Monday: the repositories that grew most last week, and how the buzz spread between the global and Japanese-language web. Unsubscribe any time. See the privacy and ad policy for how we handle your address.