Skip to content

Ls benefit unit bug fix#487

Closed
LiangShi369 wants to merge 2 commits into
simpaths:developfrom
LiangShi369:LS_BenefitUnit_BugFix
Closed

Ls benefit unit bug fix#487
LiangShi369 wants to merge 2 commits into
simpaths:developfrom
LiangShi369:LS_BenefitUnit_BugFix

Conversation

@LiangShi369

Copy link
Copy Markdown
Contributor

yBenAmountMonth is monthly benefit receipt at the benefit-unit level. It comes from the tax-benefit evaluation:
TaxEvaluation.getBenefitsReceivedPerMonth().
Hence the correct assignment is:
yBenAmountMonth = chosenEval.benefitsReceivedPerMonth;

The old assignment was mismatched:
yPensYear = chosenEval.benefitsReceivedPerMonth;
It put a monthly benefit-transfer value into the annual pension-income variable.

yBenAmountMonth is monthly benefit receipt at the benefit-unit level. It comes from the tax-benefit evaluation:
    TaxEvaluation.getBenefitsReceivedPerMonth().
Hence the correct assignment is:
    yBenAmountMonth = chosenEval.benefitsReceivedPerMonth;

The old assignment was mismatched:
    yPensYear = chosenEval.benefitsReceivedPerMonth;
It put a monthly benefit-transfer value into the annual pension-income variable.
@LiangShi369 LiangShi369 reopened this Jun 10, 2026
@dav-sonn dav-sonn closed this Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants