Twitter published the source code for its recommendation algorithm and owner Elon Musk has promised more.Twitter made parts of its source code, including the recommendations algorithm, public.

Also Read | Delhi: Traffic Police Constable Stabbed, Robbed Near Signature Bridge; Three Arrested.

The social media company uploaded the code in two repositories on the code-sharing platform GitHub.

Also Read | Bribe for Tender Case: Karnataka BJP MLA Madal Virupakshappa Sent to 10-Day Judicial Custody.

Twitter owner Elon Musk, confirmed the move on Saturday, promising to publish more of the code in the next few weeks.

"In the coming weeks, we will open source literally everything that contributes to showing a tweet," Musk wrote on Twitter.

Why it matters

The recommendations algorithm source code explains why tweets appear on a user's "For you" timeline.

Making it public addresses common concerns among users and lawmakers, who increasingly scrutinize social media platforms over how algorithms select the content users see.

"Providing code transparency will be incredibly embarrassing at first, but it should lead to rapid improvement in recommendation quality," Musk wrote on Twitter.

He said the company would regularly update the algorithm based on user feedback.

During a discussion about the source code on Spaces, Twitter's audio chat feature, some users questioned why Twitter's code appeared to classify users as Republicans or Democrats.

Musk said it shouldn't happen and the company would remove it.

Source code previously leaked

Twitter decission to publish the source code came after portions of it were already leaked on Github earlier this year.

Musk was seeking information on the person responsible for the leak.

The US District Court for the Northern District of California ordered Github earlier this week to reveal the identity of the user who posted it.

lo/jcg (dpa, Reuters)

(The above story first appeared on LatestLY on Apr 01, 2023 10:50 PM IST. For more news and updates on politics, world, sports, entertainment and lifestyle, log on to our website latestly.com).