docstr: Check to make sure empty API schema doesn't have any impact on goal (Necessary
  cause original, more exhaustive implementation of goal success would separate
  between required + optional opts using the schema; make sure it doesn't impact
  anything broader)
docstr_tok: ["Check","to","make","sure","empty","API","schema","does","n't","have","any","impact","on","goal","(","Necessary","cause","original",",","more","exhaustive","implementation","of","goal","success","would","separate","between","required","+","optional","opts","using","the","schema",";","make","sure","it","does","n't","impact","anything","broader",")"]
code: def test_all_goals_hit_all_success_emptySchema(self):
      """
      Check to make sure empty API schema doesn't have any impact on goal (Necessary
      cause original, more exhaustive implementation of goal success would separate
      between required + optional opts using the schema; make sure it doesn't impact
      anything broader)
      """
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_EMPTY_APISCHEMA,
          batchsize=1,
          num_episodes=1,
          target_all_goals_hit=1,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_EMPTY_APISCHEMA,
          batchsize=1,
          num_episodes=32,
          target_all_goals_hit=1,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_EMPTY_APISCHEMA,
          batchsize=32,
          num_episodes=32,
          target_all_goals_hit=1,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_EMPTY_APISCHEMA,
          batchsize=32,
          num_episodes=33,
          target_all_goals_hit=1,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_EMPTY_APISCHEMA,
          batchsize=32,
          num_episodes=-1,
          target_all_goals_hit=1,
          target_metrics_length=NUM_EPISODES,
      )
  
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 3 for calling the TodMetricsInScriptTests obj's underlying member method code with example usage: obj.test_all_goals_hit_all_success_emptySchema() without return types