diff --git a/explainaboard/metrics/metric.py b/explainaboard/metrics/metric.py index 58710260..7a8e1ed5 100644 --- a/explainaboard/metrics/metric.py +++ b/explainaboard/metrics/metric.py @@ -577,7 +577,7 @@ def calc_confidence_interval( if my_std == 0.0: return (float(my_mean), float(my_mean)) return stats_t.interval( - alpha=1.0 - confidence_alpha, # See ExplainaBoard/issues/510 + confidence=1.0 - confidence_alpha, # See ExplainaBoard/issues/510 df=stats_data.shape[-2] - 1, loc=my_mean, scale=my_std,