code: def __init__(self, benchmark_results_file_name):
      with open(benchmark_results_file_name) as results_file:
          results_data = json.load(results_file)
  
      self.results_file_name = benchmark_results_file_name
      self.date = datetime.fromtimestamp(
          results_data["date"] // 1000
      )  # Date is in ms
      self.machine_config = results_data["params"]
      self.results_dict = {
          benchmark_name: {
              "benchmark_type": get_benchmark_type(benchmark_name),
              "scheduler_type": get_scheduler_type(benchmark_name),
              "results": [
                  Result(
                      duration_in_seconds,
                      stats_for_measurement,
                      param,
                      benchmark_name,
                      get_benchmark_type(benchmark_name),
                  )
                  for duration_in_seconds, stats_for_measurement, param in zip(
                      result_data["result"],
                      result_data["stats"],
                      (
                          product(
                              result_data["params"][0],
                              result_data["params"][1],
                              result_data["params"][2],
                          )
                          if len(result_data["params"]) > 2
                          else product(
                              result_data["params"][0],
                              result_data["params"][1],
                          )
                      ),
                  )
              ],
          }
          for benchmark_name, result_data in results_data[
              "results"
          ].items()
      }
  
imports: import json
  import os
  import pickle
  import re
  from datetime import datetime
  from enum import Enum
  from itertools import product
  from utils import seconds_to_ms
  from benchmarks.constants import DEFAULT_NUMBER_OF_ENGINES
label_desc: Use image node_id 1 to create a new BenchmarkResult object  with example: obj = BenchmarkResult(benchmark_results_file_name)