code: def _get_allocation_stats_string(
      func, args, kwargs, execution_time, allocation_counts
  ):
      allocation_counts_parsed = {
          worker_id: _parse_allocation_counts(worker_allocations)
          for worker_id, worker_allocations in allocation_counts.items()
      }
      return (
          f"function:  {func.__name__}\n"
          + f"function args: {args} kwargs: {kwargs}\n"
          + f"execution_time: {execution_time}\n"
          + "allocation_counts:\n"
          + f"{pformat(allocation_counts_parsed, indent=4, width=1, compact=True)}"
      )
  
imports: import os
  import tempfile
  from pprint import pformat
  import time
  from dask.distributed import wait, default_client
  from dask import persist
  from dask.distributed import Client
  from dask.base import is_dask_collection
  from dask_cuda import LocalCUDACluster
  from dask_cuda.initialize import initialize
  from cugraph.dask.comms import comms
  from cugraph.dask.common.mg_utils import get_visible_devices
  from cugraph.generators import rmat
  import numpy
label_desc: Use image node_id 13 for calling a global function with example usage: _get_allocation_stats_string(func, args, kwargs, execution_time, allocation_counts) and returns: unknown