code: def tabulate_status(brackets: list[HyperbandBracket]) -> None:
      header = ["i"] + ["n_i", "r_i"] * len(brackets)
  
      data = []
  
      num_rungs = max(len(bracket.rungs) for bracket in brackets)
      for rung_id in range(num_rungs):
          row: list[Any] = [rung_id]
          for bracket in brackets:
              if len(bracket.rungs) <= rung_id:
                  row.extend(["", ""])
                  continue
              in_i = len(bracket.rungs[rung_id]["results"])
              n_i = bracket.rungs[rung_id]["n_trials"]
              r_i = bracket.rungs[rung_id]["resources"]
              row.append(f"{in_i:>3}/{n_i:>3}")
              row.append(r_i)
          data.append(row)
      table = tabulate(data, header, tablefmt="github")
      logger.info(table)
  
imports: from __future__ import annotations
  import copy
  import logging
  from collections import OrderedDict
  from typing import Any, Generic, NamedTuple, Sequence, TypeVar
  import numpy
  from tabulate import tabulate
  from orion.algo.base import BaseAlgorithm
  from orion.algo.space import Fidelity, Space
  from orion.core.utils.flatten import flatten
  from orion.core.worker.trial import Trial
label_desc: Use image node_id 2 for calling a global function with example usage: tabulate_status(brackets) without return types