pm4py / pm4py-core

Public repository for the PM4Py (Process Mining for Python) project.
https://pm4py.fit.fraunhofer.de
GNU General Public License v3.0
722 stars 286 forks source link

sample_log does not behave as expected #156

Closed ainnoot closed 4 years ago

ainnoot commented 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.

fit-alessandro-berti commented 4 years ago

Dear ainnoot,

We were able to reproduce your problem. The issue will be resolved in the next version of PM4Py.

Thanks for signaling Alessandro