OasisLMF / ktools

In-memory simulation kernel for loss modelling.
BSD 3-Clause "New" or "Revised" License
28 stars 19 forks source link

Allow number of affected risks (sample index = -4) to be processed by summarycalctocsv #377

Closed hchagani-oasislmf closed 5 months ago

hchagani-oasislmf commented 5 months ago

Issue Description

Sample index -4 has been reassigned to represent the number of affected risks (see issue https://github.com/OasisLMF/ktools/issues/365). Therefore, the filter for the sample index should be removed from summarycalctocsv. Additionally, the global constant chance_of_loss_idx should be renamed to better reflect its new representation.

Version / Environment information

ktools >v3.12.1