code: def aggregate_min(
      samples: Sequence[Number], precision: int = 2
  ) -> Union[float, int]:
      if isinstance(samples[-1], int):
          return min(samples)
      return round(min(samples), precision)
  
imports: import sys
  from typing import Union
label_desc: Use image node_id 4 for calling a global function with example usage: aggregate_min(samples, precision) and returns: round, min