class_docstr: A `ScenarioState` represents the output of adaptation.  Contains a set of
  `RequestState` that were created and executed (a `ScenarioState` could be
  pre-execution or post-execution).
code: def get_request_states(
      self,
      train_trial_index: int,
      instance: Instance,
      reference_index: Optional[int],
  ) -> List[RequestState]:
      return self.request_state_map.get(
          (train_trial_index, instance, reference_index), []
      )
  
file_path: H2O/h2o_hf/helm/src/helm/benchmark/adaptation/scenario_state.py
imports: from collections import defaultdict, OrderedDict
  from dataclasses import dataclass
  from typing import List, Dict, Tuple, Optional
  from helm.benchmark.scenarios.scenario import Instance
  from .adapter_spec import AdapterSpec
  from .request_state import RequestState
label_desc: Use image node_id 2 for calling the ScenarioState obj's underlying member method code with example usage: obj.get_request_states(train_trial_index, instance, reference_index) and returns: self