Skip to content

smartjourneymining/probabilistic_games

Repository files navigation

Stochastic Games for User Journeys

This is the repository for the FM2024 submission ``Stochastic Games for User Journeys'' by Kobialka, Pferscher, Bergersen, Johsen, and Tapia Tarifa.

Outline

.
├── data : Folder for event logs
├── greps : Output folder for the GrepS case study, contains Figures 3, 4 and 5
├── journepy : Journey analysis library with parsing modules
├── mc_outputs : Stores the model checking outputs for reproducability
├── out : General output folder, contains Figures 6 and 7
├── queries : Used model checking queries in PRISM-games format

Requirements

All experiments were tested with Python 3.10.12. To install all required libraries run

pip install -r requirements.txt

For visualizations are additional libraries used:

Reproduce Case Studies:

  1. Download data sources into data

  2. Install PRISM-games 3.2.1

  3. Update the links in the second cell of io_alergia_greps.ipynb and io_alergia_bpic17.ipynb to your local installs.

  4. Run both notebooks to reproduce all experiments and plots. Due to memory consumption in BPIC'17 needs the Java maximal memory be increaesd to 8GB with -javamaxmem 8g. These cells are currently commented out in the notebook.

Complementary information

We present complementary information omitted in the paper due to the page limit.

Greps

The full stochastic user journey game for GrepS with touchpoint names, transition probabilities and transition names: Full GrepS SUJG

BPIC'17

The gas-by-step exepriment for BPIC'17: Stepwise gas bounds

The bounded success probability for BPIC'17, BPIC'17-1 is in solid lines and BPIC'17-2 in dashed lines: Bounded success probability