• Home
  • Latest
  • Fortune 500
  • Finance
  • Tech
  • Leadership
  • Lifestyle
  • Rankings
  • Multimedia
Tech

Elon Musk’s open-source Twitter code is ‘completely dishonest’ and akin to misinformation because it lacks vital data to understand it, say critics

Kylie Robison
By
Kylie Robison
Kylie Robison
Down Arrow Button Icon
Kylie Robison
By
Kylie Robison
Kylie Robison
Down Arrow Button Icon
April 2, 2023, 12:07 PM ET
Photo illustration showing Elon Musk’s face and the Twitter logo.
Muhammed Selim Korkutata—Anadolu Agency/Getty Images

Elon Musk stayed true to his word. As the clock struck noon on Friday, the renegade CEO revealed portions of Twitter’s proprietary algorithm.

The algorithm, which is basically the formula that decides which tweets users see on their timeline, is a valuable asset; many internet companies treat algorithms as something akin to state secrets. Musk framed his decision to make Twitter’s algorithm open-source as an effort to improve it, by enlisting the help of volunteers, and as an act of radical transparency: If you suspected Twitter was “shadow banning” certain people, the conspiracy would finally be exposed.

As a stampede of developers, reporters, and curiosity seekers rushed to code-sharing GitHub site to have a look at the algorithm, trying to ascertain the actual significance or usefulness of Musk’s move only became hazier.

Many people quickly fixated on controversial sounding bits of the algorithm, such as “author_is_republican.” But as several observers noted, the uploaded code doesn’t indicate how the company is using any of it, and leaves out vital bits of information that would paint the whole picture. Even people with bona fide technical chops said the lack of necessary context made it impossible to make much sense of the published algorithm, let alone try to make any actual contributions to the open-source code.

“They released a lot, which is neat, but also like, wtf is the point of this? Nobody’s going to make heads or tails of this, let alone the Q-brained [QAnon] guys he’s trying to impress,” one senior software engineer who wished to remain anonymous said in a direct message to Fortune.

A former Twitter executive told Fortune that the social media service uses the data of a user, as well as an algorithm, to choose the best set of tweets to display to them. Seeing one without the other doesn’t tell an accurate narrative and is mostly “smoke and mirrors,” they said.

“In order to open-source the algorithm you need to open-source the training set, which is impossible for Twitter to do,” the former Twitter executive said, adding that you can open-source anything, but it’s not effective without that essential backdrop. “Every effort in open-sourcing the algorithm without the data is completely dishonest.”

“This is a political declaration in the form of a GitHub repo”

Musk, who bought Twitter for $44 billion at the end of 2022, has reveled in breaking industry norms and taunting perceived enemies, from journalists to adherents of “woke-ism.” He has long vowed to expose the inner workings of Twitter’s algorithm after a series of selectively released internal information, dubbed the Twitter Files, revealed that the algorithm tended to favor the political right.

Many of his fans cheered Musk’s latest gambit. One user replied to Musk’s announcement that this is a “step in the right direction for the future of humanity,” and an investor who led product teams at Facebook and Snapchat said it was “pretty incredible.”

Comments within the code explain that these labels are “used purely for metrics collection” and to ensure that the company doesn’t implement changes that negatively impact “one group over others.” Musk, who took to Twitter Spaces shortly after the code release, claimed he wasn’t aware of those labels and said “it definitely shouldn’t be dividing people into Republicans and Democrats, that makes no sense.”

At least one prominent tech executive suspected ulterior motives in Musk’s move to open-source the algorithm, likening it to other incidents in which Musk selectively disclosed internal Twitter information.

“It’s a necessarily incomplete thing, which is the way all misinformation works. You start with the seed of truth and then you build a false narrative around it,” Glitch CEO Anil Dash told Fortune, pointing toward the labels that sent some media and coders into a tizzy, such as “author_is_elon,” “author_is_power_user,” “author_is_democrat,” and “author_is_republican.” While these might seem nefarious to the layman reviewing this code, the reality is probably pretty boring, Dash said.

“They’re trying to shape the conversation,” said Dash. “This is a political declaration in the form of a GitHub repo [repository], and it’s not intellectually honest and ignores the history of the work they’ve been doing. It is not designed to enable the developer to build a better experience on Twitter.”

In addition to the code release on Friday, Twitter published a blog post that explains the algorithm used to suggest tweets, which the company refers to as Home Mixer, operates by gathering tweets from various sources through a technique called “candidate sourcing.” The tweets are then assessed by a machine learning model and sorted based on factors like whether you’ve blocked the user or if the content is not safe for work (NSFW).

Those undefined machine learning models also seemed to be crucial to other capabilities hinted at in the open-sourced algorithm, such as the ability to analyze sentiments expressed in people’s tweets, such as anger, humor, and sadness.

“The actual magic is in some machine learning models,” the anonymous longtime software coder told Fortune.

“I dug into it a bunch, and there’s zero of the good trained model data anywhere, and without that this whole algorithm show is all hat and no cattle.”

Do you have insight to share? Got a tip? Contact Kylie Robison at kylie.robison@fortune.com, through secure messaging app Signal at 415-735-6829, or via Twitter DM.
About the Author
Kylie Robison
By Kylie Robison
Instagram iconLinkedIn iconTwitter icon
See full bioRight Arrow Button Icon

Latest in Tech

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025

Most Popular

Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Finance
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam
By Fortune Editors
October 20, 2025
Fortune Secondary Logo
Rankings
  • 100 Best Companies
  • Fortune 500
  • Global 500
  • Fortune 500 Europe
  • Most Powerful Women
  • Future 50
  • World’s Most Admired Companies
  • See All Rankings
Sections
  • Finance
  • Fortune Crypto
  • Features
  • Leadership
  • Health
  • Commentary
  • Success
  • Retail
  • Mpw
  • Tech
  • Lifestyle
  • CEO Initiative
  • Asia
  • Politics
  • Conferences
  • Europe
  • Newsletters
  • Personal Finance
  • Environment
  • Magazine
  • Education
Customer Support
  • Frequently Asked Questions
  • Customer Service Portal
  • Privacy Policy
  • Terms Of Use
  • Single Issues For Purchase
  • International Print
Commercial Services
  • Advertising
  • Fortune Brand Studio
  • Fortune Analytics
  • Fortune Conferences
  • Business Development
  • Group Subscriptions
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map
  • Facebook icon
  • Twitter icon
  • LinkedIn icon
  • Instagram icon
  • Pinterest icon

Latest in Tech

crew aboard artemis II
Innovationspace
‘It’s 13 minutes of things that have to go right’: Artemis II splashes down despite faulty heat shield
By Catherina GioinoApril 10, 2026
3 hours ago
The Navy confirmed an ‘abundant amount’ of Uncrustables when the Artemis II crew lands. Smucker’s just offered them a lifetime supply
PoliticsFood and drink
The Navy confirmed an ‘abundant amount’ of Uncrustables when the Artemis II crew lands. Smucker’s just offered them a lifetime supply
By Catherina GioinoApril 10, 2026
5 hours ago
Three people sit behind a desk and look at the phone screen of the person in the middle.
Future of WorkConsulting
Meet ‘trendslop,’ the new, AI-fueled scourge of workplace consultants everywhere
By Sasha RogelbergApril 10, 2026
6 hours ago
Amazon is still paying Jeff Bezos an $80,000 yearly salary—but $1.6 million for travel and security
Big TechCEO salaries and executive compensation
Amazon is still paying Jeff Bezos an $80,000 yearly salary—but $1.6 million for travel and security
By Marco Quiroz-GutierrezApril 10, 2026
7 hours ago
Kash Patel sits with his two fingers on lips
CybersecurityIran
First they went after medtech, then Kash Patel. Iranian hackers’ next target is likely ‘low-hanging fruit’ in water, energy, and tourism, experts say
By Jacqueline MunisApril 10, 2026
8 hours ago
scott bessent
CybersecurityFederal Reserve
The AI that found 27-year-old vulnerabilities no human ever caught before just forced an emergency meeting with every major Wall Street CEO
By Jake AngeloApril 10, 2026
10 hours ago

Most Popular

A Meta employee created a dashboard so coworkers can compete to be the company's No. 1 AI token user—and Zuckerberg doesn't even rank in the top 250
AI
A Meta employee created a dashboard so coworkers can compete to be the company's No. 1 AI token user—and Zuckerberg doesn't even rank in the top 250
By Fortune EditorsApril 9, 2026
2 days ago
The U.S. government is spending $88 billion a month in interest on national debt—equal to spending on defense and education combined
Economy
The U.S. government is spending $88 billion a month in interest on national debt—equal to spending on defense and education combined
By Fortune EditorsApril 9, 2026
2 days ago
Mark Cuban admits he made a mistake letting go of the Mavericks: 'I don't regret selling. I regret who I sold to'
Investing
Mark Cuban admits he made a mistake letting go of the Mavericks: 'I don't regret selling. I regret who I sold to'
By Fortune EditorsApril 9, 2026
1 day ago
Schools across America are quietly admitting that screens in classrooms made students worse off and are reversing years of tech-first policies
Innovation
Schools across America are quietly admitting that screens in classrooms made students worse off and are reversing years of tech-first policies
By Fortune EditorsApril 10, 2026
19 hours ago
Scottie Scheffler joined Tiger Woods and Rory McIlroy in golf's $100M club—and donated his entire Ryder Cup stipend to charity
Success
Scottie Scheffler joined Tiger Woods and Rory McIlroy in golf's $100M club—and donated his entire Ryder Cup stipend to charity
By Fortune EditorsApril 10, 2026
12 hours ago
'I hate working 5 days': Zoom CEO says traditional work schedules are becoming obsolete—and predicts a 3-day workweek by 2031
Success
'I hate working 5 days': Zoom CEO says traditional work schedules are becoming obsolete—and predicts a 3-day workweek by 2031
By Fortune EditorsApril 9, 2026
2 days ago

© 2026 Fortune Media IP Limited. All Rights Reserved. Use of this site constitutes acceptance of our Terms of Use and Privacy Policy | CA Notice at Collection and Privacy Notice | Do Not Sell/Share My Personal Information
FORTUNE is a trademark of Fortune Media IP Limited, registered in the U.S. and other countries. FORTUNE may receive compensation for some links to products and services on this website. Offers may be subject to change without notice.