Closed ainnoot closed 4 years ago
In the sample_log function there's no check to avoid that a trace gets sampled multiple times. When it does happen new_log contains less traces than intended because the set data structure stores unique elements.
new_log
set
Dear ainnoot,
We were able to reproduce your problem. The issue will be resolved in the next version of PM4Py.
Thanks for signaling Alessandro
In the sample_log function there's no check to avoid that a trace gets sampled multiple times. When it does happen
new_log
contains less traces than intended because theset
data structure stores unique elements.