cdisc-org / cdisc-rules-engine

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

Updated target_is_not_sorted_by operator #730

Closed SFJohnson24 closed 1 week ago

SFJohnson24 commented 2 weeks ago

This update no longer expects the seq to start at 1 and allows for sequences to ascend/descend by values other than 1.

Of note, the testing suite has been updated as this implementation does not have the granularity that the past implementation does--if this is an issue, I can edit again. In this implementation if the entire sequence is not in the selected ascend/descending order requested in the parameters, all values of the sequence are deemed false. It appears the past implementation did not do this.