• Home
  • News
  • Fortune 500
  • Tech
  • Finance
  • 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 Snapchatsaid 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

LawInternet
A Supreme Court decision could put your internet access at risk. Here’s who could be affected
By Dave Lozo and Morning BrewDecember 2, 2025
6 hours ago
AITikTok
China’s ByteDance could be forced to sell TikTok U.S., but its quiet lead in AI will help it survive—and maybe even thrive
By Nicholas GordonDecember 2, 2025
7 hours ago
United Nations
AIUnited Nations
UN warns about AI becoming another ‘Great Divergence’ between rich and poor countries like the Industrial Revolution
By Elaine Kurtenbach and The Associated PressDecember 2, 2025
8 hours ago
Anthropic cofounder and CEO Dario Amodei
AIEye on AI
How Anthropic’s safety first approach won over big business—and how its own engineers are using its Claude AI
By Jeremy KahnDecember 2, 2025
8 hours ago
Nvidia founder and CEO Jensen Huang reacts during a press conference at the Asia-Pacific Economic Cooperation (APEC) CEO Summit in Gyeongju on October 31, 2025.
AINvidia
Nvidia CFO admits the $100 billion OpenAI megadeal ‘still’ isn’t signed—two months after it helped fuel an AI rally
By Eva RoytburgDecember 2, 2025
10 hours ago
Big TechInstagram
Instagram CEO calls staff back to the office 5 days a week to build a ‘winning culture’—while canceling every recurring meeting
By Marco Quiroz-GutierrezDecember 2, 2025
11 hours ago

Most Popular

placeholder alt text
Economy
Ford workers told their CEO 'none of the young people want to work here.' So Jim Farley took a page out of the founder's playbook
By Sasha RogelbergNovember 28, 2025
4 days ago
placeholder alt text
Success
Warren Buffett used to give his family $10,000 each at Christmas—but when he saw how fast they were spending it, he started buying them shares instead
By Eleanor PringleDecember 2, 2025
17 hours ago
placeholder alt text
Economy
Elon Musk says he warned Trump against tariffs, which U.S. manufacturers blame for a turn to more offshoring and diminishing American factory jobs
By Sasha RogelbergDecember 2, 2025
11 hours ago
placeholder alt text
Success
Forget the four-day workweek, Elon Musk predicts you won't have to work at all in ‘less than 20 years'
By Jessica CoacciDecember 1, 2025
1 day ago
placeholder alt text
C-Suite
MacKenzie Scott's $19 billion donations have turned philanthropy on its head—why her style of giving actually works
By Sydney LakeDecember 2, 2025
17 hours ago
placeholder alt text
AI
More than 1,000 Amazon employees sign open letter warning the company's AI 'will do staggering damage to democracy, our jobs, and the earth’
By Nino PaoliDecember 2, 2025
19 hours ago
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
  • Leadership
  • Success
  • Tech
  • Asia
  • Europe
  • Environment
  • Fortune Crypto
  • Health
  • Retail
  • Lifestyle
  • Politics
  • Newsletters
  • Magazine
  • Features
  • Commentary
  • Mpw
  • CEO Initiative
  • Conferences
  • Personal Finance
  • 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
About Us
  • About Us
  • Editorial Calendar
  • Press Center
  • Work At Fortune
  • Diversity And Inclusion
  • Terms And Conditions
  • Site Map

© 2025 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.