Closed johcarter closed 5 years ago
Is anyone looking at this please? As i mentioned on Friday, it is blocking my testing. cheers
@johcarter I've updated the notebook in dev with a fix. I think it should be OK now, but a confirmation would be useful.
https://github.com/OasisLMF/ReinsuranceTestTool/commit/02a5286c31e17eb7bdae43b0e5a6f415659dea3b
Thanks. have rerun with ftest/fm3 and I still get the same error;
AttributeError Traceback (most recent call last)
smurthy [10:28 AM] The RI tester module is importing this
DirectLayer
class in thedirect_layer.py
module, to generate Oasis files, and the RI tester module is being imported in the notebook. This is completely unnecessary as we can use the MDK (utils/deterministic_loss.py
module) to generate the direct Oasis filesTest case dev branch, run_direct.ipynb, using examples_old/ftest/fm3 Error
Step 7 - run the OED data though the Oasis Financial Module and output the losses by item at each inuring level.
net_losses = reinsurance_tester.run_test('run_reinsurance', account_df, location_df, ri_info_df, ri_scope_df, loss_factor=1.0, do_reinsurance=False)
print("Ran {} inuring layers".format(len(net_losses) - 1))
print("Losses for:")
for key in net_losses.keys():
Exec time: 0.026910066604614258
AttributeError Traceback (most recent call last)