… user groups are served
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -220,30 +220,7 @@ object HomeTweetTypePredicates { | ||
_.getOrElse(ConversationModule2DisplayedTweetsFeature, false)), | ||
("conversation_module_has_gap", _.getOrElse(ConversationModuleHasGapFeature, false)), | ||
("served_in_recap_tweet_candidate_module_injection", _ => false), | ||
("served_in_threaded_conversation_module", _ => false), | ||
( | ||
"author_is_elon", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
edmundpf
|
||
candidate => | ||
candidate | ||
.getOrElse(AuthorIdFeature, None).contains(candidate.getOrElse(DDGStatsElonFeature, 0L))), | ||
( | ||
"author_is_power_user", | ||
candidate => | ||
candidate | ||
.getOrElse(AuthorIdFeature, None) | ||
.exists(candidate.getOrElse(DDGStatsVitsFeature, Set.empty[Long]).contains)), | ||
( | ||
"author_is_democrat", | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
bennash
|
||
candidate => | ||
candidate | ||
.getOrElse(AuthorIdFeature, None) | ||
.exists(candidate.getOrElse(DDGStatsDemocratsFeature, Set.empty[Long]).contains)), | ||
( | ||
"author_is_republican", | ||
candidate => | ||
candidate | ||
.getOrElse(AuthorIdFeature, None) | ||
.exists(candidate.getOrElse(DDGStatsRepublicansFeature, Set.empty[Long]).contains)), | ||
("served_in_threaded_conversation_module", _ => false) | ||
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
This comment has been minimized.
Sorry, something went wrong.
BankkRoll
|
||
) | ||
|
||
val PredicateMap = CandidatePredicates.toMap | ||
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,18 +1,5 @@ | ||
package com.twitter.home_mixer.module | ||
|
||
import com.google.inject.Provides | ||
import com.twitter.config.yaml.YamlMap | ||
import com.twitter.home_mixer.param.HomeMixerInjectionNames.DDGStatsAuthors | ||
import com.twitter.inject.TwitterModule | ||
import javax.inject.Named | ||
import javax.inject.Singleton | ||
|
||
object HomeMixerResourcesModule extends TwitterModule { | ||
|
||
private val AuthorsFile = "/config/authors.yml" | ||
|
||
@Provides | ||
@Singleton | ||
@Named(DDGStatsAuthors) | ||
def providesDDGStatsAuthors(): YamlMap = YamlMap.load(AuthorsFile) | ||
} | ||
object HomeMixerResourcesModule extends TwitterModule {} |
31 comments
on commit ec83d01
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
OH MY GOD THEY ACTUALLY DID IT (#327)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
HAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHAHA
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
An ensign comes into the recreation room one day. He sees a soldier standing near an aquarium, looking at the fish.
-- What are you doing here, comrade soldier?
-- Studying the influence of the higher mind on the lower mind, Comrade Warrant Officer. I move my eyes to the right - the fish
swim to the right, I lead to the left - the fish swim to the left.
-- Go away, comrade soldier, read a newspaper.
The soldier left. Five minutes left until the end of personal time, and he decided to go into the recreation room again, and there stands the warrant officer and monotonously opens and closes his mouth (imitates the breathing of fish).
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
surely this change will be reflected on the actual twitter site (CLUELESS)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good lord, look at them go.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
They probably think we can't see this LMAO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LMAO
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
About time lmao, can't believe they actually had Elon hardcoded in the source...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@revelsix from a quick glance it seems that these are only used for analytics purposes, not actually affecting the algo
/**
* These author ID lists are used purely for metrics collection. We track how often we are
* serving Tweets from these authors and how often their tweets are being impressed by users.
* This helps us validate in our A/B experimentation platform that we do not ship changes
* that negatively impacts one group over others.
*/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Everyone commenting, I know you are here just for cheap drama, but please at least read the commit you're commenting on:
/**
* These author ID lists are used purely for metrics collection. We track how often we are
* serving Tweets from these authors and how often their tweets are being impressed by users.
* This helps us validate in our A/B experimentation platform that we do not ship changes
* that negatively impacts one group over others.
*/
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
hilarious
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
free speech
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lmao
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lol
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
jacc W
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@revelsix from a quick glance it seems that these are only used for analytics purposes, not actually affecting the algo
/** * These author ID lists are used purely for metrics collection. We track how often we are * serving Tweets from these authors and how often their tweets are being impressed by users. * This helps us validate in our A/B experimentation platform that we do not ship changes * that negatively impacts one group over others. */
Do you realize this is actually worse. You pointed to a comment that state the goal of this code.
A/B testing every changes so that they don't negatively impact specifics groups:
.add(DDGStatsDemocratsFeature, ddgStatsAuthors.longSeq(Democrats).toSet)
.add(DDGStatsRepublicansFeature, ddgStatsAuthors.longSeq(Republicans).toSet)
.add(DDGStatsVitsFeature, ddgStatsAuthors.longSeq(Vits).toSet)
.add(DDGStatsElonFeature, ddgStatsAuthors.longValue(Elon))
Democrat / Republican why not even if it is a little bit to US centric for my taste.
Elon... well i guess all is said.
But who on are the Vits? Any clues?
At least thanks to the dev for using a clean commit instead of trying a shamefull push force on a public repo that would probably had an even greater Streisand effect
PS: Apologies they actually did a push force on a public repo
Let's just hope no one could possibly have cloned 7f90d0c before they erased it blowing up every pull request in the process... Must contain some other smoking guns...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
A/B testing every changes so that they don't negatively impact specifics groups:
And any other specific group, like "DeviceLanguageFeature", "AccountAgeFeature" and "IsNsfwFeature". This is just regular A/B testing, they are making sure they don't hurt any particular group with a new PR.This absolutely makes sense, and I say this as a Twitter hater.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
github is the new facebook.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
cat wit the drip ong
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
absolute pussy drip
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of the commits of all time, certainly
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
one of the commits of all time, certainly
This is the commit ever
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I am so proud of this community
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are you proud of me now Mom
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have to be a part of this commit in some form or another.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is this for April Fools
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lovely April Fool, Elon.
Amazing Entertainment.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
elon you shouldn't have
This comment has been minimized.
Sorry, something went wrong.
BankkRoll23 minutes agoApr 1, 2023
This comment has been minimized.
Sorry, something went wrong.
rafaelbeckel10 minutes agoApr 1, 2023
If you're a human reading this from Mars in 3023, consider this as my cave painting: