Skip to content

Commit 2e9e44b

Browse files
samblesjohcarter
andauthored
Feature/oed2 (#84)
* updated to oed2 format * update test inputs to oed2 * ord settings * Update CI expected input files Co-authored-by: Joh Carter <[email protected]>
1 parent f5561bb commit 2e9e44b

29 files changed

+12851
-12734
lines changed

analysis_settings_ord.json

+82
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
{
2+
"analysis_tag": "base_example",
3+
"source_tag": "MDK",
4+
"model_version_id": "PiWind",
5+
"module_supplier_id": "OasisLMF",
6+
"number_of_samples": 10,
7+
"gul_threshold": 0,
8+
"gul_output": true,
9+
"model_settings": {
10+
"event_set": "p",
11+
"event_occurrence_id": "lt"
12+
},
13+
"gul_summaries": [
14+
{
15+
"id": 1,
16+
"ord_output": {
17+
"plt_sample": true,
18+
"plt_quantile": true,
19+
"plt_moment": true,
20+
"elt_sample": true,
21+
"elt_quantile": true,
22+
"elt_moment": true,
23+
"alt_period": true,
24+
"ept_full_uncertainty_aep": true,
25+
"ept_full_uncertainty_oep": true,
26+
"ept_mean_sample_aep": true,
27+
"ept_mean_sample_oep": true,
28+
"ept_per_sample_mean_aep": true,
29+
"ept_per_sample_mean_oep": true,
30+
"psept_aep": true,
31+
"psept_oep": true
32+
}
33+
}
34+
],
35+
36+
"il_output": true,
37+
"il_summaries": [
38+
{
39+
"id": 1,
40+
"ord_output": {
41+
"plt_sample": true,
42+
"plt_quantile": true,
43+
"plt_moment": true,
44+
"elt_sample": true,
45+
"elt_quantile": true,
46+
"elt_moment": true,
47+
"alt_period": true,
48+
"ept_full_uncertainty_aep": true,
49+
"ept_full_uncertainty_oep": true,
50+
"ept_mean_sample_aep": true,
51+
"ept_mean_sample_oep": true,
52+
"ept_per_sample_mean_aep": true,
53+
"ept_per_sample_mean_oep": true,
54+
"psept_aep": true,
55+
"psept_oep": true
56+
}
57+
}
58+
],
59+
"ri_output": true,
60+
"ri_summaries": [
61+
{
62+
"id": 1,
63+
"ord_output": {
64+
"plt_sample": true,
65+
"plt_quantile": true,
66+
"plt_moment": true,
67+
"elt_sample": true,
68+
"elt_quantile": true,
69+
"elt_moment": true,
70+
"alt_period": true,
71+
"ept_full_uncertainty_aep": true,
72+
"ept_full_uncertainty_oep": true,
73+
"ept_mean_sample_aep": true,
74+
"ept_mean_sample_oep": true,
75+
"ept_per_sample_mean_aep": true,
76+
"ept_per_sample_mean_oep": true,
77+
"psept_aep": true,
78+
"psept_oep": true
79+
}
80+
}
81+
]
82+
}

exposure_data/SourceAccOEDPiWind.csv

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
PortNumber,AccNumber,AccCurrency,PolNumber,PolPerilsCovered,PolInceptionDate,PolExpiryDate,LayerNumber,LayerParticipation,LayerLimit,LayerAttachment
2-
1,A11111,GBP,Layer1,WW1,1/1/1970,1/1/1970,1,0.3,5000000,500000
3-
1,A11111,GBP,Layer2,WW1,1/1/1970,1/1/1970,2,0.3,100000000,5500000
1+
PortNumber,AccNumber,AccCurrency,PolNumber,PolPerilsCovered,PolInceptionDate,PolExpiryDate,LayerNumber,LayerParticipation,LayerLimit,LayerAttachment,OEDVersion
2+
1,A11111,GBP,Layer1,WW1,2018-01-01,2018-12-31,1,0.3,5000000,500000,2.0.0
3+
1,A11111,GBP,Layer2,WW1,2018-01-01,2018-12-31,2,0.3,100000000,5500000,2.0.0
+11-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency
2-
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,,,,GBP
3-
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,,,,GBP
4-
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,,,,GBP
5-
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,,,,GBP
6-
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,,,,GBP
7-
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,,,,GBP
8-
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,,,,GBP
9-
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,,,,GBP
10-
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,,,,GBP
11-
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,430000,,,,GBP
1+
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency,OEDVersion
2+
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,0,0,0,GBP,2.0.0
3+
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,0,0,0,GBP,2.0.0
4+
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,0,0,0,GBP,2.0.0
5+
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,0,0,0,GBP,2.0.0
6+
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,0,0,0,GBP,2.0.0
7+
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,0,0,0,GBP,2.0.0
8+
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,0,0,0,GBP,2.0.0
9+
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,0,0,0,GBP,2.0.0
10+
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,0,0,0,GBP,2.0.0
11+
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,430000,0,0,0,GBP,2.0.0
+2-2
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
ReinsNumber,ReinsLayerNumber,ReinsName,ReinsPeril,ReinsInceptionDate,ReinsExpiryDate,CededPercent,RiskLimit,RiskAttachment,OccLimit,OccAttachment,OccFranchiseDed,OccReverseFranchise,AggLimit,AggAttachment,ReinsCurrency,InuringPriority,ReinsType,AttachmentBasis,Reinstatement,ReinstatementCharge,ReinsPremium,PlacedPercent,DeemedPercentPlaced,ReinsFXrate,TreatyShare,UseReinsDates
2-
1,1,ABC QS,WW1,2018-01-01,2018-12-31,1,0,0,0,0,0,0,0,0,USD,1,SS,LO,99,0,6,1,1,1,1,No
1+
ReinsNumber,ReinsLayerNumber,ReinsName,ReinsPeril,ReinsInceptionDate,ReinsExpiryDate,CededPercent,RiskLimit,RiskAttachment,OccLimit,OccAttachment,PlacedPercent,ReinsCurrency,InuringPriority,ReinsType,RiskLevel,UseReinsDates,OEDVersion
2+
1,1,ABC QS,WW1,2018-01-01,2018-12-31,1,0,0,0,0,1,GBP,1,SS,LOC,N,2.0.0
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
ReinsNumber,PortNumber,AccNumber,PolNumber,LocGroup,LocNumber,CedantName,ProducerName,LOB,CountryCode,ReinsTag,CededPercent,RiskLevel
2-
1,1,A11111,,,10002082047,,,,,,0.1,LOC
3-
1,1,A11111,,,10002082048,,,,,,0.2,LOC
1+
ReinsNumber,PortNumber,AccNumber,PolNumber,LocGroup,LocNumber,CedantName,ProducerName,LOB,CountryCode,ReinsTag,CededPercent,OEDVersion
2+
1,1,A11111,,,10002082047,,,,,,0.1,2.0.0
3+
1,1,A11111,,,10002082048,,,,,,0.2,2.0.0

oasislmf_ord.json

+12
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
{
2+
"analysis_settings_json": "analysis_settings_ord.json",
3+
"lookup_config_json": "keys_data/PiWind/lookup_config.json",
4+
"lookup_data_dir": "keys_data/PiWind",
5+
"model_data_dir": "model_data/PiWind",
6+
"model_settings_json": "meta-data/model_settings.json",
7+
"oed_location_csv": "tests/inputs/SourceLocOEDPiWind10.csv",
8+
"oed_accounts_csv": "tests/inputs/SourceAccOEDPiWind.csv",
9+
"oed_info_csv": "tests/inputs/SourceReinsInfoOEDPiWind.csv",
10+
"oed_scope_csv": "tests/inputs/SourceReinsScopeOEDPiWind.csv",
11+
"ktools_alloc_rule_gul": 1
12+
}

tests/ci/expected/0_case/input/exposure_summary_levels.json

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"locperilscovered": "Location perils covered",
1616
"longitude": "Longitude in degrees (-180.0 to +180.0)",
1717
"occupancycode": "OED occupancy code",
18+
"oedversion": "Not an OED field",
1819
"peril_id": "OED peril code",
1920
"portnumber": "Portfolio number",
2021
"postalcode": "Postcode: the highest resolution postcode most often used.",
@@ -24,9 +25,11 @@
2425
"IL": {
2526
"available": {
2627
"accnumber": "Account number",
28+
"bitiv": "Not an OED field",
2729
"buildingid": "Unique building identification number",
2830
"buildingtiv": "Building Total Insured Value",
2931
"constructioncode": "OED construction code",
32+
"contentstiv": "Not an OED field",
3033
"countrycode": "Country code (based on ISO3166 alpha-2 codes)",
3134
"coverage_id": "Oasis coverage identifier",
3235
"coverage_type_id": "Oasis coverage type",
@@ -37,6 +40,8 @@
3740
"locperilscovered": "Location perils covered",
3841
"longitude": "Longitude in degrees (-180.0 to +180.0)",
3942
"occupancycode": "OED occupancy code",
43+
"oedversion": "Not an OED field",
44+
"othertiv": "Not an OED field",
4045
"peril_id": "OED peril code",
4146
"portnumber": "Portfolio number",
4247
"postalcode": "Postcode: the highest resolution postcode most often used.",
+11-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency
2-
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,,,,GBP
3-
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,,,,GBP
4-
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,,,,GBP
5-
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,,,,GBP
6-
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,,,,GBP
7-
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,,,,GBP
8-
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,,,,GBP
9-
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,,,,GBP
10-
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,,,,GBP
11-
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,430000,,,,GBP
1+
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency,OEDVersion
2+
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,0,0,0,GBP,2.0.0
3+
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,0,0,0,GBP,2.0.0
4+
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,0,0,0,GBP,2.0.0
5+
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,0,0,0,GBP,2.0.0
6+
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,0,0,0,GBP,2.0.0
7+
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,0,0,0,GBP,2.0.0
8+
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,0,0,0,GBP,2.0.0
9+
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,0,0,0,GBP,2.0.0
10+
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,0,0,0,GBP,2.0.0
11+
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,430000,0,0,0,GBP,2.0.0
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
PortNumber,AccNumber,AccCurrency,PolNumber,PolPerilsCovered,PolInceptionDate,PolExpiryDate,LayerNumber,LayerParticipation,LayerLimit,LayerAttachment
2-
1,A11111,GBP,Layer1,WW1,1/1/1970,1/1/1970,1,0.3,5000000,500000
3-
1,A11111,GBP,Layer2,WW1,1/1/1970,1/1/1970,2,0.3,100000000,5500000
1+
PortNumber,AccNumber,AccCurrency,PolNumber,PolPerilsCovered,PolInceptionDate,PolExpiryDate,LayerNumber,LayerParticipation,LayerLimit,LayerAttachment,OEDVersion
2+
1,A11111,GBP,Layer1,WW1,2018-01-01,2018-12-31,1,0.3,5000000,500000,2.0.0
3+
1,A11111,GBP,Layer2,WW1,2018-01-01,2018-12-31,2,0.3,100000000,5500000,2.0.0

tests/ci/expected/1_case/input/exposure_summary_levels.json

+5
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@
1515
"locperilscovered": "Location perils covered",
1616
"longitude": "Longitude in degrees (-180.0 to +180.0)",
1717
"occupancycode": "OED occupancy code",
18+
"oedversion": "Not an OED field",
1819
"peril_id": "OED peril code",
1920
"portnumber": "Portfolio number",
2021
"postalcode": "Postcode: the highest resolution postcode most often used.",
@@ -24,9 +25,11 @@
2425
"IL": {
2526
"available": {
2627
"accnumber": "Account number",
28+
"bitiv": "Not an OED field",
2729
"buildingid": "Unique building identification number",
2830
"buildingtiv": "Building Total Insured Value",
2931
"constructioncode": "OED construction code",
32+
"contentstiv": "Not an OED field",
3033
"countrycode": "Country code (based on ISO3166 alpha-2 codes)",
3134
"coverage_id": "Oasis coverage identifier",
3235
"coverage_type_id": "Oasis coverage type",
@@ -37,6 +40,8 @@
3740
"locperilscovered": "Location perils covered",
3841
"longitude": "Longitude in degrees (-180.0 to +180.0)",
3942
"occupancycode": "OED occupancy code",
43+
"oedversion": "Not an OED field",
44+
"othertiv": "Not an OED field",
4045
"peril_id": "OED peril code",
4146
"portnumber": "Portfolio number",
4247
"postalcode": "Postcode: the highest resolution postcode most often used.",
+11-11
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
1-
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency
2-
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,,,,GBP
3-
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,,,,GBP
4-
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,,,,GBP
5-
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,,,,GBP
6-
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,,,,GBP
7-
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,,,,GBP
8-
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,,,,GBP
9-
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,,,,GBP
10-
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,,,,GBP
11-
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,430000,,,,GBP
1+
PortNumber,AccNumber,LocNumber,IsTenant,BuildingID,CountryCode,Latitude,Longitude,StreetAddress,PostalCode,OccupancyCode,ConstructionCode,LocPerilsCovered,BuildingTIV,OtherTIV,ContentsTIV,BITIV,LocCurrency,OEDVersion
2+
1,A11111,10002082046,1,1,GB,52.76698052,-0.895469856,1 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,220000,0,0,0,GBP,2.0.0
3+
1,A11111,10002082047,1,1,GB,52.76697956,-0.89536613,2 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,790000,0,0,0,GBP,2.0.0
4+
1,A11111,10002082048,1,1,GB,52.76697845,-0.895247587,3 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,160000,0,0,0,GBP,2.0.0
5+
1,A11111,10002082049,1,1,GB,52.76696096,-0.895473908,4 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,30000,0,0,0,GBP,2.0.0
6+
1,A11111,10002082050,1,1,GB,52.76695804,-0.895353484,5 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,250000,0,0,0,GBP,2.0.0
7+
1,A11111,10002082051,1,1,GB,52.76695885,-0.89524749,6 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,700000,0,0,0,GBP,2.0.0
8+
1,A11111,10002082052,1,1,GB,52.7670776,-0.895274721,7 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,90000,0,0,0,GBP,2.0.0
9+
1,A11111,10002082053,1,1,GB,52.76712254,-0.895273583,8 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,310000,0,0,0,GBP,2.0.0
10+
1,A11111,10002082054,1,1,GB,52.76718545,-0.895271991,9 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,420000,0,0,0,GBP,2.0.0
11+
1,A11111,10002082055,1,1,GB,52.76724836,-0.895270399,10 ABINGDON ROAD,LE13 0HL,1050,5000,WW1,430000,0,0,0,GBP,2.0.0
+3-3
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
1-
PortNumber,AccNumber,AccCurrency,PolNumber,PolPerilsCovered,PolInceptionDate,PolExpiryDate,LayerNumber,LayerParticipation,LayerLimit,LayerAttachment,PolDedType6All,PolDed6All,CondNumber,CondDedType6All,CondDed6All
2-
1,A11111,GBP,Layer1,WW1,1/1/1970,1/1/1970,1,0.3,5000000,500000,2,0.01,1,2,0.01
3-
1,A11111,GBP,Layer2,WW1,1/1/1970,1/1/1970,2,0.3,100000000,5500000,2,0.01,1,2,0.01
1+
PortNumber,AccNumber,AccCurrency,PolNumber,PolPerilsCovered,PolInceptionDate,PolExpiryDate,LayerNumber,LayerParticipation,LayerLimit,LayerAttachment,PolDedType6All,PolDed6All,CondTag,CondNumber,CondDedType6All,CondDed6All,OEDVersion
2+
1,A11111,GBP,Layer1,WW1,2018-01-01,2018-12-31,1,0.3,5000000,500000,2,0.01,1,1,2,0.01,2.0.0
3+
1,A11111,GBP,Layer2,WW1,2018-01-01,2018-12-31,2,0.3,100000000,5500000,2,0.01,1,1,2,0.01,2.0.0

tests/ci/expected/3_case/input/exposure_summary_levels.json

+5-1
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
"bitiv": "Business Interruption (BI) Total Insured Value",
66
"buildingid": "Unique building identification number",
77
"buildingtiv": "Building Total Insured Value",
8+
"condtag": "Identifies a group of locations which are subject to one or more conditions.",
89
"constructioncode": "OED construction code",
910
"contentstiv": "Contents Total Insured Value",
1011
"countrycode": "Country code (based on ISO3166 alpha-2 codes)",
@@ -27,6 +28,7 @@
2728
"locperilscovered": "Location perils covered",
2829
"longitude": "Longitude in degrees (-180.0 to +180.0)",
2930
"occupancycode": "OED occupancy code",
31+
"oedversion": "Not an OED field",
3032
"peril_id": "OED peril code",
3133
"portnumber": "Portfolio number",
3234
"postalcode": "Postcode: the highest resolution postcode most often used.",
@@ -39,7 +41,7 @@
3941
"bitiv": "Business Interruption (BI) Total Insured Value",
4042
"buildingid": "Unique building identification number",
4143
"buildingtiv": "Building Total Insured Value",
42-
"condnumber": "Not an OED field",
44+
"condtag": "Identifies a group of locations which are subject to one or more conditions.",
4345
"constructioncode": "OED construction code",
4446
"contentstiv": "Contents Total Insured Value",
4547
"countrycode": "Country code (based on ISO3166 alpha-2 codes)",
@@ -62,6 +64,8 @@
6264
"locperilscovered": "Location perils covered",
6365
"longitude": "Longitude in degrees (-180.0 to +180.0)",
6466
"occupancycode": "OED occupancy code",
67+
"oedversion": "Not an OED field",
68+
"othertiv": "Not an OED field",
6569
"peril_id": "OED peril code",
6670
"portnumber": "Portfolio number",
6771
"postalcode": "Postcode: the highest resolution postcode most often used.",

0 commit comments

Comments
 (0)