The state-of-the-art model checking tools that are currently available are optimized to be efficient. The result of this is that they are quite hard to learn and use. Stormvogel flattens the learning cuve by providing easy and user-friendly APIs for creating probabilistic Markov models, and tools to visualize and debug them. It supports seemless conversion to the powerful Storm(py) model checker out of the box.
-
Easy APIs for constructing Markov models in dedicated data structures. Currently, DTMCs, MDPs, CTMCs, POMDPs and Markov Automata are supported. This also includes parametric and interval models.
-
Seamless conversion between stormvogel and stormpy models with some runtime overhead. This allows, e.g., also using formats such as JANI and PRISM that are not supported by stormvogel directly. It is also possible to add support for a different model checker.
-
Visualization of Markov models as an interactive graph and into SVGs via dot. This includes extensive layout options, and displaying model checking results and simulations in an interactive way.
-
Support for gymnasium environments
-
An extensive documentation with clear examples.
Check out the the stormvogel documentation for examples of how to use stormvogel.
- Run
pip install stormvogel. - To also install stormpy, run
pip install stormpy. - Run
jupyter lab - Now a browser window should open that runs jupyter lab with stormvogel installed.
- Install
docker. Run: docker run -it -p 8080:8080 stormvogel/stormvogel- Now a browser window should open that runs jupyter lab with stormvogel and stormpy installed.
Note that you might have to tweak these steps a bit to get it to work on your particular system, but here is an outline. Contributors need Poetry to manage the development environment.
- Clone the stormvogel repo (or your own fork) in a separate folder
- In the stormvogel folder:
If installing stormpy fails in poetry, you can also try to follow the official stormpy installation instructions, and run
poetry install poetry shell # Activate poetry virtual environment pip install stormpy pip install . # Install stormvogelpoetry shellon top of thevirtualenvenvironment that they describe there. - Install
pre-commithook:pre-commit install
nox -s tests # run test suite
nox -s lint # ruff + pyright
nox -s docs # sphinx-build (executes doc notebooks)
Or run pytest directly without nox.
Notice that part of the tests will be skipped if stormpy is not installed.
Stormvogel was mainly developed at Radboud University by Linus Heck, Pim Leerkes, and Ivo Melse under supervision from Sebastian Junges and Matthias Volk.
Thank you to our contributors: Luko van der Maas, Nicklas Osmers.
Stormvogel is licenced under the GPL-3.0 license.