pub fn argmax(probs: &[f64]) -> usize
Argmax index with earliest-index tie-breaking (jev-1 profile decision D6).