def METHOD_NAME(self, *, predictions=None, references=None, passage_non_null_threshold=2, span_non_null_threshold=2, verbose=False, **kwargs) -> Dict[str, Any]:
    if not predictions:
        raise ValueError("No predictions provided")
    elif not references:
        raise ValueError("No references provided")
    predictions = dict(map(self._convert_pred_to_entry, predictions))
    references = dict(map(self._convert_ref_to_entry, references))
    metrics = pretty_print(references, predictions, passage_non_null_threshold=passage_non_null_threshold, span_non_null_threshold=span_non_null_threshold, verbose=verbose)
    return metrics