A suite of test worlds for BECCA.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
becca_test
.gitignore
MANIFEST.in
README.md
setup.cfg
setup.py

README.md

Becca is a general learning program for use in any robot or embodied system. When using Becca, a robot learns to do whatever it is rewarded to do, and continues learning throughout its lifetime. This package contains some test worlds and helps to run them. This helps ensure that Becca is working as intended.

Install the Becca test worlds.

From the command line:

pip install becca_test

becca installs automatically when you install becca_test.

Run Becca on a decathlon of test worlds.

python
>>>import becca_test.test
>>>becca_test.test.suite()

Test Becca from the command line.

To run the test world grid_1D.py from the command line:

python -m grid_1D
    or
python -m test --world 1

To test Becca on the suite of all test worlds.

python -m test
    or
python -m test --world all

To profile Becca on the image2D.py world.

python -m test --world image2D --profile
    or
python -m test -w 9 -p