A test suite for Becca
Project description
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
<a href="url"><img src="https://github.com/brohrer/becca-docs/raw/master/figs/logo_plate.png"
align="center" height="40" width="120" ></a>
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
<a href="url"><img src="https://github.com/brohrer/becca-docs/raw/master/figs/logo_plate.png"
align="center" height="40" width="120" ></a>
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
becca_test-0.9.0.tar.gz
(19.3 kB
view hashes)