code: def reduce_file_select_results(results):
      """Reduces a list of file select results to a single determining result.
  
      The last non-None result from results is used to determine the reduced
      result, otherwise returns None, None, indicating that the results are
      indeterminate.
  
      Returns a tuple of result and determining-test.
      """
      for (result, test), _rule in reversed(results):
          if result is not None:
              return result, test
      return None, None
  
imports: import fnmatch
  import glob
  import logging
  import os
  import re
  import shutil
  from guild import util
label_desc: Use image node_id 1 for calling a global function with example usage: reduce_file_select_results(results) and returns: None,  None, result,  test