Skip to main content

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


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

ethical_gardeners-0.0.1.tar.gz (40.6 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ethical_gardeners-0.0.1-py3-none-any.whl (50.3 kB view details)

Uploaded Python 3

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

Hashes for ethical_gardeners-0.0.1.tar.gz
Algorithm Hash digest
SHA256 b909f9f169ff930d08f8ab96f9f2860de9b7c9c3ce5797774c95447fa924a9d6
MD5 cf565601f0ef6b60d226ff594b8b48df
BLAKE2b-256 c375741d11a35ff707e509e302cfbe8a10403cd183d9d6738a1a6d611a17dd34

See more details on using hashes here.

Provenance

The following attestation bundles were made for ethical_gardeners-0.0.1.tar.gz:

Publisher: pypi.yml on ethicsai/ethical-gardeners

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file ethical_gardeners-0.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for ethical_gardeners-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b719abd63e56e87074c1e93de127262e4b2b1741b848e68962c184c6ebf92d98
MD5 5e7b34f0d87368c9fed2fd52404094a6
BLAKE2b-256 b1e0298663d97d99cee2de762fd533b3369b6818ca778d12ca8b400116131362

See more details on using hashes here.

Provenance

The following attestation bundles were made for ethical_gardeners-0.0.1-py3-none-any.whl:

Publisher: pypi.yml on ethicsai/ethical-gardeners

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page