code: def generate_report(experiments):
      report = [
          ",".join(
              [
                  "dataset_name",
                  "average_time",
                  "metrics_average",
                  "metrics_standard_deviation",
              ]
          )
      ]
      for experiment in experiments:
          total_times, metric_values = experiment.run(repeat_times=10)
          mean_time = statistics.mean(total_times)
          mean = statistics.mean(metric_values)
          std = statistics.stdev(metric_values)
          report.append(
              ",".join(
                  [experiment.name, str(mean_time), str(mean), str(std)]
              )
          )
      return "\n".join(report)
  
imports: import statistics
  import sys
  from benchmark import experiments
label_desc: Use image node_id 1 for calling a global function with example usage: generate_report(experiments) and returns: str