code: def time_stretch_intensity(rate: float = 1.5, **kwargs) -> float:
      assert (
          isinstance(rate, (float, int)) and rate > 0
      ), "factor must be a positive number"
  
      if rate == 1.0:
          return 0.0
      max_rate_val = 10.0
      speed_change_rate = rate if rate >= 1 else 1 / rate
      return min((speed_change_rate / max_rate_val) * 100.0, 100.0)
  
imports: from typing import Any, Callable, Dict, Optional, Tuple
  import numpy
label_desc: Use image node_id 19 for calling a global function with example usage: time_stretch_intensity(rate) and returns: min, int