code: def update_task_metainfo(task_metric_meta, model_json):
      with open(model_json, "r") as json_file:
          results_dict = json.load(json_file)
      scores_dict = {
          f"{D['subtask_description']}---{D['number_of_shots']}_shot": D
          for D in results_dict["scores"]
      }
      for key in scores_dict.keys():
          if key not in task_metric_meta.keys():
              task_metric_meta[key] = scores_dict[key]
      return task_metric_meta
  
file_path: open-moe/eval/result_retrieval_bigbenchlite.py
imports: import json
  import subprocess
  import os
  import logging
  import sys
  import warnings
  import pandas
label_desc: Use image node_id 2 for calling a global function with example usage: update_task_metainfo(task_metric_meta, model_json) and returns: task_metric_meta