becca_test

A test suite for Becca


License
MIT
Install
pip install becca_test==0.8.3

Documentation

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