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.
From the command line:
pip install becca_test
becca
installs automatically when you install becca_test
.
python
>>>import becca_test.test
>>>becca_test.test.suite()
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