code: def artifact_cache_dir(self):
      
      return (self.get_options().artifact_cache_dir or
              os.path.join(self.scratch_dir, 'artifacts'))
docs: Note that this is unrelated to the general pants artifact cache.