code: def make_ccid_filter(ccid_maps, n_urls):
      select = {}
      for name, ccmap_ls in ccid_maps.items():
          for eli_k, cc_ls in ccmap_ls:
              for i, (cid, _) in enumerate(cc_ls[:n_urls]):
                  # select[cid] = (name, eli_k[:2], eli_k[:4], eli_k, i)
                  select[cid] = (name, eli_k, i)
      return select
  
file_path: ParlAI/parlai/tasks/eli5/data_creation/data_utils.py
imports: import json
  import math
  import re
  import signal
  from contextlib import contextmanager
  from glob import glob
  from os.path import join
label_desc: Use image node_id 8 for calling a global function with example usage: make_ccid_filter(ccid_maps, n_urls) and returns: select