code: def test_get_action_sequence_removes_currying_for_all_nlvr_functions(
      self,
  ):
      world = self.worlds[0]
      # box_color_filter
      logical_form = "(member_color_all_equals all_boxes color_blue)"
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "b -> [<b,<c,b>>, b, c]" in action_sequence
  
      # box_shape_filter
      logical_form = "(member_shape_all_equals all_boxes shape_square)"
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "b -> [<b,<s,b>>, b, s]" in action_sequence
  
      # box_count_filter
      logical_form = "(member_count_equals all_boxes 3)"
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "b -> [<b,<e,b>>, b, e]" in action_sequence
  
      # assert_color
      logical_form = "(object_color_all_equals all_objects color_blue)"
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "t -> [<o,<c,t>>, o, c]" in action_sequence
  
      # assert_shape
      logical_form = (
          "(object_shape_all_equals all_objects shape_square)"
      )
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "t -> [<o,<s,t>>, o, s]" in action_sequence
  
      # assert_box_count
      logical_form = "(box_count_equals all_boxes 1)"
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "t -> [<b,<e,t>>, b, e]" in action_sequence
  
      # assert_object_count
      logical_form = "(object_count_equals all_objects 1)"
      parsed_logical_form = world.parse_logical_form(logical_form)
      action_sequence = world.get_action_sequence(parsed_logical_form)
      assert "t -> [<o,<e,t>>, o, e]" in action_sequence
  
imports: from __future__ import with_statement
  from __future__ import division
  from __future__ import absolute_import
  import json
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.semparse.worlds.world import ExecutionError
  from allennlp.semparse.worlds.nlvr_world import NlvrWorld
  from io import open
label_desc: Use image node_id 2 for calling the TestNlvrWorld obj's underlying member method code with example usage: obj.test_get_action_sequence_removes_currying_for_all_nlvr_functions() without return types