code: def locality_string(locality_hits: int, locality_misses) -> str:
      """Return a human-readable string for object locality stats."""
      if not locality_misses:
          return "[all objects local]"
      return f"[{locality_hits}/{locality_hits + locality_misses} objects local]"
  
file_path: ray/python/ray/data/_internal/execution/util.py
imports: from concurrent.futures import ThreadPoolExecutor
  from typing import TYPE_CHECKING, Any, List
  import ray
  from ray.data.block import BlockAccessor, CallableClass
label_desc: Use image node_id 3 for calling a global function with example usage: locality_string(locality_hits, locality_misses) and returns: str, locality_hits, str, unknown, str, str