POMDPStressTesting.jl

POMDPStressTesting.jl: Adaptive Stress Testing for Black-Box Systems - Published in JOSS (2021)

https://github.com/sisl/pomdpstresstesting.jl

Science Score: 98.0%

This score indicates how likely this project is to be science-related based on various indicators:

  • CITATION.cff file
  • codemeta.json file
    Found codemeta.json file
  • .zenodo.json file
    Found .zenodo.json file
  • DOI references
    Found 2 DOI reference(s) in README and JOSS metadata
  • Academic publication links
    Links to: joss.theoj.org
  • Committers with academic emails
    1 of 2 committers (50.0%) from academic institutions
  • Institutional organization owner
    Organization sisl has institutional domain (sisl.stanford.edu)
  • JOSS paper metadata
    Published in Journal of Open Source Software

Keywords

black-box pomdps simulation solvers stress-test
Last synced: 4 months ago · JSON representation

Repository

Adaptive stress testing of black-box systems within POMDPs.jl

Basic Info
  • Host: GitHub
  • Owner: sisl
  • License: other
  • Language: Julia
  • Default Branch: master
  • Homepage:
  • Size: 2.91 MB
Statistics
  • Stars: 16
  • Watchers: 4
  • Forks: 6
  • Open Issues: 7
  • Releases: 11
Topics
black-box pomdps simulation solvers stress-test
Created almost 6 years ago · Last pushed almost 2 years ago
Metadata Files
Readme License

README.md

POMDPStressTesting.jl

Documentation Build Status codecov

Adaptive stress testing of black-box systems, implemented within the POMDPs.jl ecosystem.

See the documentation for more details.

Citation

If you use this package for research purposes, please cite the following:

status

@article{moss2021pomdpstresstesting, title = {{POMDPStressTesting.jl}: Adaptive Stress Testing for Black-Box Systems}, author = {Robert J. Moss}, journal = {Journal of Open Source Software}, year = {2021}, volume = {6}, number = {60}, pages = {2749}, doi = {10.21105/joss.02749} }

Interface

To stress test a new system, the user has to define the GrayBox and BlackBox interface outlined in src/GrayBox.jl and src/BlackBox.jl.

GrayBox Interface

The GrayBox simulator and environment interface includes: * GrayBox.Simulation type to hold simulation variables * GrayBox.environment(sim::Simulation) to return the collection of environment distributions * GrayBox.transition!(sim::Simulation) to transition the simulator, returning the log-likelihood

BlackBox Interface

The BlackBox system interface includes: * BlackBox.initialize!(sim::Simulation) to initialize/reset the system under test * BlackBox.evaluate!(sim::Simulation) to evaluate/execute the system under test * BlackBox.distance(sim::Simulation) to return how close we are to an event * BlackBox.isevent(sim::Simulation) to indicate if a failure event occurred * BlackBox.isterminal(sim::Simulation) to indicate the simulation is in a terminal state

Functions ending with ! may modify the Simulation object in place.

Solvers

Several solvers are implemented.

Reinforcement learning solvers

Deep reinforcement learning solvers1

Stochastic optimization solvers

Baseline solvers

Example

Example Notebook

An example implementation of the AST interface is provided for the Walk1D problem: * Julia source: test/Walk1D.jl * Jupyter notebook: Walk1D.ipynb * Descriptive tutorial-style write-up: walk1d.pdf (created using TeX.jl)

Installation

Install the POMDPStressTesting.jl package via: julia ] add POMDPStressTesting

Testing

To run the test suite, you can use the Julia package manager. julia ] test POMDPStressTesting

Contributing

We welcome contributions! Please fork the repository and submit a new Pull Request.


Package maintained by Robert Moss: mossr@cs.stanford.edu

1 TRPO and PPO thanks to Shreyas Kowshik's initial implementation.

Owner

  • Name: Stanford Intelligent Systems Laboratory
  • Login: sisl
  • Kind: organization
  • Location: Stanford, CA

JOSS Publication

POMDPStressTesting.jl: Adaptive Stress Testing for Black-Box Systems
Published
April 08, 2021
Volume 6, Issue 60, Page 2749
Authors
Robert J. Moss ORCID
Stanford University
Editor
Sebastian Benthall ORCID
Tags
stress testing black-box systems POMDPs.jl

GitHub Events

Total
  • Watch event: 3
  • Fork event: 1
Last Year
  • Watch event: 3
  • Fork event: 1

Committers

Last synced: 5 months ago

All Time
  • Total Commits: 168
  • Total Committers: 2
  • Avg Commits per committer: 84.0
  • Development Distribution Score (DDS): 0.012
Past Year
  • Commits: 0
  • Committers: 0
  • Avg Commits per committer: 0.0
  • Development Distribution Score (DDS): 0.0
Top Committers
Name Email Commits
Robert Moss r****2@g****m 166
Daniel S. Katz d****z@i****g 2
Committer Domains (Top 20 + Academic)

Issues and Pull Requests

Last synced: 4 months ago

All Time
  • Total issues: 12
  • Total pull requests: 1
  • Average time to close issues: 3 months
  • Average time to close pull requests: 36 minutes
  • Total issue authors: 6
  • Total pull request authors: 1
  • Average comments per issue: 0.92
  • Average comments per pull request: 0.0
  • Merged pull requests: 1
  • Bot issues: 0
  • Bot pull requests: 0
Past Year
  • Issues: 0
  • Pull requests: 0
  • Average time to close issues: N/A
  • Average time to close pull requests: N/A
  • Issue authors: 0
  • Pull request authors: 0
  • Average comments per issue: 0
  • Average comments per pull request: 0
  • Merged pull requests: 0
  • Bot issues: 0
  • Bot pull requests: 0
Top Authors
Issue Authors
  • mossr (5)
  • rlipkis (2)
  • ll7 (2)
  • sambitdash (1)
  • mykelk (1)
  • JuliaTagBot (1)
Pull Request Authors
  • danielskatz (1)
Top Labels
Issue Labels
Pull Request Labels

Packages

  • Total packages: 1
  • Total downloads: unknown
  • Total dependent packages: 0
  • Total dependent repositories: 0
  • Total versions: 2
juliahub.com: POMDPStressTesting

Adaptive stress testing of black-box systems within POMDPs.jl

  • Versions: 2
  • Dependent Packages: 0
  • Dependent Repositories: 0
Rankings
Dependent repos count: 9.9%
Forks count: 21.7%
Average: 25.8%
Stargazers count: 32.6%
Dependent packages count: 38.9%
Last synced: 4 months ago

Dependencies

.github/workflows/CI.yml actions
  • actions/cache v2 composite
  • actions/checkout v2 composite
  • codecov/codecov-action v1 composite
  • julia-actions/julia-buildpkg latest composite
  • julia-actions/julia-processcoverage v1 composite
  • julia-actions/julia-runtest latest composite
  • julia-actions/setup-julia v1 composite
.github/workflows/Documentation.yml actions
  • actions/checkout v2 composite
  • julia-actions/setup-julia latest composite
.github/workflows/TagBot.yml actions
  • JuliaRegistries/TagBot v1 composite