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.

· 2d4a03c · 17 files, +594/−9

New side effect response_diversity_stats_side_effect and other changes.

constantsnumeric tweaksparamsschemaside effects
  • Added 1 feature flag: EnableResponseDiversityStatsExperimentBucket (default off).
  • New side effect: response_diversity_stats_side_effect.
  • Constants changed: metrics_export_interval_ms 30_000 → 120_000 (kafkaloader.py).
  • Other literal values changed in code: FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION 10000→30000 (task_filter.py) and export_interval_ms 30_000→120_000 (kafkaloader.py).
  • Proto/Thrift schema: 4 fields added (e.g. PredictNextActionsRequest.purchase_value_baselines, PurchaseValueBaseline.advertiser_account_id, PurchaseValueBaseline.impression_id and PurchaseValueBaseline.mean_value_usd_28d).
  • Most activity in home-mixer/ (+457/−5), phoenix/ (+136/−3) and grox/ (+1/−1).

Full analysis → Summary: automatic analysis

Config parameters (param! defaults)

Added parameterTypeDefaultFile
EnableResponseDiversityStatsExperimentBucketboolfalsehome-mixer/params/param.rs

Pipeline components

KindChangeFile
Side effectaddedhome-mixer/side_effects/response_diversity_stats_side_effect.rs
Filtermodifiedgrox/flows/reply_spam/task_filter.py
Candidate hydratormodifiedhome-mixer/candidate_hydrators/tweet_type_metrics_hydrator.rs

Changed constants & literal values

NameOldNewFile
metrics_export_interval_ms30_000120_000phoenix/xrex/data/streaming/kafkaloader.py
Old lineNew lineFile
FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION = 10000FOLLOWER_COUNT_THRESHOLD_FOR_SPAM_DETECTION = 30000grox/flows/reply_spam/task_filter.py
export_interval_ms: int = 30_000,export_interval_ms: int = 120_000,phoenix/xrex/data/streaming/kafkaloader.py

Schema fields (4)

Show proto/thrift field changes
ChangeField
addedPredictNextActionsRequest.purchase_value_baselines
addedPurchaseValueBaseline.advertiser_account_id
addedPurchaseValueBaseline.impression_id
addedPurchaseValueBaseline.mean_value_usd_28d

Modules touched

ModuleFiles addedModifiedRemovedLines +Lines −
home-mixer/370+457−5
phoenix/150+136−3
grox/010+1−1

Files (17)

Show file list