cdisc-org / cdisc-rules-engine

Open source offering of the cdisc rules engine
MIT License
46 stars 12 forks source link

Filter fix #659

Closed SFJohnson24 closed 6 months ago

SFJohnson24 commented 6 months ago

fixed issue Els described where record count was giving 1 more record than expected. This was due to the filtered dataframe being overwritten during iteration.

SFJohnson24 commented 6 months ago

I updated the multi-filter test case--it fails for the way filter was written as it would only filter on the second key:value in the filter and return 2; if it filters on both parts of the filter, it will return 1 which this fix does now.