code: def format(trial_list: List[Dict[str, Optional[float]]]) -> str:
      """Helper function for formatting a list."""
      trial_list_str = [str(i) for i in trial_list]
      return "\n".join(trial_list_str)
  
imports: import logging
  import random
  import time
  from dataclasses import dataclass
  from logging import Logger
  from typing import Dict, List, Optional
  from ax.core.base_trial import TrialStatus
  from ax.utils.common.logger import get_logger
label_desc: Use image node_id 1 for calling a global function with example usage: format(trial_list) and returns: str