code: def process_what_to_run_randoms(pairs_to_test, random_counterpart):
      """Process concepts and pairs to test.
  
      Args:
        pairs_to_test: a list of concepts to be tested and a target (e.g,
         [ ("target1",  ["concept1", "concept2", "concept3"]),...])
        random_counterpart: a random concept that will be compared to the concept.
  
      Returns:
        return pairs to test:
              target1, random_counterpart,
              target2, random_counterpart,
              ...
      """
      # prepare pairs for random vs random.
      pairs_for_sstesting_random = []
      targets = list(set([pair[0] for pair in pairs_to_test]))
      for target in targets:
          pairs_for_sstesting_random.append(
              [target, [random_counterpart]]
          )
      return pairs_for_sstesting_random
  
file_path: tcav/tcav/utils.py
imports: from scipy.stats import ttest_ind
  import numpy
  import tensorflow
  from tcav.tcav_results.results_pb2 import Result, Results
label_desc: Use image node_id 5 for calling a global function with example usage: process_what_to_run_randoms(pairs_to_test, random_counterpart) and returns: pairs_for_sstesting_random