x-algorithm changelog (unofficial)

Unofficial, community-maintained project. Not affiliated with, endorsed by, or operated by X Corp. or xAI. Notes are generated from the public git history of xai-org/x-algorithm and may contain mistakes; the upstream diff is the source of truth.

· c65aa17 · 21 files, +2,271/−32

Brazil 2026 election filter; Thompson-sampling params for author cold start

constantsfiltersnumeric tweaksparams
  • New filter Brazil2026ElectionFilter (home-mixer/filters/brazil_2026_election_filter.rs). It removes a candidate when its author, the retweeted author, the quoted author, or any author in the reply's ancestor chain is on a hard-coded list of accounts reported to Brazil's Electoral Court, unless the viewer follows that account. The list starts with 665 user IDs, and code comments cite the TSE open-data candidate dataset. The upstream README's "August 14th, 2026" notes describe the same filter.
  • Author cold start: new params EnableColdStartThompsonSampling (default off), ColdStartBetaAlpha0 = 0.75, ColdStartBetaBeta0 = 49.25, ColdStartTsTopK = 5, ColdStartImpressionScale = 1.0 and ColdStartTrackedIds. These let the cold-start boost choose among eligible low-impression posts by sampling a Beta posterior of likes per impression, rather than taking the highest-scored one.
  • Comments added to home-mixer/params/param.rs explain that each weight multiplies the *predicted* probability of an action, not raw engagement counts. The README is restructured into a "Latest Updates" list with an August 14th entry.

Full analysis → Summary: hand-written notes, checked against the diff

Automatic analysis

Config parameters (param! defaults)

Added parameterTypeDefaultFile
ColdStartBetaAlpha0f640.75home-mixer/params/param.rs
ColdStartBetaBeta0f6449.25home-mixer/params/param.rs
ColdStartImpressionScalef641.0home-mixer/params/param.rs
ColdStartTrackedIdsString""home-mixer/params/param.rs
ColdStartTsTopKu325home-mixer/params/param.rs
EnableColdStartThompsonSamplingboolfalsehome-mixer/params/param.rs

Pipeline components

KindChangeFile
Filteraddedhome-mixer/filters/brazil_2026_election_filter.rs
Filtermodifiedgrox/flows/reply_spam/task_filter.py
Scorermodifiedhome-mixer/scorers/author_cold_start.rs

Changed constants & literal values

NameOldNewFile
FOLLOWER_COUNT_THRESHOLD_FOR_REPLY_RANKING1500030000grox/flows/reply_spam/task_filter.py
Old lineNew lineFile
when: cred.is_high || cred.follower_count >= 1234 || cred.score >= 7.5when: cred.is_high || cred.follower_count >= 12.34 || cred.score >= 7.5abuse-enforcement-service/service-lib/src/fixtures/mock_rules_user.yaml
FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION = 15000FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION = 30000grox/flows/reply_spam/task_filter.py

Modules touched

ModuleFiles addedModifiedRemovedLines +Lines −
home-mixer/150+1,945−5
phoenix/060+193−15
bdsm/050+113−6
(repo root)/010+15−2
grox/010+2−2
phoenix-rankall/010+2−1
abuse-enforcement-service/010+1−1

Files (21)

Show file list