docstr: For a setup where all the goals should *not* be successfully hit, do they fail?
docstr_tok: ["For","a","setup","where","all","the","goals","should","*","not","*","be","successfully","hit",",","do","they","fail","?"]
code: def test_all_goals_hit_all_fail(self):
      """
      For a setup where all the goals should *not* be successfully hit, do they fail?
      """
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM,
          batchsize=1,
          num_episodes=1,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM,
          batchsize=1,
          num_episodes=32,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM,
          batchsize=32,
          num_episodes=32,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM,
          batchsize=32,
          num_episodes=33,
          target_all_goals_hit=0,
      )
      self._check_all_goals_hit_by_opt_and_batchsize(
          TEST_SETUP_BROKEN_USER_SYSTEM,
          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 2 for calling the TodMetricsInScriptTests obj's underlying member method code with example usage: obj.test_all_goals_hit_all_fail() without return types