Skip to content

dependent_gross_income counts a dependent's excluded 2020 unemployment compensation in the IRC 152(d)(1)(B) test #10912

Open

Description

@MaxGhenis

The law

For a taxable year beginning in 2020, 26 U.S.C. 85(c)(1) provides that "the gross income of such taxpayer shall not include" up to $10,200 of their unemployment compensation when their AGI, figured under (c)(2), falls below $150,000.

26 U.S.C. 152(d)(1)(B) makes an individual a qualifying relative only if their "gross income for the calendar year in which such taxable year begins is less than the exemption amount (as defined in section 151(d))". Rev. Proc. 2019-44, section 3.25, sets that amount at $4,300 for 2020.

So for 2020, the compensation that § 85(c) excludes from an individual's gross income stays out of the gross income the test compares with $4,300. The individual's own § 85(c)(2) AGI decides how much they exclude.

What PolicyEngine-US does

#10175 leaves dependent_gross_income.py unchanged, so it reads the same at main 7acc38c2ac and at the PR's head d3f91beaf6. Its DEPENDENT_GROSS_INCOME_SOURCE_OVERRIDES maps taxable_unemployment_compensation to total_unemployment_compensation, so dependent_gross_income counts all of a dependent's compensation. is_qualifying_relative_dependent compares that total with gov.irs.income.exemption.amount, which holds $4,300 for 2020.

For example, take a 2020 tax unit in which the filer claims their 70-year-old mother, who has $8,000 of unemployment compensation and no other income. Her own § 85(c)(2) AGI comes to $0, so § 85(c)(1) excludes all $8,000 and leaves her gross income at $0, under $4,300. PolicyEngine-US counts $8,000, so she fails the income test, and head_of_household_eligible can't count her as a qualifying relative.

Why the override reads total compensation

Reading taxable compensation there would close a cycle, as the file's header comment says: taxable compensation depends on filing_status, which depends on this variable through the qualifying relative test.

The header comment's word "allocate" no longer fits unemployment compensation at d3f91beaf6.

Proposed fix

After #10175 merges, dependent_taxable_uc_agi gives a dependent's own § 85(c)(2) AGI without reading the tax unit's filing_status. A dependent-only exclusion can build on it: min(max(0, compensation), $10,200) when that AGI falls below the single cutoff, or the separate cutoff for a dependent who lives with their spouse. Subtract it from the compensation dependent_gross_income counts, and confirm the new path adds no cycle. Leave DEPENDENT_GROSS_INCOME_SOURCE_OVERRIDES unchanged, since dependent_income_and_deductions reads it and the § 86(b)(2) and § 219(g) amounts count all of the compensation.

Two Montana variables assume dependent_gross_income counts all of a dependent's compensation, so the same change has to update them:

TheAxiomFoundation/rulespec-us#1475 queues the § 152(d)(1)(B) test in rulespec-us.

Tests to add

For 2020, with the mother above as a tax-unit dependent and no other income:

Her compensation Excluded Gross income Under $4,300?
8,000 8,000 0 yes
12,000 10,200 1,800 yes
14,500 10,200 4,300 no
−500 0 0 yes

For 2021, $8,000 of compensation gives gross income of $8,000 and fails the test. Montana's dependent gross income and the elderly credit's household income should come out unchanged for each case.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions