windfall-elimination icon indicating copy to clipboard operation
windfall-elimination copied to clipboard

AIME Calculations fails on sub-35 earnings records

Open nvanwitt opened this issue 6 years ago • 1 comments

The getAIMEFromEarnings calculation expects that the user provides an earnings record with, at minimum, 35 years. If the user has <35 records, the output will be NaN on the final value page.

Currently setting up a testing framework so we can refactor the code for this.

nvanwitt avatar Nov 06 '19 01:11 nvanwitt

#129 is the test case for this to see if we've fixed it.

thadk avatar Dec 04 '19 04:12 thadk