docstr: Reformat this task's raw predictions to have the structure expected by SuperGLUE.
docstr_tok: ["Reformat","this","task","'s","raw","predictions","to","have","the","structure","expected","by","SuperGLUE","."]
code: def super_glue_format_preds(cls, pred_dict):
      """Reformat this task's raw predictions to have the structure expected by SuperGLUE."""
      lines = []
      for pred, guid in zip(
          list(pred_dict["preds"]), list(pred_dict["guids"])
      ):
          lines.append(
              {
                  "idx": int(guid.split("-")[1]),
                  "label": cls.CHOICE_KEYS[pred],
              }
          )
      return lines
  
imports: from dataclasses import dataclass
  from jiant.tasks.lib.templates.shared import labels_to_bimap
  from jiant.tasks.lib.templates import multiple_choice
  from jiant.utils.python.io import read_json_lines
  from jiant.tasks.core import SuperGlueMixin
label_desc: Use image node_id 5 for calling the CopaTask obj's underlying member method code with example usage: obj.super_glue_format_preds(cls, pred_dict) and returns: lines