code: def insert_text_intensity(num_insertions: int, **kwargs) -> float:
      assert (
          isinstance(num_insertions, int) and num_insertions >= 0
      ), "Expected 'num_insertions' to be a nonnegative integer"
  
      max_insertions = 10
      return min((num_insertions / max_insertions) * 100.0, 100.0)
  
imports: from typing import Any, Dict, List, Optional, Union
label_desc: Use image node_id 6 for calling a global function with example usage: insert_text_intensity(num_insertions) and returns: min