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.

· f06f45a · 57 files, +2,596/−602

New candidate source jetfuel_direct_frame_source and other changes.

candidate hydratorscandidate sourcesconstantsfeature flagsnumeric tweaksparams
  • Feature switches flipped: EnableVideoCarouselMediumRiskFilter (enable video carousel medium risk filter) is now ON by default and EnableVideoCarouselSeenFilter (enable video carousel seen filter) is now ON by default.
  • Parameter defaults changed: ShadowTrafficPhoenixClusterRates: vec![ "Experiment18Fou:0.3".to_string(), "Experiment19Fou:0.3".to_string(), "Experiment20Fou:0.3".to_string(), "Experiment22Fou:0.3".to_string(), "Experiment23Fou:0.3".to_string() ] → vec![ "Experiment18Fou:0.3".to_string(), "Experiment19Fou:0.3".to_string(), "Experiment22Fou:0.3".to_string(), "Experiment23Fou:0.3".to_string(), "Experiment24Fou:0.3".to_string(), "Experiment25Fou:0.3".to_string(), "Experiment26Fou:0.3".to_string(), "Experiment27Fou:0.3".to_string(), "Experiment28Fou:0.3".to_string() ].
  • Added 3 feature flags: EnableJetfuelFrameGrokbotSuggestedTasks (default off), EnableVideoCarouselTakeFromFeed (default off) and VMRankerSendPostTopics (default off).
  • Added 5 config parameters: JetfuelFrameGrokbotSuggestedTasksFatigueHours = 6, PostTopicsMaxCandidates = 200, PostTopicsTimeoutMs = 80, RecentViewsRows = 64 and RecentViewsSequenceLength = 256.
  • New candidate hydrator: recent_views_query_hydrator.
  • New candidate source: jetfuel_direct_frame_source.
  • Constants changed: ACTION_CONTROL_RECORD_VERSION 6 → 7 (action_control.rs) and REFRESH_STEPS [Duration::from_secs(30), Duration::from → [Duration::from_secs(60)] (dragonfly.rs).
  • Other literal values changed in code: not_found_ttl 10→60 (dragonfly.rs), at(59).await; 30→59 (dragonfly.rs), .put(1, Status::Found(spam(0.1)), fill(BASE_MS - 6 30_000→60_000 (dragonfly.rs), fill 30_000→60_000 (dragonfly.rs), w.manhattan.set_spam(1, 0.5); 0.9→0.5 (dragonfly.rs) and 6 more.
  • Most activity in home-mixer/ (+1,308/−334), abuse-enforcement-service/ (+1,041/−175), safety-label-source/ (+178/−66), candidate-pipeline/ (+59/−14) and simclusters/ (+7/−2).

Full analysis → Summary: automatic analysis

Config parameters (param! defaults)

ParameterFeature-switch keyOldNew
EnableVideoCarouselMediumRiskFilter
home-mixer/params/param.rs
rust_home_mixer_enable_video_carousel_medium_risk_filterfalsetrue
EnableVideoCarouselSeenFilter
home-mixer/params/param.rs
rust_home_mixer_enable_video_carousel_seen_filterfalsetrue
ShadowTrafficPhoenixClusterRates
home-mixer/params/param.rs
rust_home_mixer_shadow_traffic_phoenix_cluster_ratesvec![ "Experiment18Fou:0.3".to_string(), "Experiment19Fou:0.3".to_string(), "Experiment20Fou:0.3".to_string(), "Experiment22Fou:0.3".to_string(), "Experiment23Fou:0.3".to_string() ]vec![ "Experiment18Fou:0.3".to_string(), "Experiment19Fou:0.3".to_string(), "Experiment22Fou:0.3".to_string(), "Experiment23Fou:0.3".to_string(), "Experiment24Fou:0.3".to_string(), "Experiment25Fou:0.3".to_string(), "Experiment26Fou:0.3".to_string(), "Experiment27Fou:0.3".to_string(), "Experiment28Fou:0.3".to_string() ]
Added parameterTypeDefaultFile
EnableJetfuelFrameGrokbotSuggestedTasksboolfalsehome-mixer/params/param.rs
EnableVideoCarouselTakeFromFeedboolfalsehome-mixer/params/param.rs
JetfuelFrameGrokbotSuggestedTasksFatigueHoursu326home-mixer/params/param.rs
PostTopicsMaxCandidatesusize200home-mixer/params/param.rs
PostTopicsTimeoutMsu6480home-mixer/params/param.rs
RecentViewsRowsusize64home-mixer/params/param.rs
RecentViewsSequenceLengthu32256home-mixer/params/param.rs
VMRankerSendPostTopicsboolfalsehome-mixer/params/param.rs

Pipeline components

KindChangeFile
Candidate hydratoraddedhome-mixer/query_hydrators/recent_views_query_hydrator.rs
Candidate sourceaddedhome-mixer/sources/jetfuel_direct_frame_source.rs
Candidate hydratormodifiedcandidate-pipeline/query_hydrator.rs
Candidate hydratormodifiedhome-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs
Filtermodifiedhome-mixer/filters/fair_share_ranking_filter.rs
Filtermodifiedhome-mixer/filters/fav_holdout_filter.rs
Filtermodifiedhome-mixer/filters/inventory_holdout_filter.rs
Filtermodifiedhome-mixer/filters/new_user_min_engagement_filter.rs
Filtermodifiedhome-mixer/filters/new_user_soft_nsfw_filter.rs
Filtermodifiedhome-mixer/filters/oon_nsfw_simclusters_filter.rs
Filtermodifiedhome-mixer/filters/video_carousel_filter.rs
Filtermodifiedhome-mixer/filters/video_filter.rs
Scorermodifiedhome-mixer/scorers/vm_ranker.rs
Scorermodifiedhome-mixer/scorers/vm_ranker_debias_payload.rs
Scorermodifiedhome-mixer/scorers/vm_ranker_request.rs
Candidate sourcemodifiedhome-mixer/sources/jetfuel_frame_source.rs

Changed constants & literal values

NameOldNewFile
ACTION_CONTROL_RECORD_VERSION67abuse-enforcement-service/types/src/action_control.rs
REFRESH_STEPS[Duration::from_secs(30), Duration::from_secs(90)][Duration::from_secs(60)]safety-label-source/dragonfly.rs
Old lineNew lineFile
not_found_ttl: Duration::from_secs(10 * 60),not_found_ttl: Duration::from_secs(60 * 60),safety-label-source/dragonfly.rs
at(30).await;at(59).await;safety-label-source/dragonfly.rs
.put(1, Status::Found(spam(0.1)), fill(BASE_MS - 30_000, 0));.put(1, Status::Found(spam(0.1)), fill(BASE_MS - 60_000, 0));safety-label-source/dragonfly.rs
fill: fill(BASE_MS - 30_000, 1),fill: fill(BASE_MS - 60_000, 1),safety-label-source/dragonfly.rs
w.manhattan.set_spam(1, 0.9);w.manhattan.set_spam(1, 0.5);safety-label-source/dragonfly.rs
refresh_cutoff_ms: BASE_MS - 40_000,refresh_cutoff_ms: BASE_MS - 70_000,safety-label-source/dragonfly.rs
.put(1, Status::Found(nsfa()), fill(BASE_MS - 30_000, 0));.put(1, Status::Found(nsfa()), fill(BASE_MS - 60_000, 0));safety-label-source/dragonfly.rs
.put(2, Status::Found(nsfa()), fill(BASE_MS - 40_001, 2));.put(2, Status::Found(nsfa()), fill(BASE_MS - 70_001, 2));safety-label-source/dragonfly.rs
fill: fill(BASE_MS - 30_000, 1),fill: fill(BASE_MS - 60_000, 1),safety-label-source/dragonfly.rs
let filled_at_ms = BASE_MS - 30_000;let filled_at_ms = BASE_MS - 60_000;safety-label-source/dragonfly.rs
let filled_at_ms = BASE_MS - 30_000;let filled_at_ms = BASE_MS - 60_000;safety-label-source/dragonfly.rs

Modules touched

ModuleFiles addedModifiedRemovedLines +Lines −
home-mixer/4300+1,308−334
abuse-enforcement-service/190+1,041−175
safety-label-source/030+178−66
candidate-pipeline/050+59−14
simclusters/010+7−2
phoenix/020+2−4
visibility-filtering-client/010+0−6
visibility-filtering/010+1−1

Files (57)

Show file list
PathLinesNote
Mabuse-enforcement-service/service-lib/src/action_control.rs+35/−6
Mabuse-enforcement-service/service-lib/src/action_control_path_tests.rs+208/−1
Mabuse-enforcement-service/service-lib/src/backfill.rs+29/−4
Mabuse-enforcement-service/service-lib/src/config.rs+3/−0
Mabuse-enforcement-service/service-lib/src/dedup_cache.rs+170/−125
Mabuse-enforcement-service/service-lib/src/lib.rs+115/−34
Mabuse-enforcement-service/service-lib/src/metrics.rs+8/−0
Aabuse-enforcement-service/service-lib/src/post_labels.rs+304/−0
Mabuse-enforcement-service/service-lib/src/replay_tests.rs+12/−0
Mabuse-enforcement-service/types/src/action_control.rs+157/−5
Mcandidate-pipeline/hydrator.rs+4/−3
Mcandidate-pipeline/pipeline_summary.rs+45/−5
Mcandidate-pipeline/query_hydrator.rs+5/−2
Mcandidate-pipeline/scorer.rs+4/−3
Mcandidate-pipeline/source.rs+1/−1
Mhome-mixer/candidate_hydrators/topic_feedback_context_hydrator.rs+8/−152
Mhome-mixer/candidate_pipeline/for_you_candidate_pipeline.rs+9/−2
Mhome-mixer/candidate_pipeline/performance_params.json+2/−0
Mhome-mixer/candidate_pipeline/performance_tests.rs+1/−0
Mhome-mixer/candidate_pipeline/phoenix_candidate_pipeline.rs+6/−0
Mhome-mixer/filters/fair_share_ranking_filter.rs+2/−11
Mhome-mixer/filters/fav_holdout_filter.rs+3/−4
Mhome-mixer/filters/inventory_holdout_filter.rs+3/−5
Mhome-mixer/filters/new_user_min_engagement_filter.rs+1/−5
Mhome-mixer/filters/new_user_soft_nsfw_filter.rs+1/−4
Mhome-mixer/filters/oon_nsfw_simclusters_filter.rs+30/−5
Mhome-mixer/filters/video_carousel_filter.rs+76/−7
Mhome-mixer/filters/video_filter.rs+1/−3
Mhome-mixer/frames/catalog.rs+211/−18
Mhome-mixer/frames/mod.rs+4/−2
Mhome-mixer/frames/placement.rs+16/−5
Mhome-mixer/frames/plan.rs+27/−18
Ahome-mixer/frames/request.rs+102/−0
Mhome-mixer/frames/served.rs+25/−1
Mhome-mixer/models/query.rs+7/−0
Mhome-mixer/params/param.rs+56/−4
Mhome-mixer/query_hydrators/mod.rs+1/−0
Ahome-mixer/query_hydrators/recent_views_query_hydrator.rs+135/−0
Mhome-mixer/scorers/vm_ranker.rs+51/−1
Mhome-mixer/scorers/vm_ranker_debias_payload.rs+13/−2
Mhome-mixer/scorers/vm_ranker_request.rs+27/−7
Mhome-mixer/server.rs+1/−0
Ahome-mixer/sources/jetfuel_direct_frame_source.rs+142/−0
Mhome-mixer/sources/jetfuel_frame_source.rs+28/−78
Mhome-mixer/sources/mod.rs+1/−0
Mhome-mixer/util/mod.rs+1/−0
Mhome-mixer/util/phoenix_request.rs+40/−0
Ahome-mixer/util/post_annotations.rs+267/−0
Mhome-mixer/util/video_carousel.rs+10/−0
Mphoenix/crates/serving/xai-recsys-proto/proto/recsys.proto+1/−2
Mphoenix/python/common/xai-proto/proto/recsys.proto+1/−2
Msafety-label-source/dragonfly.rs+144/−65
Msafety-label-source/metrics.rs+31/−0
Msafety-label-source/remote.rs+3/−1
Msimclusters/simclusters_v2/summingbird/storm/TwhinTweetJob.scala+7/−2
Mvisibility-filtering-client/links.rs+0/−6
Mvisibility-filtering/verdict_gate.rs+1/−1