code: def get_checkpoint_dir(config):
      """Get the directory of the checkpoint."""
      model_path = config["solver"]["saver"]["model_path"]
      checkpoint_dir = os.path.join(model_path, "model")
      return checkpoint_dir
  
file_path: delta/delta/utils/solver/utils/solver_utils.py
imports: import os
  import re
  from pathlib import Path
  import numpy
  import delta.compat
  from absl import logging
  import shutil
  from delta import utils
  from delta.utils import metrics
label_desc: Use image node_id 1 for calling a global function with example usage: get_checkpoint_dir(config) and returns: checkpoint_dir