class_docstr: Captures train-test contamination information between models and groups.
class_docstr_tok: ["Captures","train-test","contamination","information","between","models","and","groups","."]
docstr: Return the point that matches `group` and `model`.
docstr_tok: ["Return","the","point","that","matches","`","group","`","and","`","model","`","."]
code: def get_point(
      self, model: str, group: str
  ) -> Optional[ContaminationPoint]:
      """Return the point that matches `group` and `model`."""
      found_points = [
          point
          for point in self.points
          if group in point.groups and model in point.models
      ]
      # Note: if more than one found, ideally we should take the strongest
      # one, but leaving for now.
      assert len(found_points) <= 1
      return found_points[0] if len(found_points) == 1 else None
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/presentation/contamination.py
imports: from dataclasses import dataclass
  from typing import List, Optional
  import dacite
  import importlib_resources
  import yaml
  from helm.common.hierarchical_logger import htrack, hlog
  from helm.proxy.models import MODEL_NAME_TO_MODEL
  from helm.benchmark.presentation.schema import Schema
label_desc: Use image node_id 1 for calling the Contamination obj's underlying member method code with example usage: obj.get_point(model, group) and returns: unknown