Skip to main content

select.out_of_order()

How many successive scenarios, mildest first, project a less severe target than the one before.

Usage

Source

select.out_of_order(
    values,
    severity,
    direction=1,
)

A more severe scenario should give a higher value (direction 1) or a lower one (-1). Equal values are not out of order.