Open hdoupe opened 4 years ago
This looks like an error caused by the user toggling off CPI indexing for the 6th income bracket.
The income thresholds in the fifth bracket are capped at whatever the income thresholds are in the sixth bracket. Similarly, the minimum income threshold in the sixth bracket is set to the threshold in the fifth bracket. By toggling off CPI for the sixth bracket, they've locked the income thresholds for the sixth bracket. However, the income threshold for the fifth bracket keep increasing according to inflation. In 2020 and beyond inflation causes the income threshold in the fifth bracket to exceed those in the sixth bracket, causing the error.
There's not much we can do here except maybe try and reformat the error message so that it's more clear to the user what happened.
links:
representative traceback:
inputs: