OasisLMF / ktools

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

Number of affected risks output #365

Closed benhayes21 closed 4 months ago

benhayes21 commented 10 months ago

Issue Description

There is a requirement to create a measure of the number of affected risks in an analysis.

Proposal, to be discussed, is that we create a new output report which counts the number of summary_ids with a sidx -1value > 0 at event_id level.

supported by new python module summurypy in: https://github.com/OasisLMF/OasisLMF/pull/1482

johcarter commented 10 months ago

We already have some ORD fields to report this information, rather than create a new report image

benhayes21 commented 10 months ago

To discuss whether we can link through to gul summary map to get number of locations

benhayes21 commented 10 months ago

can we recycle -4 sidx for number of locations?

hchagani-oasislmf commented 10 months ago

can we recycle -4 sidx for number of locations?

I don't see why not. The downstream components either carry this sidx forward or discard it. This behaviour can be changed.