code: def get_last_result_dir(base=""):
      bench_result_dir = default_result_dir(base=base)
      bench_result_dir = os.path.dirname(bench_result_dir)
      result_dirs = os.listdir(bench_result_dir)
      result_dirs.sort()
      return os.path.join(bench_result_dir, result_dirs[-1])
  
file_path: tick/tools/benchmark/benchmark_util.py
imports: import datetime
  import os
  from subprocess import PIPE, run
  from tick.array.serialize import serialize_array
  from tick.dataset import fetch_tick_dataset
  from tick.dataset.fetch_url_dataset import fetch_url_dataset
label_desc: Use image node_id 5 for calling a global function with example usage: get_last_result_dir(base) and returns: os