Skip to content

Commit 3e7d932

Browse files
committed
FEAT: Add XYZ Auto BI sample indexes.
1 parent 77e4ce4 commit 3e7d932

File tree

2 files changed

+25
-1
lines changed

2 files changed

+25
-1
lines changed

faslr/samples/xyz_expected_loss.py

Lines changed: 22 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,13 @@
3030
-.2
3131
]
3232

33+
XYZ_RATE_INDEX = {
34+
'Name': ['XYZ Auto BI Rate Index'],
35+
'Description': ['Rate change index for XYZ Auto BI'],
36+
'Origin': XYZ_SAMPLE_YEARS,
37+
'Change': XYZ_RATE_CHANGES
38+
}
39+
3340
XYZ_TORT_CHANGES = [
3441
0,
3542
0,
@@ -42,4 +49,18 @@
4249
- (1 - .67 / .75),
4350
-.25,
4451
0
45-
]
52+
]
53+
54+
XYZ_TORT_INDEX = {
55+
'Name': ['XYZ Auto BI Tort Index'],
56+
'Description': ['Adjustments to XYZ Auto BI claims due to tort reform.'],
57+
'Origin': XYZ_SAMPLE_YEARS,
58+
'Change': XYZ_TORT_CHANGES
59+
}
60+
61+
XYZ_TREND_INDEX = {
62+
'Name': ['XYZ Auto BI Loss Trend'],
63+
'Description': ['3.425% trend for XYZ Auto BI claims.'],
64+
'Origin': XYZ_SAMPLE_YEARS,
65+
'Change': [.03425 for x in range(len(XYZ_SAMPLE_YEARS))]
66+
}

faslr/utilities/sample.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,11 @@
55

66
from faslr.samples.xyz_expected_loss import (
77
XYZ_RATE_CHANGES,
8+
XYZ_RATE_INDEX,
89
XYZ_SAMPLE_YEARS,
10+
XYZ_TREND_INDEX,
911
XYZ_TORT_CHANGES,
12+
XYZ_TORT_INDEX
1013
)
1114

1215

0 commit comments

Comments
 (0)