Forgot your password?
typodupeerror
Twitter

X Open Sources Its Ranking and Filtering Algorithms (techcrunch.com) 57

An anonymous reader shared this report from TechCrunch: X is significantly expanding its open source codebase, which includes the app's "For You" algorithm and its core ranking engine, and adding a feature that will let users see if their account or posts have been impacted by any of its ranking systems, the social network said on Thursday. The company is making the source code for the "For You" timeline, the default feed you see when you open the app, available on GitHub under the Apache v2 license. It's also expanding its previous efforts to open source parts of its codebase to add more detail, including the model configuration, filter, and core ranking system details. That means it includes the parameters used to weight different signals — key to understanding which posts are actually displayed. This also makes the codebase roughly 10 to 15 times larger than it was before.

"You'll get the core ranking code that pulls posts and ranks them for any given user and assembles the feed," X's VP of Product Keith Coleman told TechCrunch in an interview ahead of the announcement. "You can see the systems that filter out potentially problematic, rule-violating content...And some of those systems, like the ranker and the score, you can even run yourself outside the company."

"This is the kind of thing that I think people will be fairly shocked that we are releasing," he added.

In addition to the repository, X is providing tools that will let users see for themselves if and how X's ranking systems have impacted their account or posts. A new transparency tool is rolling out to an "Under the Hood" page in the app's settings, which will let users who have posted 10 or more times over the past month download their aggregate stats as a JSON file. The file will show if any labels have been applied to their account or posts over the past calendar month.

X's VP of Product told TechCrunch that X engineers will consider pull requests. "That would be amazing to have people submitting code that improves the algorithm...I mean, how cool would it be for the X algorithm to be not just visible to the public, but also, like, by the public?"

X Open Sources Its Ranking and Filtering Algorithms

Comments Filter:
  • The one thing that defines utility of a social media platform is the userbase. Literally nothing else matters if you don't have the users. That means that forking it is, unlike most open source software, a complete non-starter. You can't just decide you don't like the algo and that you'll modify it and use a different one; if Twitter doesn't expose the actual users and their content to whatever selection you wish to make from it, showing the alleged code to the selection algo is worthless.

    It's some form

    • by AlanObject ( 3603453 ) on Saturday August 15, 2026 @11:14PM (#66290892)

      They said they would consider pull requests.

      And if they didn't, I think a greater level of transparency is worthwhile in its own right.

      • by AmiMoJo ( 196126 ) on Sunday August 16, 2026 @04:59AM (#66291088) Homepage Journal

        Can we be sure that the open source code is what they are running on their website though? Because it feels like e.g. Elon Musk's posted get boosted more than others, even if his own Grok AI usually debunks them.

        • Because it feels like e.g. Elon Musk's posted get boosted more than others

          There's no "feels" about it. Not only has there been enough leaked evidence to show that Elon Musk specifically requested his engineers find a way to boost his specific engagement, public analysis of his posts also clearly show a dramatic step change around the same time as those leaked reports came out: https://www.qut.edu.au/news/re... [qut.edu.au]

          • by Rei ( 128717 )

            Yeah, I'm extremely dubious that the open source version will "sync" with the operational version. I expect the general codebase to be truly represented, but not the "levers" that can be pushed on an operational system.

          • So, when Musk announced his support for Trump, which was HUGE news everywhere, his posts started getting far more attention. And that's supposed to be evidence that his posts were being artificially boosted? Every news outlet was talking about the things he was saying, and they weren't doing it because it was trending on X, they were doing it because they were big political news. That's why they were trending so highly.

            In short, that analysis has the causal arrows backwards. That was plainly obvious

      • by T34L ( 10503334 )
        There's no increased transparency when there's no way to prove the code is what the webpage actually uses. The whole point of releasing source as a security/safety/trust thing is that it can be independently verified that this is how the software actually works in use. But since you don't have access to the unfiltered backend, there's no way to verify the selection users get is what the provided algorithm produced, or something entirely different.
    • Re: (Score:1, Informative)

      by rsilvergun ( 571051 )
      I don't know I thought it was pretty funny when we found out that 90% of right-wing influencers are either Pakistani or Indian and they're just grifting stupid right wing Americans.

      So yeah it would be funny to actually see the algorithm with all its warts and all.

      But that said the algorithm without the data isn't a complete picture. Especially because we know that the owner of Twitter routinely has the data altered artificially in order to fit with whatever silly little agenda he has this week.
    • Re: (Score:3, Interesting)

      They are open-sourcing the platform. It is good news. Even if it cannot be changed, the insight is worth it.

      Take, for example, Slashot algorithm. It had some success but has tendency to create echo chambers in its own right. For example, your post has little substance on the topic except some paranoia, self-promotion and your political views, but yet Slashdot moderates it up.

      Perhaps someone will create something better by analyzing both

      • by ceoyoyo ( 59147 )

        You know that you are the "Slashdot algorithm," right?

        • You know that you are the "Slashdot algorithm," right?

          The problem is that second “you”. In comparison to previous decades, one-sided brigading politicized downvotes now often dominate.

          I suspect this is why YouTube and X have largely flipped to an upvote-only system.

          As a basic solution, I’d prefer changing to an upvote-only system or making downvotes more expensive for raters to use.

          Or simply supply a personal option to let each account choose a the value of a downvote - for example, a user could choose to have the scores they see calculated i

          • by ceoyoyo ( 59147 )

            Peer review sucks.

            Negative mods are an emotional hit to the uninitiated, but anyone who's been around the Internet for more than a couple of days knows that it just means someone who doesn't have a reply was annoyed enough to waste mods from their sock puppet army.

            I tell grad students that if they're not pissing off someone they're probably not saying anything of consequence.

            • Ha! Reminds me of a pedagogy study - it turned out that the most “hated” math teachers were also objectively the most effective.

              • by ceoyoyo ( 59147 )

                There are a bunch of studies that show you learn most effectively when you're pushed right to, but not beyond, your ability. It should be a frustrating struggle, but ultimately achievable. Lots of people don't enjoy anything with "struggle" in it, regardless of the payoff.

    • >"I'd not trust them to actually give you the complete real deal and there's no way whatsoever to validate that the code they release is really it."

      Oh, you mean kinda like Chrome?

      You know, that popular browser by Google.... the one that is binary and you don't really know what they are doing. They release the code as Chromium. And don't really let the community steer it in any meaningful way, they have 100% control over the code. Then they take it and do mysterious stuff on/in it and produce a binary

    • by Rei ( 128717 )

      . You can't just decide you don't like the algo and that you'll modify it and use a different one;

      I mean, on any decent social media platform you should be able to? Bluesky has had this feature for years. Not just algo choice, but the ability to outright create your own algos and share them with other people.

      It's IMHO a red flag when a for-profit company wants to force everyone to use the same algo.

  • Soooo...not AI?
  • Like (Score:5, Funny)

    by martin-boundary ( 547041 ) on Saturday August 15, 2026 @11:09PM (#66290888)
    Show me a VP, who, like, totally like talks about, I mean, like awesome algos and such, and I, like, will show you a VP like who doesn't, you know. There. That's what I mean.
  • by Uldis Segliņš ( 4468089 ) on Saturday August 15, 2026 @11:13PM (#66290890)
    What is the reason for this? We can't fix it in house, please help. Or we need workers, but don't want to pay them. Or we want good publicity, lets put something in open source; people love open source. Also whatever the reason, if nobody outside can use it, why would anyone suddenly go and improve it? I doubt they understand how open source works. For sure not like that. It is not like Pavlov’s dogs - see open source, start salivating.
    • To establish precedent? Because the algorithm is worthless anyway? Because it's useless without the data, which is likely invalid in various ways anyway? To appear open for publicity? Now what's the excuse for other social media companies not posting theirs?
    • What is the reason for this?

      A thin veiled attempt at transparency by a company that fired its entire transparency department.

  • Meanwhile, X is auto-banning thousands of accountss then telling users a mistake was made, but not re-enabling their accounts.

    FIX YOUR SYSTEMS, MUSK.
  • I read the headline and thought it was something about screen information and video filtering and thought, why? Since X11 has always been open source.

    But I see that it's about twitter and that's something I've never used and have never made any effort to understand.

    I guess I'm an old coot...

  • by Gravis Zero ( 934156 ) on Sunday August 16, 2026 @12:56AM (#66290958)

    X algorithm changed in July [2024] to boost right-wing accounts, study finds [cybernews.com]

    but there is more to it [stateofsurveillance.org]

    Research reveals systematic changes to X's algorithm under Elon Musk. After his Trump endorsement on July 13, 2024, Musk's own post views increased 138% and retweets jumped 238%. PLOS One found hate speech is 50% higher than pre-acquisition, spanning racism, homophobia, and transphobia. In January 2025, Musk's Islamophobic posts accumulated 1.19 billion views in 30 days. Academic audits show the algorithm amplifies emotionally hostile, antidemocratic content, and that right-leaning accounts had higher baseline visibility before Musk even endorsed Trump. Cambridge research confirms rude, disrespectful, and false content sees greater amplification. The platform isn't just allowing extremism. It's designed to promote it.

    Shitty twitter needs to be flushed.

    • Cambridge research confirms rude, disrespectful, and false content sees greater amplification.

      Give the people what they want. And people want rage bait. This isn't a twitter problem by the way, not only do all platforms amplify rage bait, so does the media, with entire publications predicated on the principle of enraging the readership to drive engagement.

      People seem to crave being angry.

    • >"X algorithm changed in July [2024] to boost right-wing accounts, study finds [cybernews.com]"

      How quickly we forget the down-ranking and bans on right-wing accounts. Or did you agree with that?

      https://nypost.com/2022/12/08/... [nypost.com]

      >"Cambridge research confirms rude, disrespectful, and false content sees greater amplification."

      I don't participate in social media. But what I do see is just as much rude and disrespect from the "left" as the "right". And "false content" is often based on the eye of the beh

      • by HiThere ( 15173 )

        If they were lies, then I agree with down-ranking them.
        If they were just opinions, then I only agree with avoiding them.

        OTOH, I don't use X/Twitter. Slashdot is as close as I come to social media.

        • by Kokuyo ( 549451 )

          And it's bad enough as it is.

          What gets modded insightful or Troll around here is also very much a matter of trends.

          I've been here long enough to be on both sides twice. What went for humor once becomes a troll or iinsightful and back.

          It is what it is when people are involved.

      • How quickly we forget the down-ranking and bans on right-wing accounts.

        LOLOLOLOOLLLOLLLLL

        Or did you agree with that?

        Yes, those specific accounts were banned for actual reasons, of course sensible people agreed with that. Meanwhile multiple studies showed that during that same period, right wing speech was amplified more than left wing speech [theguardian.com]. You fucking pedo loving maggots always cry persecution while it's provably not happening to you.

    • > X algorithm changed in July [2024] to boost right-wing accounts, study finds

      The Paper was funded by Australian Research Council (ARC)

      March 2023: Xitter restrict free academic API access. Introduces new paid API pricing tiers.

      June 23, 2023: The dedicated Academic Research API access was fully removed from remaining accounts.

      November 2024: Study published: A computational analysis of potential algorithmic bias on platform X during the 2024 US election.
    • Well, now you can see what it does. Rejoice, you got what you wanted.

      And those links are silly. Their evidence for a change is that Musk said something that made a huge splash and there was a huge jump in the number of accounts paying attention to the things he was saying. That didn't require a change in the algorithm, it simply required him to start posting things that made a big political splash.
      The rest can be dismissed with, "the Left calls anything they disagree with 'hate speech', and X stoppe

  • Part of the explicit points of this, is that anything they've been forced to do becomes visible as well. Hopefully civil rights groups with the FSF will be all over this.

    • by HiThere ( 15173 )

      This requires that you believe they're being honest, with no backing evidence. I can see possible evidence of consistency, but that's a much weaker claim.

  • by jonwil ( 467024 ) on Sunday August 16, 2026 @03:09AM (#66291024)

    Does all this open source stuff include enough information to know how X decides which ads to show you?

  • The next weapon (Score:5, Insightful)

    by NotEmmanuelGoldstein ( 6423622 ) on Sunday August 16, 2026 @04:01AM (#66291056)
    This largesse has come from a billionaire well known for his indifference and probably, loathing, of other people. The first question is, what does this cost him? In truth, nothing. The smart question is, what does this gain him: A smidge of respect, some gratitude? Perhaps. I think it advertises the value of Twitter/X as, well, an advertising platform. Why does he want people to know that? Because he no longer wants it, because he no longer needs it to enable his own narcissism and greed. Given the point of buying Twitter/X was limiting free speech and "flooding the zone", his willingness to abandon control of his subscribers, is theoretically terrifying.

    What in the upcoming US elections, gives Musk so much power that he will abandon (or re-sell) one of the greatest tools for destruction, ever built? I speak of Twitter/X like it is a weapon. It is but one that destroyed trust, empathy and identity, not bridges and cannons and neighbours.

    What will be the next weapon that Musk aims at the USA: Will it too be mistaken for ordinary or useful to everyday living?

    • I suspect most of the amplification of right wing noise has something to do with the left wingishness of the complainers.

      My stance comes from seeing it from the other side. I'm comfortably right of center and my previous experience with Twitter (x is a stupid name) is that it absolutely was a left wing echo chamber. It indeed was rather calmer because of the aggressive pruning of any conservative voices.*

      I believe the algo serves you aggressively oppositional views to spur contrary posting and raise engag

    • >"I speak of Twitter/X like it is a weapon. It is but one that destroyed trust, empathy and identity"

      Twitter was a weapon, destroying those long before Musk bought it. A lot of the stuff going on just wasn't noticed (at least by the main-stream).

      None of these companies have any great morality. Their motivation is primarily "engagement" and nothing engages more than stirring up conflict.

  • At least old twitter basically worked.
    I just had my account there permanently, and unfairly, suspended by some algorithm for "inauthentic behavior. " Attempts to appeal are instantly denied.
    In the 15 years that I have had that account, I have never once done anything that they classify as "inauthentic behavior. "
    I have found that I am not alone. Thousands of users are making similar complaints.

    • Yep, here too.

      For all his talk, Musk has dropped this ball.

      YOUR ROBOTS ARE LOCKING OUT YOUR USERS !

Some people have a great ambition: to build something that will last, at least until they've finished building it.

Working...