Skip to main content

Probabilistic Model Checking for almost everyone

Project description

Stormvogel 🐦: An interactive approach to probabilistic model checking in Python

The state-of-the-art model checking tools that are currently available are optimized to be efficient, but not much effort goes into making them user-friendly. The result of this is that they are quite hard to learn and use. Stormvogel solves this problem 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.

Features

  • Easy APIs for constructing Markov models in dedicated data structures. Currently, DTMCs, MDPs, CTMCs, POMDPs and Markov Automata are supported. This also includes parametric variants. Interval models are in development.

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

Installation

Pip (release version, recommended for users)

  1. Run pip install stormvogel.
  2. To also install stormpy, run pip install stormpy.

Docker (release version)

  1. Install docker. Run:
  2. docker run -it -p 8080:8080 stormvogel/stormvogel
  3. Now a browser window should open that runs jupyter lab with stormvogel and stormpy installed.

For development (latest version)

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.

  1. Install the poetry package manager
  2. Clone the stormvogel repo (or your own fork) in a separate folder
  3. In the stormvogel folder:
    poetry install
    poetry shell # Activate poetry virtual environment
    pip install stormpy
    pip install . # Install stormvogel
    
    If installing stormpy fails in poetry, you can also try to follow the official stormpy installation instructions, and run poetry shell on top of the virtualenv environment that they describe there.
  4. Install pre-commit hook: pre-commit install

Testing

Notice that part of the tests will fail if stormpy is not installed.

pytest

Authors

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.

License

Stormvogel is licenced under the GPL-3.0 license.

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

stormvogel-0.9.5.tar.gz (426.3 kB view details)

Uploaded Source

Built Distribution

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

stormvogel-0.9.5-py3-none-any.whl (449.5 kB view details)

Uploaded Python 3

File details

Details for the file stormvogel-0.9.5.tar.gz.

File metadata

  • Download URL: stormvogel-0.9.5.tar.gz
  • Upload date:
  • Size: 426.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.1 Linux/6.8.0-1031-azure

File hashes

Hashes for stormvogel-0.9.5.tar.gz
Algorithm Hash digest
SHA256 26ae79adf800031be88f301145382986e54fdffe3aeb70105404b4ee4c749ce9
MD5 d21fe678cb9fc2d1fec1ddf9bc2ea2f7
BLAKE2b-256 a9f156689e260b2bfd08e77fb55136b1e42c55bd37f0f200ae5b7f74c4955e44

See more details on using hashes here.

File details

Details for the file stormvogel-0.9.5-py3-none-any.whl.

File metadata

  • Download URL: stormvogel-0.9.5-py3-none-any.whl
  • Upload date:
  • Size: 449.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/2.1.4 CPython/3.13.1 Linux/6.8.0-1031-azure

File hashes

Hashes for stormvogel-0.9.5-py3-none-any.whl
Algorithm Hash digest
SHA256 92366209bf760b1661a904df222f9a5d5808fcbaf4dde93ea2422282dcd93631
MD5 8d91c7583b4d7afc9a22e10d272c7ee8
BLAKE2b-256 94fc1527b49d0c5885675a46560d1982d8d77ada7c8bae6a26a8b7d2b697b8ff

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