code: def run(
      path: str,
      replicates: int,
      directory: str,
      move_to_cpu: bool,
      discard_replicates: bool,
      extra_config: Optional[pathlib.Path],
      keep_seed: bool,
  ):
      """Run a single reproduction experiment."""
      _help_reproduce(
          path=path,
          replicates=replicates,
          directory=directory,
          move_to_cpu=move_to_cpu,
          save_replicates=not discard_replicates,
          extra_config=extra_config,
          keep_seed=keep_seed,
      )
  
imports: import logging
  import os
  import pathlib
  import shutil
  import sys
  import time
  from typing import Iterable, Optional, Union
  from uuid import uuid4
  import click
  import tabulate
  from more_click import verbose_option
  from tqdm.auto import tqdm
  from pykeen.utils import CONFIGURATION_FILE_FORMATS, load_configuration, normalize_path
label_desc: Use image node_id 4 for calling a global function with example usage: run(path, replicates, directory, move_to_cpu, discard_replicates, extra_config, keep_seed) without return types