Repository navigation
v3.7.5
ktools Changelog - v3.7.5
- #267 - period weighting file affects leccalc accuracy
- #241 - Add OSX build via Github Actions
- #274 - Ignore chance of loss and maximum loss values when filling losses vec…
- #275 - Feature/271 quantile
- #273 - Fix quantile losses in Quantile Period Loss Tables (QPLT)
ktools Notes
Increase precision of return periods in leccalc and ordleccalc - (PR #268)
Floating point errors can cause issues in the calculation of return periods. These are exacerbated when using a return period file, as return periods may not match those calculated. Increasing the precision of the calculated return periods from float to double solves this issue.
Bug fix for quantile losses in pltcalc - (PR #274)
Chance of loss and max loss samples excluded from loss quantile calculation which should only be using sidx >= 1.
Added quantile report tests - (PR #275)
Added tests for QELT and QPLT reports
Fix quantile losses in Quantile Period Loss Table (QPLT) - (PR #273)
Quantile losses for the same event_id and summary_id differed between the Quantile Event Loss Table (QELT) and Quantile Period Loss Table (QPLT). This was because the ChanceOfLoss and MaxLoss values from the output of summarycalc were erroneously included in the calculation of these losses.
The contributions from ChanceOfLoss and MaxLoss have been removed. The quantile losses between the QELT and QPLT now agree for the same event_id and summary_id.