Ranking scorer rewritten as a shared xai-value-model crate
home-mixer/scorers/ranking_scorer.rs(1,255 lines) is deleted. It's replaced by a 114-linehome-mixer/scorers/value_model.rsthat maps feature-switch params into aValueModelWeightsstruct and callsfuse_headsfrom a new top-level crate,xai-value-model/(scoring.rs,weights.rs,inputs.rs, …).- In this version, home-mixer's
weights_forhard-codesenable_author_diversity: false,oon_rescore_in_network_replies_retweets: falseandmultiplier_pre_offset: false. - 22 params leave
home-mixer/params/param.rs. Eleven of them (author diversity, the OON weight factors,MultiplierPreOffset,WeightPerturbation*, …) are still defined invm-ranker/params.rs. The other eleven aren't defined as params anywhere else, includingEnableVMRanker,CachedPostsReuseWeightedScore,EnableMultiplicativePostUnexploredand theVMRankerDpp*settings. VMRankerClusterIdchanges from"Experiment3"to"Experiment6".
Full analysis → Summary: hand-written notes, checked against the diff