pub fn apply_temporal_decay( ranked: &mut [(MessageId, f64)], timestamps: &HashMap<MessageId, i64>, half_life_days: u32, )