original_docstring: This function should ONLY be called from take_action and reset_sim.
docstring: This function should ONLY be called from take_action and reset_sim.
docstring_tokens: This function should ONLY be called from take_action and reset_sim .
code: def _get_state(simulator):
      """This function should ONLY be called from take_action and reset_sim."""
      # note that third return value is reward (which we don't use)
      tiddler = simulator.current_tiddler
      params = tuple(sorted(simulator.params.items()))
      return State(tiddler=tiddler, pre_read_params=params)
code_tokens: def _get_state ( simulator ) : tiddler = simulator . current_tiddler params = tuple ( sorted ( simulator . params . items ( ) ) ) return State ( tiddler = tiddler , pre_read_params = params )
short_docstring: This function should ONLY be called from take_action and reset_sim.
short_docstring_tokens: This function should ONLY be called from take_action and reset_sim .
comment: """This function should ONLY be called from take_action and reset_sim."""$SEP$# note that third return value is reward (which we don't use)