docstr: Make sure empty schema has no impact on goal success.
  
  (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: ["Make","sure","empty","schema","has","no","impact","on","goal","success",".","(","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",")"]
code: def test_all_goals_hit_all_fail_emptySchema(self):
      """
      Make sure empty schema has no impact on goal success.
  
      (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_BROKEN_USER_SYSTEM_EMPTY_APISCHEMA,
          batchsize=1,
          num_episodes=1,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM_EMPTY_APISCHEMA,
          batchsize=1,
          num_episodes=32,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM_EMPTY_APISCHEMA,
          batchsize=32,
          num_episodes=32,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM_EMPTY_APISCHEMA,
          batchsize=32,
          num_episodes=33,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM_EMPTY_APISCHEMA,
          batchsize=32,
          num_episodes=-1,
          target_all_goals_hit=0,
          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 4 for calling the TodMetricsInScriptTests obj's underlying member method code with example usage: obj.test_all_goals_hit_all_fail_emptySchema() without return types