the-algorithm icon indicating copy to clipboard operation
the-algorithm copied to clipboard

author_is_elon

Open enzo-js opened this issue 3 years ago • 76 comments

the problem is his tweets suck. stop recommending them. https://github.com/twitter/the-algorithm/blob/7f90d0ca342b928b479b512ec51ac2c3821f5922/home-mixer/server/src/main/scala/com/twitter/home_mixer/functional_component/decorator/HomeTweetTypePredicates.scala#L225

enzo-js avatar Mar 31 '23 19:03 enzo-js

...

orzklv avatar Mar 31 '23 22:03 orzklv

Should i contribute with “author_is_khalid” ?

Kalmuraee avatar Mar 31 '23 22:03 Kalmuraee

Based on the code, it was only used to measure serving statistics via Twitter's A/B testing framework (DDG), and this “is_author_elon” feature does not impact the recommendation algorithm.

Weirdly, they didn’t clean it up before open-sourcing the code but did it after open-sourcing the code.

yzhuang avatar Mar 31 '23 23:03 yzhuang

LOL

RubenFontes avatar Mar 31 '23 23:03 RubenFontes

I've had the long-neglected Mac app installed for years (and haven't opened it in months), and never got random unwanted notifications from people I would never follow in 44 billion years — until this week.

Screenshot 2023-03-31 at 5 36 55 PM

Starting to think the B in A/B stands for "booed at a comedy show for not being funny..." 🤷‍♂️

jakejarvis avatar Mar 31 '23 23:03 jakejarvis

Never imagined a hard coding configuration in Twitter's algorithm LOL

alansary avatar Apr 01 '23 00:04 alansary

"Money is all you need"

dabirdweius avatar Apr 01 '23 00:04 dabirdweius

"We aren't biased"

sasdallas avatar Apr 01 '23 00:04 sasdallas

!

VinnisVidya avatar Apr 01 '23 01:04 VinnisVidya

Never imagined a hard coding configuration in Twitter's algorithm LOL

Yup. Super dang bonkers honestly

alex-redacted avatar Apr 01 '23 01:04 alex-redacted

This will be triaged soon

pavankjadda avatar Apr 01 '23 02:04 pavankjadda

they did it actually lmao, check https://github.com/twitter/the-algorithm/commit/ec83d01dcaebf369444d75ed04b3625a0a645eb9

rifusaki avatar Apr 01 '23 02:04 rifusaki

good issue😂

BitComing avatar Apr 01 '23 02:04 BitComing

I find it interesting they didn't bother patching up all the things they would get roasted for, because this is just sad-

Nebula-Developer avatar Apr 01 '23 05:04 Nebula-Developer

did you guys find the solutions? I'm still getting those tweets 😟

avinashseth avatar Apr 01 '23 05:04 avinashseth

On another note, from a purely software engineering perspective, this is basically hardcoding! As in if you design a system to do a specific feature for a specific user! What happens if Twitter was sold to another owner? It should have been configurable at least.

If twitter was sold to another owner then they can edit that line of code if they like. Hardcoding isn't always bad. Decisions have to be written down somewhere, it's just a choice of writing it inside the main program or in a separate config file. Either way someone will have to edit it if they want to change the decision. The most important thing is to make sure its kept with version control in git or similar.

bdsl avatar Apr 01 '23 11:04 bdsl

The fake "open source" spirit is to open source the code, but keep all the juicy bits in config. So technically...

But srsly. Don't do that...

dagelf avatar Apr 01 '23 15:04 dagelf

ACK

sha-265 avatar Apr 01 '23 17:04 sha-265

Separation of social classes in Twitter society 😂

MeqdadDev avatar Apr 01 '23 19:04 MeqdadDev

Agreed. :D

datgreatkhan avatar Apr 02 '23 04:04 datgreatkhan