Frederik-Roeckle / Rep_ImpactProcessComplexity

Reproduction of the research results of the paper "The Impact of Process Complexity on Process Performance: A Study Using Event Log Data” as part of a group project from University of Mannheim
0 stars 0 forks source link

Can't calculate complexity metrics "affinity", "distinct_traces" and "structure" #1

Closed Frederik-Roeckle closed 7 months ago

Frederik-Roeckle commented 7 months ago

The given script of the authors for calculating the complexity Metrics ("Complexity.py") ran into errors when calculating the complexity measures:

With all these measures the script raise an InvalidVersionException:

InvalidVersion(f"Invalid version: '{version}'") packaging.version.InvalidVersion: Invalid version: 'please use pm4py.algo.filtering.log.ltl.ltl_checker.eventually_follows'

labonipia commented 7 months ago

I could remove the issue - I think it was caused by an older version of pm4py. I installed pm4py 2.7.11.4 after uninstalling older version.

Frederik-Roeckle commented 7 months ago

Thanks for the hint I'm going to install that version and try it out again

Frederik-Roeckle commented 7 months ago

Thanks @labonipia When forcing the pm4py version to 2.7.11.4 it workded without a problem.

pip install --force-reinstall -v "pm4py==2.7.11.4"