X ALGORITHM FUN FACTS 🤯
I grabbed a brand new copy of X's open source algorithm today and counted everything in it.
Here's what's inside:
- 552,399 lines across 2,400 files
- about 49% Rust, 26% Python, 16% Scala, 5% Java and 4% everything else (including code that runs on graphics chips)
- 72 updates since X first published it on January 20
- 70 of those 72 were pushed by a bot account called "CI agent"
- Friday is update day: 18 updates. Tuesday is close with 17
- Monday? Just 2. Sunday? Never. Not once
- most updates land in the middle of the night, between 1am and 4am UK time
- 11 updates in November alone, and it's only the 17th
- your post gets scored on 30 different things. Bookmarks aren't one of them
- the biggest number right now is 20, for a reply between two people who follow each other (copy link was also 20, until Nov 13 when X set it to 0)
- the biggest single file is 14,750 lines long, and all it does is describe what a user account looks like
- there are 248 settings for your home feed X can change without touching the code
- 115 rules decide when a post gets hidden, blurred or limited
- Grok shows up in 92 files
- the folders have names like Phoenix, Thunder, Scarecrow and Agatha
- and the model that hunts for bots and fake accounts is called... BDSM(Behavioral Detection Sequence Model)
Here's a recap of what the algorithm rewards:
- people liking your post, 0.708 a pop and climbing
- people sticking around on it, every second gets counted
- a reader who opens your post and stays 10 seconds, that's 0.385 on top
- someone replying, quoting you or sending it to a friend in DMs, worth 5 apiece
- back and forth with someone who follows you back, 20
- a post good enough to win you a follow, +4
- brand new originals from accounts under 50K, in their first 2 hours
- posts people read down to the very last line
And here's what the algorithm does NOT want:
- people hitting "not interested", -53.07
- mutes at -58.8, blocks at -31.2, reports at -234
- AI-sounding replies under big accounts
- the same words posted twice
- bait for likes, replies or link copies
- dodgy links, worst of all in your pinned post
- adult media in 3 of your 5 latest posts
- walls of hashtags
Show more