windfall-elimination
windfall-elimination copied to clipboard
AIME Calculations fails on sub-35 earnings records
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.
#129 is the test case for this to see if we've fixed it.