def METHOD_NAME(self, records: Iterable[ServiceRecord]) -> Dict[str, Any]:
    """
    ServiceBaseMetric calculation method.
    Parameters
    ----------
    records:
        The matched records
    Returns
    -------
        The metric result
    """
    raise NotImplementedError()