Skip to content

Commit

Permalink
fix: align environment ids with MiniGrid exactly
Browse files Browse the repository at this point in the history
  • Loading branch information
epignatelli committed Jul 4, 2024
1 parent 20e53e9 commit 4cf50cc
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion navix/_version.py
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,5 @@
# under the License.


__version__ = "0.6.12"
__version__ = "0.6.13"
__version_info__ = tuple(int(i) for i in __version__.split(".") if i.isdigit())
8 changes: 4 additions & 4 deletions navix/environments/crossings.py
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ def update(direction, start, grid, step_size):


register_env(
"Navix-Crossings-S9N1-v0",
"Navix-SimpleCrossingsS9N1-v0",
lambda *args, **kwargs: Crossings.create(
height=9,
width=9,
Expand All @@ -139,7 +139,7 @@ def update(direction, start, grid, step_size):
),
)
register_env(
"Navix-Crossings-S9N2-v0",
"Navix-SimpleCrossingsS9N2-v0",
lambda *args, **kwargs: Crossings.create(
height=9,
width=9,
Expand All @@ -152,7 +152,7 @@ def update(direction, start, grid, step_size):
),
)
register_env(
"Navix-Crossings-S9N3-v0",
"Navix-SimpleCrossingsS9N3-v0",
lambda *args, **kwargs: Crossings.create(
height=9,
width=9,
Expand All @@ -165,7 +165,7 @@ def update(direction, start, grid, step_size):
),
)
register_env(
"Navix-Crossings-S11N5-v0",
"Navix-SimpleCrossingsS11N5-v0",
lambda *args, **kwargs: Crossings.create(
height=11,
width=11,
Expand Down
6 changes: 3 additions & 3 deletions navix/environments/lava_gap.py
Original file line number Diff line number Diff line change
Expand Up @@ -94,7 +94,7 @@ def _reset(self, key: Array, cache: Union[RenderingCache, None] = None) -> Times


register_env(
"Navix-LavaGap-S5-v0",
"Navix-LavaGapS5-v0",
lambda *args, **kwargs: LavaGap.create(
*args,
**kwargs,
Expand All @@ -106,7 +106,7 @@ def _reset(self, key: Array, cache: Union[RenderingCache, None] = None) -> Times
),
)
register_env(
"Navix-LavaGap-S6-v0",
"Navix-LavaGapS6-v0",
lambda *args, **kwargs: LavaGap.create(
*args,
**kwargs,
Expand All @@ -118,7 +118,7 @@ def _reset(self, key: Array, cache: Union[RenderingCache, None] = None) -> Times
),
)
register_env(
"Navix-LavaGap-S7-v0",
"Navix-LavaGapS7-v0",
lambda *args, **kwargs: LavaGap.create(
*args,
**kwargs,
Expand Down

0 comments on commit 4cf50cc

Please sign in to comment.