code: def b_config(space):
      """Return a configuration for a bracket."""
      fidelity_dim = space.values()[0]
      num_rungs = 3
      budgets = np.logspace(
          np.log(fidelity_dim.low) / np.log(fidelity_dim.base),
          np.log(fidelity_dim.high) / np.log(fidelity_dim.base),
          num_rungs,
          base=fidelity_dim.base,
      )
      return {
          "reduction_factor": fidelity_dim.base,
          "budgets": list(zip(list(map(int, budgets[::-1])), budgets)),
      }
  
imports: from __future__ import annotations
  import hashlib
  import logging
  from typing import ClassVar
  import numpy
  import pytest
  from test_hyperband import compare_registered_trial, create_rung_from_points, create_trial_for_hb, force_observe
  from orion.algo.asha import ASHA, ASHABracket, compute_budgets
  from orion.algo.hyperband import RungDict
  from orion.algo.space import Fidelity, Integer, Real, Space
  from orion.core.worker.primary_algo import SpaceTransform
  from orion.testing.algo import BaseAlgoTests, TestPhase
  from orion.testing.trial import create_trial
label_desc: Use image node_id 2 for calling a global function with example usage: b_config(space) and returns: dict