code: def run(expdir):
      start_time = time.time()
      expdir_monitor = ExpdirMonitor(expdir)
      valid_performance = expdir_monitor.run(pure=True, restore=False)
      end_time = time.time()
      print("running time: %s" % (end_time - start_time))
      print("valid performance: %s" % valid_performance)
      print_result(valid_performance)
  
imports: import os
  from expdir_monitor.expdir_monitor import ExpdirMonitor
  import time
  import sys
  from aup import BasicConfig, print_result
label_desc: Use image node_id 1 for calling a global function with example usage: run(expdir) without return types