Repository navigation
Conversation
…h in PA eligibility income 72 P.S. 7301(o.2) counts all moneys received, including interest on obligations exempt under U.S. law, and the 2025 Schedule SP instructions add exempt federal obligation income (line 2), life and other insurance proceeds (line 4), nontaxable scholarships and educational grants (line 9) and payments from persons outside the household (line 10). Add us_govt_interest_person, life_insurance_benefits, educational_assistance and financial_assistance to the eligibility income sources. Move the six PA cases from the #10812 audit and add joint, dependent and forgiveness boundary cases. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This branch has not been deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Part of #10812 (state credit income audit).
What was wrong
pa_eligibility_income(PA-40 Schedule SP, Section III) is PA taxable income plus alimony, tax-exempt interest, military survivor annuities and strike benefits. 72 P.S. 7301(o.2) defines poverty income as "all moneys or property (including interest, gains or income derived from obligations which are statutorily free from State or local taxation ... under the laws of the United States) received of whatever nature and from whatever source derived", less seven listed exclusions. 61 Pa. Code 101.1 ("Poverty income" (ii)) lists "interest received, whether taxable or nontaxable", "life insurance proceeds", "gifts of cash or property" and "educational stipends". The model left out four receipts that the 2025 PA-40 instructions (Schedule SP, page 38) put on their own lines:nontaxable_income_sources, and eligibility income never added it back.None of the seven exclusions in 7301(o.2) covers these receipts, and the Tax Forgiveness guide (pages 5-6) lists each of them as eligibility income.
What changes
gov.states.pa.tax.income.forgiveness.eligibility_income_sourcesgains four entries, each with a comment citing its Schedule SP line and the statute or regulation:us_govt_interest_personlife_insurance_benefitseducational_assistancefinancial_assistanceus_govt_interest_person, not the tax-unitus_govt_interest.pa_eligibility_incomesums its sources withtax_unit_non_dep_add, so only the claimant's and spouse's interest counts. A dependent child with income files their own Schedule SP (2025 Schedule SP instructions, page 6).pa_tax_forgiveness_rate,pa_tax_forgiveness_amountandpa_income_taxfollow from the higher eligibility income.Who is affected
Pennsylvania filers who claim Tax Forgiveness, owe PA tax, and whose own or spouse's income includes any of the four receipts. Their eligibility income rises by the amount received. Each $250 over the Table 1 or Table 2 limit cuts forgiveness by 10 points ($6,500 unmarried and $13,000 married, plus $9,500 for each dependent child), so a receipt can lower forgiveness or end it. Their PA income tax rises by the forgiveness they lose. Students with scholarships or grants and widowed claimants with life insurance proceeds are the most likely groups. No one's eligibility income falls.
Tests
pa_eligibility_income.yaml:pa_total_taxable_income.pa_eligibility_income.yaml: all four receipts together, 5,000 + 1,000 + 10,000 + 4,000 + 2,000 = 22,000 (Case 11); Treasury interest as the only income, where PA taxable income is 0 and eligibility income 3,000 (Case 12); a joint return where the spouse has 500 of Treasury interest, 3,000 of life insurance and 1,000 of cash from relatives, 9,500 (Case 13); a dependent child's scholarship, gifts and insurance proceeds left out of the claimant's 5,000 (Case 14).pa_tax_forgiveness_rate.yaml, at the unmarried limit (Eligibility Income Table 1, 2025 PA-40 instructions page 39): 6,000 of wages plus 500 of life insurance is 6,500, which "does not exceed" $6,500, so forgiveness is 100%; 6,000 plus 501 of cash from a relative is 6,501, so forgiveness is 90%. An unmarried claimant with one dependent child, 15,000 of wages and a 1,250 scholarship is at 16,250, the 90% line.spm_unit_benefits, SNAP heat-and-eat, school meal countable income, the PA rent rebate aggregate,state_income_tax_excludes_use_tax,state_agi, the Philadelphia wage tax). 415/415 code-health tests passed: the source-conflict guard, parameter keys, reference URLs (known dead, concatenated) and group variables in person adds. No partner test readspa_eligibility_incomeor its sources or has a Pennsylvania household, so none was run. No Python file changed.Overlap
pa_eligibility_income.yamland a second reference topa_eligibility_income.py. This PR appends cases at the bottom of the test file and leaves the variable file alone.git merge-treeagainst Keep dependents’ capital income off state returns and fix filer tax #9894's head shows no conflict. Keep dependents’ capital income off state returns and fix filer tax #9894 also limits the tax-unitus_govt_interestto the head and spouse. This PR adds the person-level variable, so the Treasury interest it adds back is the same with or without Keep dependents’ capital income off state returns and fix filer tax #9894.Not in this PR
Other Schedule SP lines from the #10812 audit:
pa_total_taxable_incomesubtracts the tax-unitus_govt_interest, which on main sums dependents too, so a dependent's Treasury interest lowers the claimant's PA taxable income. Keep dependents’ capital income off state returns and fix filer tax #9894 fixes that. A test for it should follow Keep dependents’ capital income off state returns and fix filer tax #9894.pell_grantis a computed benefit and may overlapeducational_assistancein survey data, so it isn't added. Tuition reductions under an employer plan (line 9) have no input.taxable_elective_deferral_sources.yaml).axiom: TheAxiomFoundation/rulespec-us#2932 queued
🤖 Generated with Claude Code