Question about West Virginia senior citizen deduction #3786
-
In the 0.639.0 version, the code for the I don't understand the logic of line 20 or the following three-line comment. The form caps at $8000 not AGI but AGI less other modifications. Because I don't understand the "we can mathematically derive this condition" business, I wonder if the logic is incorrect. Can you explain the comment to me? |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments
-
@martinholmer the comment explains that we only implicitly model the following law passage: If the amount of Let me know if we are making a mistake here thinking about the cap. |
Beta Was this translation helpful? Give feedback.
-
@PavelMakarchuk, Thanks for the explanation in issue #3773. |
Beta Was this translation helpful? Give feedback.
@martinholmer the comment explains that we only implicitly model the following law passage:
If the amount of
wv_senior_citizen_disability_deduction_total_modifications
increase over $8,000 per person, that person should be ineligible.Instead of including another parameter for the $8,000 limit and checking the modifications against that, we reduce the amount of applicable capped AGI (max $8,000) by the amount of modifications until it reaches 0.
Let me know if we are making a mistake here thinking about the cap.