pub fn rerank(
candidates: &[CandidateFeatures],
weights: &ScoringWeights,
k: usize,
) -> Vec<(u32, f32)>Expand description
Re-rank a list of candidates using Bayesian scoring.
Takes pre-computed features for each candidate, scores them, and returns the top-k sorted by composite score (ascending = best).