class_docstr: Unique key representing a `ContaminationStats` instance.
class_docstr_tok: ["Unique","key","representing","a","`","ContaminationStats","`","instance","."]
code: def __hash__(self):
      return hash(
          tuple(
              (k, self.metadata[k])
              for k in sorted(self.metadata.keys())
          )
      )
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/contamination/contamination_stats.py
imports: from bitarray import bitarray
  from typing import Optional, Dict, Any, Hashable
  from dataclasses import dataclass
  from helm.benchmark.contamination.light_scenario import LightScenario, LightScenarioKey
  from helm.common.general import asdict_without_nones
label_desc: Use image node_id 1 for calling the ContaminationStatsKey obj's underlying member method code with example usage: obj.__hash__() and returns: hash