code: def fix_shape_intervals(
      intervals: list[tuple[float, float]]
  ) -> list[tuple[float, float]]:
      """Fix issue for intervals of dims with shape
      (https://github.com/Epistimio/orion/issues/800)
      """
      for i, interval in enumerate(intervals):
          intervals[i] = tuple(map(float, interval))
  
      return intervals
  
file_path: orion/src/orion/algo/mofa/transformer.py
imports: from __future__ import annotations
  import numpy
  import pandas
  from skopt.space import Space
  from orion.algo.space import Space
  from orion.core.utils.flatten import flatten
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 1 for calling a global function with example usage: fix_shape_intervals(intervals) and returns: intervals