code: def find_failing_tests(result_images, source):
      """
      Find all of the failing tests by looking for files with
      `-failed-diff` at the end of the basename.
      """
      return [
          Entry(path, result_images, source)
          for path in sorted(
              Path(result_images).glob("**/*-failed-diff.*")
          )
      ]
  
imports: import os
  from pathlib import Path
  import shutil
  import sys
  from matplotlib.backends.qt_compat import QtCore, QtGui, QtWidgets
  from matplotlib.backends.qt_compat import _exec
label_desc: Use image node_id 2 for calling a global function with example usage: find_failing_tests(result_images, source) and returns: unknown