code: def get_qids(args, q_id_path, data_dev):
      """
      Function to create a list of question_ids in dev set
  
      Args:
      -----------
      q_id_path: path to question_ids file
      data_dev: development set
  
      Returns:
      --------
      list of question ids
      """
      qids_list = []
      with open(q_id_path) as q_ids:
          for ele in q_ids:
              qids_list.append(ele.strip().replace(" ", ""))
  
      final_qidlist = []
      count = 0
      for ele in data_dev:
          para_idx = ele[0]
          if len(para_idx) < args.max_para:
              final_qidlist.append(qids_list[count])
          count += 1
  
      return final_qidlist
  
imports: import numpy
label_desc: Use image node_id 2 for calling a global function with example usage: get_qids(args, q_id_path, data_dev) and returns: final_qidlist