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.
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 constantchance_of_loss_idx
should be renamed to better reflect its new representation.Version / Environment information
ktools >v3.12.1