code: def archive(evaluations_path: str, archive_path: str):
      """
      Archives the metrics of all evaluations found in the provided directory
      into a single file.
  
      This is most probably only necessary for publishing the metrics in an
      easier format.
      """
      source = Path(evaluations_path)
      target = Path(archive_path)
      target.mkdir(parents=True, exist_ok=True)
  
      # First, tar all the metadata
      print("Compressing metrics...")
      compress_directory(
          source,
          target / "metrics.tar.gz",
          include={"config.json", "performance.json"},
      )
  
imports: from pathlib import Path
  import click
  from tsbench.constants import DEFAULT_EVALUATIONS_PATH
  from tsbench.utils import compress_directory
  from ._main import evaluations
label_desc: Use image node_id 1 for calling a global function with example usage: archive(evaluations_path, archive_path) without return types