Skip to main content

image

Open The Chests Project

Open the Chests is a game that mimics the problem of situation recognition in a concurrent event-based environment. The player is confronted with a number of boxes, each one associated with a button. Pressing a button sometimes leads to a box opening, sometimes leads to nothing. The player also observes events being displayed on a screen. The goal of the player is to deduce a set of interpretable event-based rules that allow them to determine with confidence at which moment the chests can be opened.

Quick Start

Open-the-Chests is available on Pypi. To install it and all its libraries simply run:

pip install openthechests

The environment is then ready to execute by simply running the demo.py file.

Running the Demo

To test the environment, download the docs and demo.py folders. The docs folder contains examples of usage of the environment that are representative of its functioning as well as an example configuration for the demonstration. The execution of the demo.py file generates an environment using a YAML configuration file and allows you to interact with the environment manually. To run the demonstration, use the following command:

python demo.py

This will initialize the environment and start the interactive session where you can input actions to interact with the boxes.

Folder Structure

The openthechests module contains several folders and files of interest:

openthechests/
│
├── docs/
│   └── examples/
│
├── openthechests/
│   └── src/
│       ├── elements/
│       ├── utils/
│       ├── OpenTheChests.py
│       └── OpenTheChestsGym.py
│
├── demo.py
├── README.md
└── requirements.txt

Descriptions of Key Files and Folders

  • docs/: Contains documentation related to the project.

    • examples/: Example configurations and usage of the environment.
      • __init__.py: Initializes the examples module.
  • openthechests/: The main code for the environment.

    • src/: Contains the main environment elements.
      • elements/: Contains classes that define the environment elements.
      • utils/: Contains useful functions used by other modules.
      • OpenTheChests.py: Defines the core environment logic.
      • OpenTheChestsGym.py: Provides the Gym interface for the environment.
  • demo.py: Demonstration script for the environment.

  • requirements.txt: Lists the dependencies required to run the project.

  • third_parties_licences.txt: Lists the licences to apply from the dependencies

Licence

Open-the-chests applies the 3-clauses BSD licence.

Citation

If you use this training environmenet please cite:

@inproceedings{stoy24otc,
    author = {Stoyanova, Ivelina and Museux, Nicolas and Nguyen, Sao-Maï and Filliat, David},
    title = {Open the {C}hests: An {E}nvironment for {A}ctivity {R}ecognition and {S}equential {D}ecision {P}roblems {U}sing {T}emporal {L}ogic},
    year = {2024},
    month = {October},
    booktitle = {31st International Symposium on Temporal Representation and Reasoning},
    address = {Montpellier, France},
    location =	{Dagstuhl, Germany},
    publisher =	{Schloss Dagstuhl -- Leibniz-Zentrum f{\"u}r Informatik},
    series =	{Leibniz International Proceedings in Informatics (LIPIcs)},
}

Metadata

Release files for openthechests 0.7.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for openthechests 0.7.4
File Size Uploaded
openthechests-0.7.4.tar.gz 178.9 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for openthechests 0.7.4
File Interpreter ABI Platform
openthechests-0.7.4-py3-none-any.whl Python 3 none any Details

Total release size: 212.2 kB

Release files / openthechests-0.7.4.tar.gz

Download URL openthechests-0.7.4.tar.gz
Size 178.9 kB
Tags Source
SHA-256 checksum
How to use checksums
6382ab153b2dc25c2b4efc622cd40d347de3de94148cda5c6b6e76426229a30e
BLAKE2b-256 checksum
How to use checksums
c06c2a8693f399b5cd867c85ad869990e85ea50b7513a1389ce3dab557153da4
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / openthechests-0.7.4-py3-none-any.whl

Download URL openthechests-0.7.4-py3-none-any.whl
Size 33.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ffdc5e5f001dbd064f89a08d3d14658a8967cd5cc4a12817bbd4233bb4e01781
BLAKE2b-256 checksum
How to use checksums
acc52d7a1b889a7aed27e023f2dd594ccbd33501a0f94c4e1670cd7811efa5a7
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.7.4 This release

2 release files

0.5.8

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page