def METHOD_NAME(
    self,
    indexes,
    preds,
    target,
    ddp,
    empty_target_action,
    ignore_index,
    max_k,
    adaptive_k,
):
    """Test class implementation of metric."""
    metric_args = {
        "max_k": max_k,
        "adaptive_k": adaptive_k,
        "empty_target_action": empty_target_action,
        "ignore_index": ignore_index,
    }
    self.run_class_metric_test(
        ddp=ddp,
        indexes=indexes,
        preds=preds,
        target=target,
        metric_class=RetrievalPrecisionRecallCurve,
        reference_metric=_compute_precision_recall_curve,
        metric_args=metric_args,
    )