Skip to main content

This Algorithm implements a version of a process model repair Algorithm inspired by the paper "Repairing process models to reflect reality" by Dirk Fahland and Wil van der Aalst. DOI: 10.1016/j.is.2013.12.007. This implementation was created by Durborough on GitHub. I only added the setup.py file to make it installable via pip.

Project description

This repository contains an implementation of a process model repair algorithm. It can be used to repair a process model to fit an event log.

The file process_model_repair_algorith.py contains the implementation for repairing a Petri net to fit an event log. It repairs the Petri net in place.

Usage:

` event_log = pm4py.read_xes('example.xes') net, im, fm = pm4py.convert_to_petri_net(pm4py.read_bpmn('example.bpmn')) pm4py.view_petri_net(net, im, fm) net_repaired, im_repaired, fm_repaired = repair_process_model(net, im, fm, event_log) pm4py.view_petri_net(net_repaired, im_repaired, fm_repaired) `

The file process_model_repair_with_change_set.py contains the implementation for repairing a BPMN model to fit an event log and obtain a change set. It is the the function used in the integration into the PAIS Customate.

Usage:

` repair_process_model(bpmn, event_log, activity_mappings) `

Activity Mappings map between ids in the BPMN models and the activity ids in the event log.

The file app.py contains the flask server implementation for the integration into the PAIS Customate.

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

pm4py_model_repair-0.1.7.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

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

pm4py_model_repair-0.1.7-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file pm4py_model_repair-0.1.7.tar.gz.

File metadata

  • Download URL: pm4py_model_repair-0.1.7.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/4.0.2 CPython/3.11.6

File hashes

Hashes for pm4py_model_repair-0.1.7.tar.gz
Algorithm Hash digest
SHA256 e74cda76bdd003fe10f9c7d4a9f84a31b139b18b22943b0643aab9308ca849e1
MD5 057c43f61005553ec78b098fbc7a9f65
BLAKE2b-256 40f15468b6b27c05a1decc78b2e4eeff7f9c50263725e73e208c29963f379572

See more details on using hashes here.

File details

Details for the file pm4py_model_repair-0.1.7-py3-none-any.whl.

File metadata

File hashes

Hashes for pm4py_model_repair-0.1.7-py3-none-any.whl
Algorithm Hash digest
SHA256 54f9707a477c7db2b9365e4bba6b1c72e052b7efb35f892914c5d898065a8a61
MD5 38c91cb82e43d383a999f8ad254bd853
BLAKE2b-256 b867d6ce6b68b3c6de3be672f676397ed3aceeaaeb943c1af401ab403dd74219

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