code: def get_artifact_cache(tag, experiment_name=None):
      assert tag is not None
  
      if tag.startswith("experiments/"):
          experiment_name = re.sub(
              r"\Aexperiments/", "", re.sub(r"/[^/]*\Z", "", tag)
          )
          tag = re.sub(r"\.tar\.?[^\.]*\Z", "", re.sub(".*/", "", tag))
  
      if tag.startswith("blobstore/"):
          return get_blob_cache(tag)
  
      experiment_name = (
          experiment_name if experiment_name else get_experiment_key()
      )
      retval = os.path.join(
          get_studio_home(), "experiments", experiment_name, tag
      )
      return retval
  
file_path: studio/studio/artifacts/artifacts_tracker.py
imports: import os
  import uuid
  import json
  import re
  import shutil
  from studio.util import util
label_desc: Use image node_id 7 for calling a global function with example usage: get_artifact_cache(tag, experiment_name) and returns: retval, get_blob_cache