code: def find_all_best_thresh(
      main_eval, preds, exact_raw, f1_raw, na_probs, qid_to_has_ans
  ):
      best_exact, exact_thresh = find_best_thresh(
          preds, exact_raw, na_probs, qid_to_has_ans
      )
      best_f1, f1_thresh = find_best_thresh(
          preds, f1_raw, na_probs, qid_to_has_ans
      )
      main_eval["best_exact"] = best_exact
      main_eval["best_exact_thresh"] = exact_thresh
      main_eval["best_f1"] = best_f1
      main_eval["best_f1_thresh"] = f1_thresh
  
imports: import argparse
  import collections
  import json
  import numpy
  import os
  import re
  import string
  import sys
label_desc: Use image node_id 18 for calling a global function with example usage: find_all_best_thresh(main_eval, preds, exact_raw, f1_raw, na_probs, qid_to_has_ans) without return types