Hacker GitHub

← All repos

twitter/the-algorithm

View on GitHub ↗ ★ 73,994 Scala

Source code for the X Recommendation Algorithm

116 mentions on Hacker News by 104 people: 20 stories, 96 comments · first 2022-04-25 · latest 2026-10-19

Mentions per year 116 mentions · busiest year 2023 (78)
20082026
  1. Did you also skim the accompanying (or rather, main) repo, https://github.com/twitter/the-algorithm ? From a quick clone and line-count, it has: 235 kLOC .scala 136 kLOC .java 22 kLOC .py 7 kLOC .rs So I don't think you did, since you…
    comment by tpmx · 2023-03-31 · in Twitter's Recommendation Algorithm
  2. …they seem to explicitly track how often they're serving Elon's tweets for A/B testing experiments: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...
    comment by devrand · 2023-03-31 · in Twitter's Recommendation Algorithm
  3. …platform that we do not ship changes * that negatively impacts one group over others. */ [0]: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...
    comment by CathalMullan · 2023-03-31 · in Twitter's Recommendation Algorithm
  4. Party in the issues: https://github.com/twitter/the-algorithm/issues
    comment by benatkin · 2023-03-31 · in Twitter's Recommendation Algorithm
  5. I wonder what determines 'cred' for this part: https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92...
    comment by pram · 2023-03-31 · in Twitter's Recommendation Algorithm
  6. https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92... ``` def query_keys(self, language, task=2, size="50"): if task == 2: if language == "ar": self.query_settings["adhoc_v2"]["table"] = "..." elif language == "tr":…
    comment by Kpourdeilami · 2023-03-31 · in Twitter's Recommendation Algorithm
  7. I think this PR is modifying the inputs to the methods that do it: https://github.com/twitter/the-algorithm/pull/17
    comment by jmholla · 2023-03-31 · in Twitter's Recommendation Algorithm
  8. ▲ 2
    Navi: High-Performance Machine Learning Serving Server in Rust
    story by hasheddan · 2023-03-31 · 0 comments
  9. Great pull request here which improves the algorithm: https://github.com/twitter/the-algorithm/pull/17
    comment by PenguinRevolver · 2023-03-31 · in Twitter's Recommendation Algorithm
  10. ▲ 2
    Twitter's Recommendation Algorithm
    story by hasheddan · 2023-03-31 · 0 comments
  11. From https://github.com/twitter/the-algorithm/blob/7f90d0ca342b92... ( "author_is_elon", candidate => candidate .getOrElse(AuthorIdFeature, None).contains(candidate.getOrElse(DDGStatsElonFeature, 0L))), ( "author_is_power_user", candidate…
    comment by tric · 2023-03-31 · in Twitter's Recommendation Algorithm
  12. Main repos: - https://github.com/twitter/the-algorithm - https://github.com/twitter/the-algorithm-ml Blogs: - Eng: https://blog.twitter.com/engineering/en_us/topics/open-sourc... - Biz: https://blog.twitter.com/en_us/topics/company/2023/a-n…
    comment by summarity · 2023-03-31 · in Twitter's Recommendation Algorithm
  13. GitHub repo: https://github.com/twitter/the-algorithm/
    comment by tric · 2023-03-31 · in Twitter's Recommendation Algorithm
  14. …confused and reading the comments now, the link was to an empty, but real, twitter repository at https://github.com/twitter/the-algorithm . Now it is a 404.
    comment by Diesel555 · 2022-04-26 · in twitter/the-algorithm
  15. Will Norris who works on OSS at Twitter posted this[0]: "watch this space https://github.com/twitter/the-algorithm " [0]: https://twitter.com/willnorris/status/1518694675909013504
    comment by johns · 2022-04-25 · in twitter/the-algorithm
  16. ▲ 374
    twitter/the-algorithm
    story by johns · 2022-04-25 · 380 comments