Skip to content

Fix/fm empty layer with account terms#1817

Merged
sambles merged 2 commits intomainfrom
fix/fm_empty_layer_with_account_terms
Dec 16, 2025
Merged

Fix/fm empty layer with account terms#1817
sambles merged 2 commits intomainfrom
fix/fm_empty_layer_with_account_terms

Conversation

@sstruzik
Copy link
Copy Markdown
Contributor

fix IL for ptf with empty Policy layer level and account terms

Fix an issue on the prev_agg_id used for account terms for portfolio with no Policy layer level.

@sstruzik sstruzik self-assigned this Dec 10, 2025
@sstruzik sstruzik added bug Something isn't working LTS - 2.4 labels Dec 10, 2025
@sstruzik sstruzik requested review from Ha-Ree and vinulw December 10, 2025 13:55
Copy link
Copy Markdown
Contributor

@Ha-Ree Ha-Ree left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Instead of doing it after every continue and at the end of the loop, would it not just be easier to call it once at the start and once after the loop ends?
This function definitely needs to be rewritten at some point in my opinion because attempting to understand a 500 line function that could easily be broken down into 10+ smaller easier to digest ones would make it significantly easier to debug and to review

@Ha-Ree Ha-Ree self-requested a review December 16, 2025 10:10
@sambles sambles mentioned this pull request Dec 16, 2025
@sambles sambles merged commit dc38c55 into main Dec 16, 2025
34 of 35 checks passed
@sambles sambles deleted the fix/fm_empty_layer_with_account_terms branch December 16, 2025 13:09
sambles pushed a commit that referenced this pull request Dec 16, 2025
* fix fm empty layer with account terms

* add only account terms test case
@awsbuild awsbuild added this to the 2.4.11 milestone Dec 16, 2025
@awsbuild awsbuild modified the milestones: 2.4.11, 2.5.0, 2.4.12 Feb 8, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working LTS - 2.4

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

very low Insurance Loss values for portfolio with account level terms on version 2.4

5 participants