code: def __init__(self, name):
      if name not in metric_fns:
          raise ValueError(
              f"Expected name to be one of {metric_fns.keys()}, but got {name}."
          )
      self._name = name
      self._metric_fn = metric_fns[name]
  
imports: import json
  import os
  from typing import Dict, List, Optional
  import numpy
  from sacrebleu.metrics import BLEU
  from helm.common.general import ensure_file_downloaded
  from helm.common.request import RequestResult, Sequence
  from helm.benchmark.adaptation.request_state import RequestState
  from helm.benchmark.adaptation.adapter_spec import AdapterSpec
  from .metric import Metric
  from .metric_name import MetricName
  from .metric_service import MetricService
  from .statistic import Stat
label_desc: Use image node_id 1 to create a new DisinformationMetric object from inherited base classes: Metric with example: obj = DisinformationMetric(name)