Skip to main content

Adaptive Stress Testing Toolbox

v2020.09.01.7.

Build Status Documentation Status Code Coverage License

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 Intelligent Systems Lab (SISL)

  • 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+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.

Acknowledgements

Built using the cookiecutter-pylibrary by Ionel Cristian Mărieș

Changelog

2020.06.01.dev1 (2020-05-17)

  • First release on PyPI.

2020.09.01.dev1 (2020-09-01)

  • Update documentation.

  • Added docstrings and full apidocs.

  • 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.

  • Add travis deployment to PyPI.

  • Removal of unsupported files.

  • Expanded codecov to 90+%.

Metadata

Release files for ast-toolbox 2020.9.1.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for ast-toolbox 2020.9.1.7
File Size Uploaded Provenance Actions
ast-toolbox-2020.9.1.7.tar.gz 759.8 kB Without provenance Details for ast-toolbox-2020.9.1.7.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for ast-toolbox 2020.9.1.7
File Interpreter ABI Platform Actions
ast_toolbox-2020.9.1.7-py2.py3-none-any.whl Python 2, Python 3 none any Details for ast_toolbox-2020.9.1.7-py2.py3-none-any.whl

Total release size: 844.9 kB

Release files / ast-toolbox-2020.9.1.7.tar.gz

Download URL ast-toolbox-2020.9.1.7.tar.gz
Size 759.8 kB
Tags Source
SHA-256 checksum
How to use checksums
b551ff12759abc1fda82ff39e64a421c6e743a305e742ad369742865cbb8e195
BLAKE2b-256 checksum
How to use checksums
6feb6267194ee88466d6e6a371aa0df26b402d40769bc249a2e5ed971f844ff0
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.7

Release files / ast_toolbox-2020.9.1.7-py2.py3-none-any.whl

Download URL ast_toolbox-2020.9.1.7-py2.py3-none-any.whl
Size 85.2 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
7c390cbde615bd1d6dacfc4bfaa4cdac940e0b033e4053f1ec701115e521e931
BLAKE2b-256 checksum
How to use checksums
b72879905c6e37db632fe97dc1bba25100b94cba2a510110ca7a800f9a86a3a9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.4.1 importlib_metadata/4.4.0 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.0 CPython/3.6.7

Security for ast-toolbox 2020.9.1.7

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page