A RL environment for learning ethically-aligned behaviours
Project description
EthicalGardeners
EthicalGardeners is a PettingZoo multi-agent environment for simulating gardeners tending to a grid-world garden, including ethical considerations.
The goal is to make agents learn an ethically-aligned behaviour that includes and respects these considerations.
How to
Run
To launch the simulation with default settings, use the following command in a shell, with the current working directory being the project root:
python ethicalgardeners/main.py --config-name config
Run tests
Tests must be placed in the tests/ folder; files must follow the test_*.py
naming convention to be detected by unittest.
To run the tests, use the following command in a shell, with the current working directory being the project root:
python -m unittest tests/test_*.py
Build the docs
Documentation can be found in the docs/ folder, and is built using Sphinx.
A quick command to build the documentation in the HTML format is:
cd docs/
make html
Then, open the build/html/index.html file in your favorite browser to read
the rendered docs.
Documentation has its own requirements, which can be installed with
pip install -r docs/requirements.txt
See the documentation for more details.
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file ethical_gardeners-0.0.1.tar.gz.
File metadata
- Download URL: ethical_gardeners-0.0.1.tar.gz
- Upload date:
- Size: 40.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b909f9f169ff930d08f8ab96f9f2860de9b7c9c3ce5797774c95447fa924a9d6
|
|
| MD5 |
cf565601f0ef6b60d226ff594b8b48df
|
|
| BLAKE2b-256 |
c375741d11a35ff707e509e302cfbe8a10403cd183d9d6738a1a6d611a17dd34
|
Provenance
The following attestation bundles were made for ethical_gardeners-0.0.1.tar.gz:
Publisher:
pypi.yml on ethicsai/ethical-gardeners
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ethical_gardeners-0.0.1.tar.gz -
Subject digest:
b909f9f169ff930d08f8ab96f9f2860de9b7c9c3ce5797774c95447fa924a9d6 - Sigstore transparency entry: 483477525
- Sigstore integration time:
-
Permalink:
ethicsai/ethical-gardeners@ce854dfd0be30812a543ca2a0ae6cc0ab5de0ddd -
Branch / Tag:
refs/tags/v1.0 - Owner: https://github.com/ethicsai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ce854dfd0be30812a543ca2a0ae6cc0ab5de0ddd -
Trigger Event:
release
-
Statement type:
File details
Details for the file ethical_gardeners-0.0.1-py3-none-any.whl.
File metadata
- Download URL: ethical_gardeners-0.0.1-py3-none-any.whl
- Upload date:
- Size: 50.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b719abd63e56e87074c1e93de127262e4b2b1741b848e68962c184c6ebf92d98
|
|
| MD5 |
5e7b34f0d87368c9fed2fd52404094a6
|
|
| BLAKE2b-256 |
b1e0298663d97d99cee2de762fd533b3369b6818ca778d12ca8b400116131362
|
Provenance
The following attestation bundles were made for ethical_gardeners-0.0.1-py3-none-any.whl:
Publisher:
pypi.yml on ethicsai/ethical-gardeners
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
ethical_gardeners-0.0.1-py3-none-any.whl -
Subject digest:
b719abd63e56e87074c1e93de127262e4b2b1741b848e68962c184c6ebf92d98 - Sigstore transparency entry: 483477528
- Sigstore integration time:
-
Permalink:
ethicsai/ethical-gardeners@ce854dfd0be30812a543ca2a0ae6cc0ab5de0ddd -
Branch / Tag:
refs/tags/v1.0 - Owner: https://github.com/ethicsai
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
pypi.yml@ce854dfd0be30812a543ca2a0ae6cc0ab5de0ddd -
Trigger Event:
release
-
Statement type: