code: def get_ag_system_info_disk_space(path: str) -> Tuple[str, int]:
      disk_verbosity = 20
      try:
          # TODO: Make this logic smarter, incorporate training data size and potentially models to train into the logic to define the recommended disk space.
          #  For example, `best_quality` will require more disk space than `medium_quality`, and HPO would require additional disk space.
          disk_stats = ResourceManager.get_disk_usage(path=path)
          disk_free_gb = ResourceManager.bytes_converter(
              value=disk_stats.free, format_in="B", format_out="GB"
          )
          disk_total_gb = ResourceManager.bytes_converter(
              value=disk_stats.total, format_in="B", format_out="GB"
          )
          disk_proportion_avail = disk_free_gb / disk_total_gb
          disk_log_extra = ""
          disk_free_gb_warning_threshold = 10
          if disk_free_gb <= disk_free_gb_warning_threshold:
              disk_log_extra += (
                  f"\n\tWARNING: Available disk space is low and there is a risk that "
                  f"AutoGluon will run out of disk during fit, causing an exception. "
                  f"\n\tWe recommend a minimum available disk space of {disk_free_gb_warning_threshold} GB, "
                  f"and large datasets may require more."
              )
              disk_verbosity = 30
          msg = (
              f"Disk Space Avail:   {disk_free_gb:.2f} GB / {disk_total_gb:.2f} GB "
              f"({disk_proportion_avail * 100:.1f}%){disk_log_extra}"
          )
          return msg, disk_verbosity
      except Exception as e:
          # Note: using a broad exception catch as it is unknown what scenarios an exception would be raised, and what exception type would be used.
          #  The broad exception ensures that we don't completely break AutoGluon for users who may be running on strange hardware or environments.
          msg = (
              f"Disk Space Avail:   WARNING, an exception ({e.__class__.__name__}) occurred while attempting to get available disk space. "
              f"Consider opening a GitHub Issue."
          )
          return msg, disk_verbosity
  
imports: import platform
  import sys
  from typing import Tuple
  from ..None import __version__
  from .resource_utils import ResourceManager, get_resource_manager
label_desc: Use image node_id 1 for calling a global function with example usage: get_ag_system_info_disk_space(path) and returns: msg,  disk_verbosity, msg,  disk_verbosity