code: def _tests_for_index():
      index_path = os.path.join(os.path.dirname(__file__), INDEX)
      index = open(index_path).read()
      return re.findall(r"\((.+?)\.md\)", index)
  
imports: import fnmatch
  import os
  import re
  import sys
  import tempfile
  import guild
  from guild import _test
  from guild import config
  from guild import pip_util
  from guild import util
label_desc: Use image node_id 2 for calling a global function with example usage: _tests_for_index() and returns: re