code: def test_get_agenda(self):
      tokens = [
          Token(x)
          for x in ["what", "was", "the", "last", "year", "2000", "?"]
      ]
      world = self._get_world_with_question_tokens(tokens)
      assert set(world.get_agenda()) == set(
          [
              "n -> 2000",
              "<c,r> -> fb:row.row.year",
              "<n,<n,<#1,<<#2,#1>,#1>>>> -> argmax",
          ]
      )
      tokens = [
          Token(x)
          for x in [
              "what",
              "was",
              "the",
              "difference",
              "in",
              "attendance",
              "between",
              "years",
              "2001",
              "and",
              "2005",
              "?",
          ]
      ]
      world = self._get_world_with_question_tokens(tokens)
      # The agenda contains cells here instead of numbers because 2001 and 2005 actually link to
      # entities in the table whereas 2000 (in the previous case) does not.
      assert set(world.get_agenda()) == set(
          [
              "c -> fb:cell.2001",
              "c -> fb:cell.2005",
              "<c,r> -> fb:row.row.year",
              "<n,<n,n>> -> -",
          ]
      )
      tokens = [
          Token(x)
          for x in [
              "what",
              "was",
              "the",
              "total",
              "avg.",
              "attendance",
              "in",
              "years",
              "2001",
              "and",
              "2005",
              "?",
          ]
      ]
      world = self._get_world_with_question_tokens(tokens)
      # The agenda contains cells here instead of numbers because 2001 and 2005 actually link to
      # entities in the table whereas 2000 (in the previous case) does not.
      assert set(world.get_agenda()) == set(
          [
              "c -> fb:cell.2001",
              "c -> fb:cell.2005",
              "<c,r> -> fb:row.row.year",
              "<c,r> -> fb:row.row.avg_attendance",
              "<n,n> -> sum",
          ]
      )
      tokens = [
          Token(x)
          for x in [
              "when",
              "was",
              "the",
              "least",
              "avg.",
              "attendance",
              "?",
          ]
      ]
      world = self._get_world_with_question_tokens(tokens)
      assert set(world.get_agenda()) == set(
          [
              "<c,r> -> fb:row.row.avg_attendance",
              "<n,<n,<#1,<<#2,#1>,#1>>>> -> argmin",
          ]
      )
      tokens = [
          Token(x)
          for x in [
              "what",
              "is",
              "the",
              "least",
              "avg.",
              "attendance",
              "?",
          ]
      ]
      world = self._get_world_with_question_tokens(tokens)
      assert set(world.get_agenda()) == set(
          ["<c,r> -> fb:row.row.avg_attendance", "<nd,nd> -> min"]
      )
  
imports: from __future__ import with_statement
  from __future__ import division
  from __future__ import absolute_import
  from __future__ import print_function
  import pytest
  from allennlp.common.testing import AllenNlpTestCase
  from allennlp.data.tokenizers import Token
  from allennlp.semparse import ParsingError
  from allennlp.semparse.contexts import TableQuestionKnowledgeGraph
  from allennlp.semparse.worlds import WikiTablesWorld
label_desc: Use image node_id 16 for calling the TestWikiTablesWorld obj's underlying member method code with example usage: obj.test_get_agenda() without return types