Closed cpitsch closed 2 years ago
Thank you for signaling.
Our eventually-follows function for EventLog objects is broken, we will release a fix for this in the next release
The issue has been solved in PM4Py 2.2.25
Thank you for the quick fix!
I have one more question about this function:
With this implementation in PM4PY 2.2.25, the eventually-follows relation seems "reflexive": Filtering my example log from above for the eventually-follows relation d⟶d
retains the trace <a,b,c,d>
.
To some extent, this makes sense, as d
follows d
after 0 events. However, to me, a filtering requiring a non-zero distance seems more useful.
Is this "reflexivity" intentional?
Hello,
While I was working with the
filter_eventually_follows_relation
function, I encountered some behavior I did not expect:First and foremost: I have tested this on the newest PM4Py version: 2.2.24
If I have an event log containing the traces
[<a,b,c,d>, <a,c,b,e>, <a,b,c,e>]
, and filter to only retain the eventually follows relationc⟶d
, I would expect an empty event log to result from this, asd
only occurs at the end of traces. However, the resulting event log is[<a,b,c,d>]
, which I did not expect.I filtered the event log like this:
Reversing the tuple to the following also yields the same result:
Upon further investigation, I found that (for this small example) for every pair of activities, the length of the filtered event log was always the same regardless of the "order" of the given tuple. This implies that perhaps the eventually-follows relation is seen as a symmetric relation. Is this the case? Or are the results unexpected?
Reproducible Example