code: def do_dry_run(
      dryrun_suite: str,
      conf_path: str,
      max_eval_instances: int,
      priority: int,
      models: Optional[List[str]],
  ) -> str:
      """Performs dry run. Blocks until the run finishes."""
      output_path: str = OUTPUT_PATH_TEMPLATE.format(suite=dryrun_suite)
      shutil.rmtree(output_path, ignore_errors=True)
      hlog(f"Deleted old results at path: {output_path}.")
  
      command: List[str] = [
          "helm-run",
          f"--suite={dryrun_suite}",
          f"--conf-path={conf_path}",
          f"--max-eval-instances={max_eval_instances}",
          "--local",
          "--dry-run",
          f"--priority={priority}",
      ]
      if models:
          command.append("--models-to-run")
          command.extend(models)
  
      hlog(" ".join(command))
      subprocess.call(command)
      hlog(f"Results are written out to path: {output_path}.")
      return output_path
  
file_path: H2O/h2o_hf/helm/scripts/verify_reproducibility.py
imports: import argparse
  import os
  import shutil
  import subprocess
  from typing import List, Optional
  from helm.common.hierarchical_logger import hlog, htrack, htrack_block
label_desc: Use image node_id 1 for calling a global function with example usage: do_dry_run(dryrun_suite, conf_path, max_eval_instances, priority, models) and returns: output_path