Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extensive Playout of a Generated Process Tree #305

Closed
jaripeeperkorn opened this issue Jan 3, 2022 · 2 comments
Closed

Extensive Playout of a Generated Process Tree #305

jaripeeperkorn opened this issue Jan 3, 2022 · 2 comments

Comments

@jaripeeperkorn
Copy link

I seem to generate some errors when trying to do an extensive playout of a generated process tree, generated with the build in generator.

from pm4py.algo.simulation.tree_generator import algorithm as tree_gen
from pm4py.algo.simulation.playout.process_tree import algorithm as tree_playout
tree = tree_gen.apply()
playout_variant = tree_playout.Variants.EXTENSIVE
param = tree_playout.Variants.EXTENSIVE.value.Parameters
simulated_log = tree_playout.apply(tree, variant=playout_variant, parameters={param.MAX_TRACE_LENGTH: 200, param.MAX_LOOP_OCC: 3, param.MAX_LIMIT_NUM_TRACES: 1000})

The error occurs when executing the get_playout function in the algorithm and has KeyError: 'traces'. I have also played with the different parameters of the playout function and the error seems to occurs for all kinds of operators.

KR,

Jari Peeperkorn

@fit-alessandro-berti
Copy link
Contributor

Dear jari,

Thanks for signaling. We'll release a fix for this in one upcoming release.

Have a nice day

@fit-sebastiaan-van-zelst
Copy link
Contributor

This issue was resolved in pm4py 2.2.18 (https://github.com/pm4py/pm4py-core/releases/tag/2.2.18)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants