Skip to main content

A toolbox for worst-case validation of autonomous policies

Project description

===============================
Adaptive Stress Testing Toolbox
===============================
v2020.09.01.3.

|build-status| |docs| |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) <http://sisl.stanford.edu/>`_


* 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 <https://ast-toolbox.readthedocs.io/en/latest/>`_ on readthedocs.


Development
===========

Please see our `Contributions Guide <https://ast-toolbox.readthedocs.io/en/latest/contributing.html>`_.

Acknowledgements
================

Built using the `cookiecutter-pylibrary <https://github.com/ionelmc/cookiecutter-pylibrary>`_ by Ionel Cristian Mărieș


.. |build-status| image:: https://api.travis-ci.org/sisl/AdaptiveStressTestingToolbox.svg
:alt: Build Status
:scale: 100%
:target: https://travis-ci.org/sisl/AdaptiveStressTestingToolbox

.. |docs| image:: https://readthedocs.org/projects/ast-toolbox/badge/?version=latest
:alt: Documentation Status
:scale: 100%
:target: https://ast-toolbox.readthedocs.io/en/latest/?badge=latest

.. |coverage| image:: https://codecov.io/gh/sisl/AdaptiveStressTestingToolbox/branch/master/graph/badge.svg
:alt: Code Coverage
:scale: 100%
:target: https://app.codecov.io/gh/sisl/AdaptiveStressTestingToolbox

.. |license| image:: https://img.shields.io/badge/license-MIT-yellow.svg
:alt: License
:scale: 100%
:target: https://github.com/sisl/AdaptiveStressTestingToolbox/blob/master/LICENSE


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


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

ast-toolbox-2020.9.1.3.tar.gz (759.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

ast_toolbox-2020.9.1.3-py2.py3-none-any.whl (85.2 kB view details)

Uploaded Python 2Python 3

File details

Details for the file ast-toolbox-2020.9.1.3.tar.gz.

File metadata

  • Download URL: ast-toolbox-2020.9.1.3.tar.gz
  • Upload date:
  • Size: 759.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.7

File hashes

Hashes for ast-toolbox-2020.9.1.3.tar.gz
Algorithm Hash digest
SHA256 43eaa83db9590e648c936ff84c8fb3d47a28e70b7e31e47ac5963892c0549988
MD5 dc7ee7e071c5a5d5e46b5a3983f9abb9
BLAKE2b-256 da2b27b6b2b08334f1779201842b5c752ce82a80a4076d6984303514244ec842

See more details on using hashes here.

File details

Details for the file ast_toolbox-2020.9.1.3-py2.py3-none-any.whl.

File metadata

  • Download URL: ast_toolbox-2020.9.1.3-py2.py3-none-any.whl
  • Upload date:
  • Size: 85.2 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/4.0.1 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/3.6.7

File hashes

Hashes for ast_toolbox-2020.9.1.3-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 b677f5fb5b361d27767f0e5a02c780a82b9a9547431f7c530a651d612549e399
MD5 865acbd82ca0a2b84fa9ef4dc16eadcb
BLAKE2b-256 b20c80b2ccacfd3def1840189877c38e631f73810842f4a8661cf92bcde1be27

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page