code: def test_sweep_acc(self):
      sweep_records = Q(
          [
              make_record(0, 0, [(0.7, 0.8, True)]),
              make_record(0, 1, [(0.9, 0.5, True)]),
          ]
      )
  
      self.assertEqual(
          self.MySelectionMethod.sweep_acc(sweep_records), 0.7
      )
  
imports: import argparse
  import itertools
  import json
  import os
  import subprocess
  import sys
  import time
  import unittest
  import uuid
  import torch
  from domainbed import model_selection
  from domainbed.lib.query import Q
  from parameterized import parameterized
label_desc: Use image node_id 1 for calling the TestSelectionMethod obj's underlying member method code with example usage: obj.test_sweep_acc() without return types