code: def run():
      """Runs all notebooks and reports results."""
      os.makedirs(FLAGS.output_dir, exist_ok=True)
      if FLAGS.single_colab:
          filenames = [FLAGS.single_colab]
      else:
          filenames = get_test_suite()
  
      passed = []
      failed = []
      filenames.sort()
      for filename in filenames:
          logging.info("Testing %s ...", filename)
          result_path = os.path.join(
              FLAGS.output_dir, "executed_" + os.path.basename(filename)
          )
          if execute_test(filename, result_path):
              passed.append(filename)
          else:
              failed.append(filename)
  
      logging.info("\n\n################# Report #################")
      logging.info("%d passed, %d failed", len(passed), len(failed))
      for p_result in passed:
          logging.info("%s OK", p_result)
      for f_result in failed:
          logging.info("%s FAILED", f_result)
  
      if failed:
          sys.exit(1)
  
file_path: agents/tools/test_colabs.py
imports: from __future__ import print_function
  import os
  import sys
  from absl import app
  from absl import flags
  from absl import logging
  from nbconvert.preprocessors import CellExecutionError
  from nbconvert.preprocessors import ExecutePreprocessor
  import nbformat
label_desc: Use image node_id 3 for calling a global function with example usage: run() without return types