A toolbox for worst-case validation of autonomous policies
Project description
Adaptive Stress Testing Toolbox
v2020.09.01.dev1.
Overview
A toolbox for worst-case validation of autonomous policies.
Adaptive Stress Testing is a worst-case validation method for autonomous policies. This toolbox is being actively developed by the Stanford Intelligent Systems Lab.
See https://ast-toolbox.readthedocs.io/en/latest/ for documentation.
Maintained by the Stanford Autonomous Systems Lab
Free software: MIT license
Installation
Pip Installation Method
You can install the latest stable release from pypi:
pip install ast-toolbox
You can also install the latest version with:
pip install git+ssh://git@https://github.com/sisl/AdaptiveStressTestingToolbox.git@master
Using the Go-Explore work requires having a Berkely DB installation findable on your system. If you are on Linux:
sudo apt-get update sudo apt install libdb-dev python3-bsddb3
If you are on OSX:
brew install berkeley-db export BERKELEYDB_DIR=$(brew --cellar)/berkeley-db/5.3 export YES_I_HAVE_THE_RIGHT_TO_USE_THIS_BERKELEY_DB_VERSION=1
Once you have the Berkeley DB system dependency met, you can install the toolbox:
pip install ast-toolbox[ge]
Git Installation Method
If you are interested in development, you should clone the repo. You can use https:
git clone https://github.com/sisl/AdaptiveStressTestingToolbox.git
You can also use ssh:
git clone git@github.com:sisl/AdaptiveStressTestingToolbox.git
If you are on Linux, use the following commands to setup the Toolbox:
cd AdaptiveStressTestingToolbox git submodule update --init --recursive sudo chmod a+x scripts/install_all.sh sudo scripts/install_all.sh source scripts/setup.sh
Documentation
You can find our documentation on readthedocs.
Development
Please see our Contributions Guide.
Windows |
set PYTEST_ADDOPTS=--cov-append tox |
---|---|
Other |
PYTEST_ADDOPTS=--cov-append tox |
Changelog
2020.06.01.dev1 (2020-05-17)
First release on PyPI.
2020.09.01.dev1 (2020-09-01)
Update documentation
Start adding docstrings
Fix for Backward Algorithm
Separate the toy AV simulator from the AST wrapper
Change AST environments to save the cloned sim state from pre-action, not post-action
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for ast-toolbox-2020.9.1.dev1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3fbbc019ea0892d2c3e3edd0477ebd057078d5cf3f3a8661d621e85308187510 |
|
MD5 | b73324e589f450f270ca725b8602c525 |
|
BLAKE2b-256 | 30338e3627f51bedf2299204995a711ef7330b9723f8e2a372f7a3cbd1d70a12 |
Hashes for ast_toolbox-2020.9.1.dev1-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8780d1dfc3865a663612d6e0f83feaa6558c7403747ca403ae72260daa63a21 |
|
MD5 | 4e99dcd254d59f7a7047be4a0bc7a0d0 |
|
BLAKE2b-256 | 23018db6af7df860e043b87a0cf47250ee5883679cb834e49d89c118fc72834d |