code: def create_experiment_directory(experiment_id: str) -> Path:
      path = Path.home() / "nni-experiments" / experiment_id
      path.mkdir(parents=True, exist_ok=True)
      return path
  
imports: from pathlib import Path
  from random import Random
  import string
  import re
label_desc: Use image node_id 3 for calling a global function with example usage: create_experiment_directory(experiment_id) and returns: path