class_docstr: Ranking metric.
class_docstr_tok: ["Ranking","metric","."]
docstr: Convert the measure name to an easier to read metric name.
docstr_tok: ["Convert","the","measure","name","to","an","easier","to","read","metric","name","."]
code: def measure_to_metric_name(self, measure_name: str) -> str:
      """Convert the measure name to an easier to read metric name."""
      MEASURE_TO_METRIC_NAME = {"ndcg_cut": "NDCG", "recip_rank": "RR"}
      parsed_measure_name, k = self.parse_measure_name(measure_name)
      metric_name_str = MEASURE_TO_METRIC_NAME.get(
          parsed_measure_name, parsed_measure_name.capitalize()
      )
      k_str = f"@{k}" if k else ""
      return f"{metric_name_str}{k_str}"
  
imports: from dataclasses import dataclass
  from typing import Callable, Dict, List, Tuple, Optional
  import pytrec_eval
  from helm.benchmark.adaptation.adapters.adapter_factory import ADAPT_RANKING_BINARY
  from helm.benchmark.adaptation.request_state import RequestState
  from helm.benchmark.adaptation.adapter_spec import AdapterSpec
  from helm.benchmark.scenarios.scenario import unpack_tag, CORRECT_TAG, Reference
  from helm.common.request import RequestResult
  from helm.common.general import binarize_dict
  from .metric import Metric
  from .metric_name import MetricName
  from .metric_service import MetricService
  from .statistic import Stat
label_desc: Use image node_id 4 for calling the RankingMetric obj's underlying member method code with example usage: obj.measure_to_metric_name(measure_name) and returns: metric_name_str, k_str