code: def __namify_dict(d):
      """
      Return a string repr for a dictionary suitable for using in a benchmark
      name.
      """
      strings = []
  
      for key, val in d.items():
          if type(val) in [float, np.float64, np.float32]:
              val = f"{val:.6}"
          strings.append(f"{key}:{val}")
  
      return ",".join(strings)
  
imports: from os import path
  import csv
  import numpy
label_desc: Use image node_id 1 for calling a global function with example usage: __namify_dict(d) and returns: str