code: def get_sample_records(n):
      """get sample records for testing"""
      tsk, target = get_sample_task()
  
      inps, ress = [], []
      for i in range(n):
          inps.append(
              MeasureInput(
                  target,
                  tsk,
                  tsk.config_space.get(i % len(tsk.config_space)),
              )
          )
          ress.append(MeasureResult((i + 1,), 0, i, time.time()))
      return list(zip(inps, ress))
  
file_path: tvm/python/tvm/testing/autotvm.py
imports: import time
  import numpy
  import tvm
  from tvm import te
  from tvm import autotvm
  from tvm.autotvm import MeasureInput, MeasureResult
  from tvm.autotvm.measure.measure import Runner
label_desc: Use image node_id 4 for calling a global function with example usage: get_sample_records(n) and returns: list