code: def load_benchmark_result(path):
      filename = os.path.basename(path)
      label = os.path.splitext(filename)[0]  # Remove file extension
  
      with open(path) as f:
          report = json.load(f)
  
      result = {}
      for benchmark_test in report[BENCHMARKS]:
          group_name = benchmark_test[GROUP]
          test_name = benchmark_test[NAME]
  
          benchmark_name = BenchmarkName(
              group=group_name, name=test_name
          )
          result[benchmark_name] = benchmark_test[STATS]
  
      return BenchmarkResult(label=label, result=result)
  
imports: import argparse
  import collections
  import logging
  import json
  import os
  from operator import attrgetter
  import numpy
  from scipy.stats import t
label_desc: Use image node_id 1 for calling a global function with example usage: load_benchmark_result(path) and returns: BenchmarkResult