be more defensive with brier score to avoid NaNs