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.

· 42266f3 · 64 files, +2,288/−3,627

New filter fav_holdout_filter and other changes.

constantsfiltersnumeric tweaksparams
  • Parameter defaults changed: ColdStartMaxPostAgeSecs: 86400 → 172800.
  • Added 2 feature flags: EnableCdwellOnImpr (default off) and EnableFavHoldout (default off).
  • Removed 1 feature flag: EnableClickDwellLowFavRatePenalty.
  • Removed 4 config parameters: ClickDwellLowFavRatePenaltyAlpha, ClickDwellLowFavRatePenaltyBaseline, ClickDwellLowFavRatePenaltyCap and ClickDwellLowFavRatePenaltyFloor.
  • New filters: fav_holdout_filter and RedactUnenforcedTakedownsFilter.
  • Constants changed: GROK_GEMMA_FOLLOWER_SPLIT 180_000 → 200_000 (constants.py) and FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION 30000 → 50000 (task_filter.py).
  • Other literal values changed in code: reserved 234 to 252; 214→234 (recsys.proto) and reserved 234 to 252; 214→234 (recsys.proto).
  • Most activity in visibility-filtering/ (+84/−3,301), under-the-hood/ (+1,477/−137), home-mixer/ (+199/−112), phoenix/ (+148/−72) and takedowns/ (+218/−0).
  • 1 file changed only in formatting, comments or sync metadata.

Full analysis → Summary: automatic analysis

Config parameters (param! defaults)

ParameterFeature-switch keyOldNew
ColdStartMaxPostAgeSecs
home-mixer/params/param.rs
rust_home_mixer_cold_start_max_post_age_secs86400172800
Added parameterTypeDefaultFile
EnableCdwellOnImprboolfalsehome-mixer/params/param.rs
EnableFavHoldoutboolfalsehome-mixer/params/param.rs
Removed parameterTypeLast defaultNote
ClickDwellLowFavRatePenaltyAlphaf640.5removed from home-mixer/params/param.rs
ClickDwellLowFavRatePenaltyBaselinef640.01removed from home-mixer/params/param.rs
ClickDwellLowFavRatePenaltyCapf641.0removed from home-mixer/params/param.rs
ClickDwellLowFavRatePenaltyFloorf640.01removed from home-mixer/params/param.rs
EnableClickDwellLowFavRatePenaltyboolfalseremoved from home-mixer/params/param.rs

Pipeline components

KindChangeFile
Filteraddedhome-mixer/filters/fav_holdout_filter.rs
Filteraddedtakedowns/gizmoduck/RedactUnenforcedTakedownsFilter.scala
Filtermodifiedgrox/flows/reply_spam/task_filter.py
Filtermodifiedhome-mixer/filters/inventory_holdout_filter.rs
Scorermodifiedhome-mixer/scorers/author_cold_start.rs
Scorermodifiedhome-mixer/scorers/ranking_scorer.rs
Candidate hydratormodifiedvisibility-filtering/hydration/safety_label_hydrator.rs

Changed constants & literal values

NameOldNewFile
GROK_GEMMA_FOLLOWER_SPLIT180_000200_000grox/flows/reply_spam/constants.py
FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION3000050000grox/flows/reply_spam/task_filter.py
Old lineNew lineFile
reserved 214 to 252;reserved 234 to 252;phoenix/crates/serving/xai-recsys-proto/proto/recsys.proto
reserved 214 to 252;reserved 234 to 252;phoenix/python/common/xai-proto/proto/recsys.proto

Modules touched

ModuleFiles addedModifiedRemovedLines +Lines −
visibility-filtering/0611+84−3,301
under-the-hood/470+1,477−137
home-mixer/160+199−112
phoenix/0160+148−72
takedowns/400+218−0
visibility-filtering-client/130+151−0
abuse-enforcement-service/010+7−3
grox/030+3−2
(repo root)/010+1−0

Files (64)

Show file list
PathLinesNote
MREADME.md+1/−0
Mabuse-enforcement-service/service-lib/src/config.rs+7/−3
Mgrox/flows/ptos/state.py+1/−0
Mgrox/flows/reply_spam/constants.py+1/−1
Mgrox/flows/reply_spam/task_filter.py+1/−1
Mhome-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs+2/−0
Ahome-mixer/filters/fav_holdout_filter.rs+166/−0
Mhome-mixer/filters/inventory_holdout_filter.rs+2/−2
Mhome-mixer/filters/mod.rs+1/−0
Mhome-mixer/params/param.rs+11/−28
Mhome-mixer/scorers/author_cold_start.rs+7/−50
Mhome-mixer/scorers/ranking_scorer.rs+10/−32
Mphoenix/crates/serving/xai-recsys-engine/src/checkpoint_proxy.rs+1/−0
Mphoenix/crates/serving/xai-recsys-engine/src/copy_port_client.rs+4/−0
Mphoenix/crates/serving/xai-recsys-engine/src/emb_table.rs+15/−3
Mphoenix/crates/serving/xai-recsys-engine/src/grpc_util.rs+9/−2
Mphoenix/crates/serving/xai-recsys-engine/src/mem_util.rs+5/−1
Mphoenix/crates/serving/xai-recsys-proto/proto/recsys.proto+23/−3
Mphoenix/python/common/xai-proto/proto/recsys.proto+23/−3
Mphoenix/xrex/cuda/__init__.py+15/−14comments only
Mphoenix/xrex/cuda/async_emb/async_emb.py+5/−6
Mphoenix/xrex/data/parquet_recsys.py+5/−1
Mphoenix/xrex/data/recsys/feature_config.py+1/−1
Mphoenix/xrex/data/recsys/recsys_batch.py+6/−6
Mphoenix/xrex/models/loss_recsys.py+2/−2
Mphoenix/xrex/models/recsys_model.py+20/−24
Mphoenix/xrex/train/recsys_bundle_export.py+9/−2
Mphoenix/xrex/train/trainer.py+5/−4
Atakedowns/gizmoduck/ReadFilters.scala+39/−0
Atakedowns/gizmoduck/RedactUnenforcedTakedownsFilter.scala+81/−0
Atakedowns/tweet-entity-service/TakedownReasonsColumn.scala+25/−0
Atakedowns/tweet-entity-service/TakedownReasonsTransform.scala+73/−0
Aunder-the-hood/scalding/TakedownDeltas.scala+169/−0
Aunder-the-hood/scalding/TakedownLabels.scala+103/−0
Aunder-the-hood/scalding/TakedownReplay.scala+80/−0
Munder-the-hood/scalding/UnderTheHoodCommon.scala+20/−7
Aunder-the-hood/scalding/UthDailyPostTakedownLabelsJob.scala+283/−0
Munder-the-hood/scalding/UthPctdAccountTakedownEventsJob.scala+392/−63
Munder-the-hood/scalding/UthReferenceMonthMhPublisherJob.scala+30/−10
Munder-the-hood/scalding/UthUserMonthMhPublisherJob.scala+140/−34
Munder-the-hood/strato/columns/underTheHoodReport.User.strato+92/−22
Munder-the-hood/strato/lib/params.strato+4/−0
Munder-the-hood/strato/lib/underTheHoodLabels.strato+164/−1
Avisibility-filtering-client/evaluated.rs+122/−0
Mvisibility-filtering-client/lib.rs+1/−0
Mvisibility-filtering-client/tweet_safety_label.rs+7/−0
Mvisibility-filtering-client/vf_client.rs+21/−0
Mvisibility-filtering/hydration/safety_label_hydrator.rs+4/−4
Mvisibility-filtering/lib.rs+0/−1
Mvisibility-filtering/safety_label_source/source.rs+8/−11
Mvisibility-filtering/safety_label_source/twemcache.rs+24/−26
Mvisibility-filtering/server.rs+7/−0
Mvisibility-filtering/server_deps.rs+41/−25
Dvisibility-filtering/twemcache/accrual.rs+0/−267
Dvisibility-filtering/twemcache/client.rs+0/−640
Dvisibility-filtering/twemcache/connection.rs+0/−762
Dvisibility-filtering/twemcache/discovery.rs+0/−121
Dvisibility-filtering/twemcache/error.rs+0/−15
Dvisibility-filtering/twemcache/host_pool.rs+0/−359
Dvisibility-filtering/twemcache/host_pool_tests.rs+0/−639
Dvisibility-filtering/twemcache/key.rs+0/−92
Dvisibility-filtering/twemcache/metrics.rs+0/−87
Dvisibility-filtering/twemcache/mod.rs+0/−13
Dvisibility-filtering/twemcache/ring.rs+0/−239