Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature/oed2tests #954

Merged
merged 32 commits into from
Dec 3, 2021
Merged

Feature/oed2tests #954

merged 32 commits into from
Dec 3, 2021

Conversation

johcarter
Copy link
Contributor

@johcarter johcarter commented Dec 2, 2021

Upgrade to OED2

Support for OED v2.0.0 exposure input format, including

  • OEDVersion field in all files (optional)
  • CondTag field added to OED location and account
  • CondNumber field removed from OED location
  • RiskLevel field moved from Reinsurance Scope to Reinsurance Info

New policy conditions features supported

  • hierarchal nested conditions
  • policy restrictions

Validation test suite upgraded to OED 2.0.0 input format

@johcarter johcarter requested review from sstruzik and sambles December 2, 2021 14:56
@johcarter
Copy link
Contributor Author

insurance_conditions test fail because I have been unable to update expected. the only change is to fm_programme and fm_policytc but i can't get the tests to pass. can you help please @sambles ?

@sambles
Copy link
Contributor

sambles commented Dec 2, 2021

I've pushed the updated expected files generated from my system and they match + pass locally. Do they look correct?
08db356

@sambles
Copy link
Contributor

sambles commented Dec 2, 2021

There are some other oed related test which need updating:

model_preparation/test_oed.py

Reading example example OED files from https://github.com/OasisLMF/OasisLMF/tree/master/tests/model_preparation/examples)

model_preparation/test_reinsurance.py

which is using fixed example DataFrames

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants