X's open-source algorithm dissected: 552K lines, 70 of 72 updates pushed by a bot, report scoring at -234
ThePeterMick · x · 2026-11-18
A developer pulled a fresh copy of X's open-source recommendation algorithm and counted everything: 552,399 lines across 2,400 files (49% Rust, 26% Python), 72 updates since Jan 20 — 70 pushed by a bot account called "CI agent", mostly at 1-4am UK time, Fridays busiest, Sundays never. Key mechanics: posts scored on 30 dimensions (bookmarks excluded); replies between mutuals worth 20, likes 0.708 and climbing, won-follow +4, boost for originals from <50K-follower accounts in their first 2 hours. Penalties: "not interested" -53.07, mute -58.8, block -31.2, report -234; AI-sounding replies, duplicate text, engagement bait and sketchy links are suppressed. Also: 248 tunable feed settings, 115 hide/blur rules, Grok appears in 92 files, and the bot-detection model is named BDSM (Behavioral Detection Sequence Model).
More from coding & agent
- Open-source playbook catalogs 117 App Store rejection patterns, gains 542 stars in a day — mjmirza · 2026-11-19
- opensre, an open-source agent for CI/CD reliability, reaches 12.9k stars — Tracer-Cloud · 2026-11-19
- Neo4j shows how Change Data Capture can orchestrate AI agents from queryable state — JeremyCMorgan · 2026-11-19
- Agent with 35 tools got dumber: dynamic tool discovery beat loading everything — whyisthissarah · 2026-11-19
- Engineer claims Claude-powered 6-layer agent system won 900 of 1,000 trades — nikola_mr64990 · 2026-11-19
- 15 free AI design resources for landing pages, fonts, and motion inspiration — nikola_mr64990 · 2026-11-19