Conversation
tests included: - WP missing, POI - POI missing, WP (defaults to 365 POI) - POI longer than a year (720 days)
- add loss factor > 1 to test durations longer than a year - include simple tests with BI deductibles and limits
|
@sstruzik the multi peril case is handled using the back allocation mechanism. By default this means |
|
|
||
| def get_default_fm_aggregation_profile(path=False): | ||
| fp = os.path.join(STATIC_DATA_FP, 'default_fm_agg_profile.json') | ||
| return {int(k): v for k, v in get_default_json(src_fp=fp).items()} if not path else fp |
There was a problem hiding this comment.
I don't understand the point of path in the original function and looking at the code path is never used as a parameter.
I think we can clean this and remove it. this way we have get_default_fm_aggregation_profile that return the default profile.
There was a problem hiding this comment.
the path variable seems to be redundant in these functions as well:
get_default_accounts_profileget_default_exposure_profileget_default_fm_profile_field_valuesget_default_step_policies_profileget_config_profileget_default_unified_profile
yes, correct. |
feature/BI improvement - fmp
A new
fmlevelSiteItemappliesBIWaitingPeriodandBIPOI(period of indemnity).SiteCoveragelevel.output_loss = min(input_loss - BIWaitingPeriod, BIPOI).alloc_rule_il, by default allocation will occur proportional to the input loss.