code: def generate_console_report(benchmark_result_list):
      """
      Return a string suitable for printing to the console containing the
      benchmark run results.
      """
      retstring = ""
  
      # Assume results are ordered based on the order they were run, which is
      # the graph_create run, then a run of each algo.
      r = benchmark_result_list[0]
      name = f"{r.name}({__namify_dict(r.params)})"
      space = " " * (70 - len(name))
      retstring += f"{name}{space}{r.runtime:.6}\n"
  
      remaining_results = benchmark_result_list[1:]
  
      for r in remaining_results:
          retstring += f"{'-'*80}\n"
          name = f"{r.name}({__namify_dict(r.params)})"
          space = " " * (70 - len(name))
          retstring += f"{name}{space}{r.runtime:.6}\n"
  
      return retstring
  
imports: from os import path
  import csv
  import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: generate_console_report(benchmark_result_list) and returns: retstring