code: def _run_opt_get_report(self, opt):
      script = TestTodWorldScript(opt)
      script.run()
  
      def get_episode_report(goal, episode_metric):
          metrics_dict = dict_report(episode_metric.report())
          metrics_dict["goal"] = goal
          return metrics_dict
  
      return (
          dict_report(script.world.report()),
          [get_episode_report(g, e) for g, e in script.episode_metrics],
      )
  
imports: import copy
  import unittest
  from parlai.core.metrics import dict_report
  from parlai.core.opt import Opt
  from parlai.core.tod.tod_core import SerializationHelpers
  import parlai.core.tod.tod_test_utils.test_agents
  from parlai.core.tod.world_metrics_handlers import METRICS_HANDLER_CLASSES_TEST_REGISTRY
  import parlai.scripts.tod_world_script
  import projects.tod_simulator.world_metrics.extended_world_metrics
label_desc: Use image node_id 6 for calling the TodMetricsInScriptTests obj's underlying member method code with example usage: obj._run_opt_get_report(opt) and returns: dict_report,  unknown, metrics_dict