code: def test_get_agenda_for_sentence_correctly_adds_object_filters(self):
      # In logical forms that contain "box_exists" at the top, there can never be object filtering
      # operations like "blue", "square" etc. In those cases, strings like "blue" and "square" in
      # sentences should map to "color_blue" and "shape_square" respectively.
      world = self.worlds[0]
      agenda = world.get_agenda_for_sentence(
          "there is a box with exactly two yellow triangles "
          "touching the top edge"
      )
      assert "<o,o> -> yellow" not in agenda
      assert "c -> color_yellow" in agenda
      assert "<o,o> -> triangle" not in agenda
      assert "s -> shape_triangle" in agenda
      assert "<o,o> -> touch_top" not in agenda
      agenda = world.get_agenda_for_sentence(
          "there are exactly two yellow triangles touching the"
          " top edge"
      )
      assert "<o,o> -> yellow" in agenda
      assert "c -> color_yellow" not in agenda
      assert "<o,o> -> triangle" in agenda
      assert "s -> shape_triangle" not in agenda
      assert "<o,o> -> touch_top" in agenda
  
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 20 for calling the TestNlvrWorld obj's underlying member method code with example usage: obj.test_get_agenda_for_sentence_correctly_adds_object_filters() without return types