pub fn mean_best_iou( gt: &[Detection], n_gt: usize, pred: &[Detection], n_pred: usize, ) -> f32
Mean IoU of best-matching same-class pairs (diagnostic).