Datasets › RoomEnv-v2
RoomEnv-v2 (The Room environment - v2)
The Room environment - v2
We have released a challenging Gymnasium compatible environment. See the paper for more information.
Prerequisites
- A unix or unix-like x86 machine
- python 3.10 or higher.
- Running in a virtual environment (e.g., conda, virtualenv, etc.) is highly recommended so that you don't mess up with the system python.
- This env is added to the PyPI server. Just run:
pip install room-env
Creating a RoomEnv-v2
import random
from room_env.create_room_v2 import RoomCreator
room_creator = RoomCreator(
filename="dev",
grid_length=7,
num_rooms=32,
num_static_objects=8,
num_independent_objects=8,
num_dependent_objects=8,
room_prob=0.5,
minimum_transition_stay_prob=0.6,
static_object_in_every_room=False,
give_fake_names=False,
)
room_creator.run()
./room-env-v2.ipynb has some good examples.
Running a RoomEnv-v2
import gymnasium as gym
import random
env = gym.make("room_env:RoomEnv-v2", room_size="l")
observations, info = env.reset()
rewards = 0
while True:
observations, reward, done, truncated, info = env.step(
(
["random answer"] * len(observations["questions"]),
random.choice(["north", "east", "south", "west", "stay"]),
)
)
rewards += reward
if done or truncated:
break
# You can also get the map of the rooms
room_layout = env.unwrapped.return_room_layout(exclude_walls=True)
Take a look at this repo for an actual interaction with this environment to learn a policy.
Contributing
Contributions are what make the open source community such an amazing place to be learn, inspire, and create. Any contributions you make are greatly appreciated.
- Fork the Project
- Create your Feature Branch (
git checkout -b feature/AmazingFeature) - Run
make test && make style && make qualityin the root repo directory, to ensure code quality. - Commit your Changes (
git commit -m 'Add some AmazingFeature') - Push to the Branch (
git push origin feature/AmazingFeature) - Open a Pull Request
Cite our paper
@misc{kim2024leveragingknowledgegraphbasedhumanlike,
title={Leveraging Knowledge Graph-Based Human-Like Memory Systems to Solve Partially Observable Markov Decision Processes},
author={Taewoon Kim and Vincent François-Lavet and Michael Cochez},
year={2024},
eprint={2408.05861},
archivePrefix={arXiv},
primaryClass={cs.AI},
url={https://arxiv.org/abs/2408.05861},
}
Authors
License
Benchmarks archive 2025-07-28
All 1 leaderboard whose dataset resolves to this page shown (sort by any header). "First row" is the archive's own first row at snapshot, in the archive's row order; nothing here re-ranks and metric direction is not asserted.
| First row (archive order) | Paper | Code | ||||
|---|---|---|---|---|---|---|
| RoomEnv-v2 | RoomEnv-v2 | HumemAI-capacity=48 final agent reward 235 | Leveraging Knowledge Graph-Based Human-Like Memory... | humemai/agent-room-env-v2-lstm | 2 | Compare |
Papers archive 2025-07-28
papers with a benchmark row: 1 · with a code link: 1 · where Syntology ran a sample: 0 (0 with a run with no instrument failure, 0 where every run was a failure of Syntology's instrument) Syntology
Show: all papers with a benchmark rowonly where code ran: none of the 1 papers with a benchmark row has a Syntology run on record
Page 1 of 1: paper 1 of 1 with a leaderboard row on this dataset's benchmarks, newest first by the archive's date (ties by slug; undated papers last).
The archive's own "papers using this dataset" list was never published, so this is the benchmark-backed subset, not that list; the archive's count for this dataset is 1. The Syntology column is from Syntology's graph, stated per sample; it is not part of any archive number. A line reads “N ran (of which C constructed an object rather than computing a result; K with no instrument failure: H honoured, V violated, P with no contract checked; I where Syntology's instrument failed) · U unverified” (C is a part of N, never taken away from it); the figure “where Syntology's instrument failed” counts failures of Syntology's instrument, not of the code. “Ran” means the sample executed on a synthesized fixture, not that the paper's result was reproduced. When the archive marks a repository official for the paper, the cell starts with that repository's state (the archive's flag, not a verdict on who wrote the code; “community repositories only” when every sample that ran came from a community repository, “official: no sample here; runs from other or unrecorded repositories” when some came from a repository the paper names or has in its text, or from none recorded); hover it for the repositories the samples that ran came from. Syntology's record for this page last changed ; when this build read Syntology's graph is in the build record.
| Paper | Code | Results | Date | Samples run Syntology |
|---|---|---|---|---|
| Leveraging Knowledge Graph-Based Human-Like Memory Systems to Solve Partially Observable Markov Decision Processes | 1 | 2 | 11 Aug 2024 | not harvested |
Dataset loaders archive 2025-07-28
No loader listed in the archive.
Tasks archive 2025-07-28
License archive 2025-07-28
Modalities archive 2025-07-28
Languages archive 2025-07-28
Variants archive 2025-07-28
- RoomEnv-v2
1 variant name, as the archive lists them.
Report a problem or propose a change · a person checks every report against the paper or source before anything changes; decisions are listed on /corrections