New Case Builder: Logfile
The logfile for the discrete Case is shown below.
Process id = 20
Memory usage = 0.130GB: |=
discrete creating CaseStudy object
WARNING:root:Recomputing Gross_discrete with log2=13, bs=8...
WARNING:root:Calibrating distortions for Gross_discrete with ROE=0.489, a=290.0, p=1.0...
WARNING:aggregate:Applying net_cat to X1 Old mean = 29.750 New mean = 16.000
WARNING:aggregate:applying ROE fix.
Level 35:aggregate:Memory usage = 0.183GB: |=
Level 35:aggregate:Start Full Monty Update
Level 35:aggregate:Memory usage = 0.214GB: |==
Level 35:aggregate:boundss and pstar done
Traceback (most recent call last):
File "/usr/lib/python3.8/runpy.py", line 194, in _run_module_as_main
return _run_code(code, main_globals, None,
File "/usr/lib/python3.8/runpy.py", line 87, in _run_code
exec(code, run_globals)
File "/home/Yzaamb/pricinginsurancerisk/case_studies.py", line 5749, in <module>
case.full_monty()
File "/home/Yzaamb/pricinginsurancerisk/case_studies.py", line 577, in full_monty
self.make_all()
File "/home/Yzaamb/pricinginsurancerisk/case_studies.py", line 2482, in make_all
self.make_classic_pricing()
File "/home/Yzaamb/pricinginsurancerisk/case_studies.py", line 2277, in make_classic_pricing
sop[('sop', 'net')] = sop[(self.re_line, 'net')] + sop[(no_re_line, 'gross')]
File "/home/Yzaamb/.virtualenvs/smve38b/lib/python3.8/site-packages/pandas/core/frame.py", line 3504, in __getitem__
return self._getitem_multilevel(key)
File "/home/Yzaamb/.virtualenvs/smve38b/lib/python3.8/site-packages/pandas/core/frame.py", line 3555, in _getitem_multilevel
loc = self.columns.get_loc(key)
File "/home/Yzaamb/.virtualenvs/smve38b/lib/python3.8/site-packages/pandas/core/indexes/multi.py", line 2880, in get_loc
return self._engine.get_loc(key)
File "pandas/_libs/index.pyx", line 779, in pandas._libs.index.BaseMultiIndexCodesEngine.get_loc
File "pandas/_libs/index.pyx", line 136, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/index.pyx", line 163, in pandas._libs.index.IndexEngine.get_loc
File "pandas/_libs/hashtable_class_helper.pxi", line 1832, in pandas._libs.hashtable.UInt64HashTable.get_item
File "pandas/_libs/hashtable_class_helper.pxi", line 1841, in pandas._libs.hashtable.UInt64HashTable.get_item
KeyError: 19