Skip to content

Commit

Permalink
FEAT: Add XYZ Auto BI sample indexes.
Browse files Browse the repository at this point in the history
  • Loading branch information
genedan committed Jan 12, 2025
1 parent 77e4ce4 commit 3e7d932
Show file tree
Hide file tree
Showing 2 changed files with 25 additions and 1 deletion.
23 changes: 22 additions & 1 deletion faslr/samples/xyz_expected_loss.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,13 @@
-.2
]

XYZ_RATE_INDEX = {
'Name': ['XYZ Auto BI Rate Index'],
'Description': ['Rate change index for XYZ Auto BI'],
'Origin': XYZ_SAMPLE_YEARS,
'Change': XYZ_RATE_CHANGES
}

XYZ_TORT_CHANGES = [
0,
0,
Expand All @@ -42,4 +49,18 @@
- (1 - .67 / .75),
-.25,
0
]
]

XYZ_TORT_INDEX = {
'Name': ['XYZ Auto BI Tort Index'],
'Description': ['Adjustments to XYZ Auto BI claims due to tort reform.'],
'Origin': XYZ_SAMPLE_YEARS,
'Change': XYZ_TORT_CHANGES
}

XYZ_TREND_INDEX = {
'Name': ['XYZ Auto BI Loss Trend'],
'Description': ['3.425% trend for XYZ Auto BI claims.'],
'Origin': XYZ_SAMPLE_YEARS,
'Change': [.03425 for x in range(len(XYZ_SAMPLE_YEARS))]
}
3 changes: 3 additions & 0 deletions faslr/utilities/sample.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,11 @@

from faslr.samples.xyz_expected_loss import (
XYZ_RATE_CHANGES,
XYZ_RATE_INDEX,
XYZ_SAMPLE_YEARS,
XYZ_TREND_INDEX,
XYZ_TORT_CHANGES,
XYZ_TORT_INDEX
)


Expand Down

0 comments on commit 3e7d932

Please sign in to comment.