Home Twitter Reveals a Part of Its Code for Public Inspection
News

Twitter Reveals a Part of Its Code for Public Inspection

Krishi Chowdhary Journalist Author expertise
Disclosure
Disclosure
In our content, we occasionally include affiliate links. Should you click on these links, we may earn a commission, though this incurs no additional cost to you. Your use of this website signifies your acceptance of our terms and conditions as well as our privacy policy.

Twitter Reveals a Part of Its Code for Public Inspection

Twitter has now opened some of its source code to the public for inspection. This includes the algorithm used by the social media platform to recommend tweets to users. The revealed codes are now available to all on GitHub in the form of two repositories.

CEO Elon Musk had repeatedly promised to make the platform’s source code public to make it more transparent. In a blog post concerning the publication of the code, Twitter announced that this is its first step towards transparency. CEO Elon Musk had repeatedly promised to make the platform’s source code public to make it more transparent.

A brief overview of the revealed algorithm source code

The repositories published by Twitter on GitHub comprise code from several crucial parts of the social media network. These include the mechanism behind timeline recommendations – the algorithm Twitter uses to control which tweets appear on each user’s “For You” timeline.

The code consists of several models, including one meant to detect abusive or NSFW (Not Safe for Work) content.

The algorithm initially looks quite complex. However, considering the function it serves and all the technical processes involved, this isn’t surprising at all.

The models calculate the reputation of every Twitter user and determine the chances of their interaction with other users. However, the documentation didn’t clarify what exactly “reputation” means in this regard. The tweets on the timeline are ranked by several neural networks, which also recommend accounts to follow.

Twitter also assured that it hadn’t revealed any code that might potentially endanger the safety and privacy of its users. The same goes for any code which might compromise Twitter’s ability to combat child sexual abuse, manipulation, and bad actors on the platform in general.

As the town square of the internet, we’re ultimately doing this to foster transparency and build trust with our users, customers, and the general public.Twitter Blog Post

Besides transparency, Twitter also characterized its move to make the source code public as a step toward risk prevention. Musk later clarified on a Twitter Space session that the goal behind the move is to get the GitHub community to find and fix exploits in the platform’s code.

Musk expects users to find a lot of mistakes in Twitter’s source code

Musk admitted that people are going to find plenty of mistakes in the code, stating that he expects the initial release of the algorithm to be embarrassing. However, he also added that Twitter would be quick to fix the mistakes pointed out by users.

He went on to hint that the reveal of the recommendation algorithm code is aimed at addressing beliefs that Twitter might be manipulating users by deliberately promoting certain content.

Even if you don’t agree with something, at least you’ll know why it’s there and that you’re not being secretly manipulated.Elon Musk

Notably, Twitter released its source code at a time when the platform is surrounded by controversies regarding changes to the platform’s recommendation algorithm after Musk’s takeover. In November, for instance, users began to see more Tweets from users they do not follow. More recently, in February, Twitter engineers revealed that they had been asked by Musk to reconfigure the algorithm to grant his tweets increased visibility.

The Tech Report - Editorial ProcessOur Editorial Process

The Tech Report editorial policy is centered on providing helpful, accurate content that offers real value to our readers. We only work with experienced writers who have specific knowledge in the topics they cover, including latest developments in technology, online privacy, cryptocurrencies, software, and more. Our editorial policy ensures that each topic is researched and curated by our in-house editors. We maintain rigorous journalistic standards, and every article is 100% written by real authors.

Krishi Chowdhary Journalist

Krishi Chowdhary Journalist

Krishi is an eager Tech Journalist and content writer for both B2B and B2C, with a focus on making the process of purchasing software easier for businesses and enhancing their online presence and SEO.

Krishi has a special skill set in writing about technology news, creating educational content on customer relationship management (CRM) software, and recommending project management tools that can help small businesses increase their revenue.

Alongside his writing and blogging work, Krishi's other hobbies include studying the financial markets and cricket.

Latest News

EU Probes into Meta’s Facebook and Instagram for Not Doing Enough to Ensure Child Safety
News

EU Probes into Meta’s Facebook and Instagram for Not Doing Enough to Ensure Child Safety

Tesla Fires 600 Employees in California
News

Tesla Rolls Out Another Round of Mass Layoff – 600 Employees Fired in California

Tesla has decided to cut an additional 600 jobs at the company’s manufacturing plant and engineering headquarters in California—at its Fremont and Palo Alto locations to be precise. The news...

Bitcoin Whales Accumulate Over 3,400 BTC Tokens, Signaling a Possible Price Increase Ahead
Crypto News

Bitcoin Whales Accumulate Over 3,400 BTC Tokens, Signaling a Possible Price Increase Ahead

Bitcoin has broken above the $66,000 price, confirming rising bullish sentiment. Recent reports reveal that Bitcoin whales have accumulated over 3,400 coins amid the improving market sentiment. This increase in...

Pink Drainer Packs Up Following Attacks On 20K Victims And $75M Crypto Theft
Crypto News

Pink Drainer Packs Up Following Attacks On 20K Victims And $75M Crypto Theft

Avalanche (AVAX) Set to Rally to $40 Based on Bullish Patterns
Crypto News

Avalanche (AVAX) Set to Rally to $40 Based on Bullish Patterns

Ethereum (ETH) Trades Above $3,000 Price Mark, What's Next?
Crypto News

Ethereum (ETH) Trades Above $3,000 Price Mark, What’s Next?

OpenAI Strikes Deal with Reddit to Use Its Content to Train ChatGPT
News

OpenAI Strikes Deal with Reddit to Use Its Content for ChatGPT Training