code: def _py_file_for_test(test_file):
      assert test_file[-3:] == ".md", test_file
      return (
          test_file.replace(os.path.sep, "_").replace("-", "_")[:-3]
          + ".py"
      )
  
file_path: guildai/tools.py
imports: import argparse
  import doctest
  import glob
  import os
  import subprocess
  import sys
  import tempfile
label_desc: Use image node_id 5 for calling a global function with example usage: _py_file_for_test(test_file) and returns: unknown