class_docstr: Abstract class whose subclasses implement strategies for model
  selection across hparams and timesteps.
class_docstr_tok: ["Abstract","class","whose","subclasses","implement","strategies","for","model","selection","across","hparams","and","timesteps","."]
docstr: Given records from a run, return a {val_acc, test_acc} dict representing
  the best val-acc and corresponding test-acc for that run.
docstr_tok: ["Given","records","from","a","run",",","return","a","{","val_acc",",","test_acc","}","dict","representing","the","best","val-acc","and","corresponding","test-acc","for","that","run","."]
code: def run_acc(self, run_records):
      """
      Given records from a run, return a {val_acc, test_acc} dict representing
      the best val-acc and corresponding test-acc for that run.
      """
      raise NotImplementedError
  
file_path: generalized-moe/domainbed/model_selection.py
imports: import itertools
  import numpy
label_desc: Use image node_id 2 for calling the SelectionMethod obj's underlying member method code with example usage: obj.run_acc(run_records) without return types