continual-foragax 0.26.0__py3-none-any.whl → 0.27.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {continual_foragax-0.26.0.dist-info → continual_foragax-0.27.0.dist-info}/METADATA +1 -1
- {continual_foragax-0.26.0.dist-info → continual_foragax-0.27.0.dist-info}/RECORD +6 -6
- foragax/env.py +2 -0
- {continual_foragax-0.26.0.dist-info → continual_foragax-0.27.0.dist-info}/WHEEL +0 -0
- {continual_foragax-0.26.0.dist-info → continual_foragax-0.27.0.dist-info}/entry_points.txt +0 -0
- {continual_foragax-0.26.0.dist-info → continual_foragax-0.27.0.dist-info}/top_level.txt +0 -0
@@ -1,6 +1,6 @@
|
|
1
1
|
foragax/__init__.py,sha256=47DEQpj8HBSa-_TImW-5JCeuQeRkm5NMpJWZG3hSuFU,0
|
2
2
|
foragax/colors.py,sha256=rqNPiywP4Nvr0POhsGpasRk-nMMTS3DOwFRUgperlUk,2065
|
3
|
-
foragax/env.py,sha256=
|
3
|
+
foragax/env.py,sha256=2Z2-3wjL_gHCqehMFsZA761VlUWQvsTU6PawoTtzcCY,25103
|
4
4
|
foragax/objects.py,sha256=FCLZ-8d7qq9VMTG6G-TaRt842-sjgB0-DH0IoHwwngI,9503
|
5
5
|
foragax/registry.py,sha256=7-6VDN1MKVEvX_1u5G8NkSpv9BccEmtjJa77-OTNg3A,14324
|
6
6
|
foragax/rendering.py,sha256=bms7wvBZTofoR-K-2QD2Ggeed7Viw8uwAEiEpEM3eSo,2768
|
@@ -128,8 +128,8 @@ foragax/data/ECA_non-blended_custom/TG_SOUID156887.txt,sha256=juzTPgJoJxfqmZkorL
|
|
128
128
|
foragax/data/ECA_non-blended_custom/elements.txt,sha256=OtcUBoDAHxuln79BPKGu0tsQxG_5G2BfAX3Ck130kEA,4507
|
129
129
|
foragax/data/ECA_non-blended_custom/metadata.txt,sha256=nudnmOCy5cPJfSXt_IjyX0S5-T7NkCZREICZSimqeqc,48260
|
130
130
|
foragax/data/ECA_non-blended_custom/sources.txt,sha256=1j3lSmINAoCMqPqFrHfZJriOz6sTYZNOhXzUwvTLas0,20857
|
131
|
-
continual_foragax-0.
|
132
|
-
continual_foragax-0.
|
133
|
-
continual_foragax-0.
|
134
|
-
continual_foragax-0.
|
135
|
-
continual_foragax-0.
|
131
|
+
continual_foragax-0.27.0.dist-info/METADATA,sha256=Axd__jkh5OIh1T9CmzB9IarAguoWNvsECjllZ20mG3w,4897
|
132
|
+
continual_foragax-0.27.0.dist-info/WHEEL,sha256=_zCd3N1l69ArxyTb8rzEoP9TpbYXkqRFSNOD5OuxnTs,91
|
133
|
+
continual_foragax-0.27.0.dist-info/entry_points.txt,sha256=Qiu6iE_XudrDO_bVAMeA435h4PO9ourt8huvSHiuMPc,41
|
134
|
+
continual_foragax-0.27.0.dist-info/top_level.txt,sha256=-z3SDK6RfLIcLI24n8rdbeFzlVY3hunChzlu-v1Fncs,8
|
135
|
+
continual_foragax-0.27.0.dist-info/RECORD,,
|
foragax/env.py
CHANGED
@@ -273,6 +273,8 @@ class ForagaxEnv(environment.Environment):
|
|
273
273
|
info["temperature"] = get_temperature(
|
274
274
|
self.weather_object.rewards, state.time, self.weather_object.repeat
|
275
275
|
)
|
276
|
+
info["biome_id"] = state.biome_grid[pos[1], pos[0]]
|
277
|
+
info["object_collected_id"] = jax.lax.select(should_collect, obj_at_pos, -1)
|
276
278
|
|
277
279
|
# 4. UPDATE STATE
|
278
280
|
state = EnvState(
|
File without changes
|
File without changes
|
File without changes
|