code: def main(args):
      r = args.pop("TRIAL_BUDGET")
      dataset = [
          t
          for t in query_nb201_trial_stats(
              args, 200, "cifar100", include_intermediates=True
          )
      ]
      test_acc = (
          random.choice(dataset)["intermediates"][r - 1]["ori_test_acc"]
          / 100
      )
      time.sleep(random.randint(0, 10))
      nni.report_final_result(test_acc)
      logger.debug("Final result is %g", test_acc)
      logger.debug("Send final result done.")
  
file_path: nni/examples/trials/benchmarking/hyperband/main.py
imports: import argparse
  import logging
  import random
  import time
  import nni
  from nni.utils import merge_parameter
  from nni.nas.benchmarks.nasbench201 import query_nb201_trial_stats
label_desc: Use image node_id 1 for calling a global function with example usage: main(args) without return types