code: def unique_subdirectories(
      root_directory: str,
      filter_fn: Callable[[str], bool],
  ) -> List[str]:
      """
      Given two directories with common subdirectory names:
  
      /path/to/first/
          model_name/
      /path/to/second/
          model_name/
  
      Returns list of unique 'model_name'
      """
      subdirs = []
      for sub in os.listdir(root_directory):
          if not os.path.isdir(os.path.join(root_directory, sub)):
              continue
          if filter_fn(sub):
              continue
          subdirs.append(sub)
      return subdirs
  
imports: import csv
  from glob import glob
  import json
  import os
  import pathlib
  import numpy
  import pandas
  from parlai.core.params import ParlaiParser
  from projects.roscoe.meta_evaluation.correlations import Analyzer
  from projects.roscoe.score import EMB_MODEL_SCORES, EMBEDDING_MODEL_NAMES, GRAMMAR_MODEL_SCORES, LANGUAGE_MODEL_SCORES, NLI_MODEL_SCORES, REASONING_SCORES, SCORE_GROUPS, SUPERVISED_SCORES, UNSUPERVISED_SCORES
  from typing import Callable, List
label_desc: Use image node_id 6 for calling a global function with example usage: unique_subdirectories(root_directory, filter_fn) and returns: subdirs