Skip to content

Commit

Permalink
Add Reflexion prompts for FrozenLake + tweak ToT to allow for recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
saridormi committed Mar 18, 2024
1 parent e798a65 commit 8fe84ae
Show file tree
Hide file tree
Showing 10 changed files with 1,590 additions and 146 deletions.
2 changes: 1 addition & 1 deletion environments/frozen_lake/common/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def _convert_frozenlake_observation_to_position(
) -> Tuple[int, int]:
# FrozenLake: observation = current_row * nrow + current_col
current_row, current_col = observation // nrow, observation % nrow
return (current_row, current_col)
return current_col, current_row

@staticmethod
def _convert_direction_to_frozenlake(direction: str) -> int:
Expand Down
Loading

0 comments on commit 8fe84ae

Please sign in to comment.