Skip to content

The model leaves cancelled debt, taxable state tax refunds and Roth conversions out of North Dakota renter's refund income #10896

Open

Description

@MaxGhenis

The model builds nd_renters_refund_income from market_income, social security, unemployment compensation and general assistance. It counts cancelled debt (debt_relief), taxable state and local tax refunds (salt_refund_income) and taxable Roth conversions (taxable_roth_conversions) in federal gross income. It leaves all three out of market_income, so none of them reaches renter's refund income.

For example, the model gives a single 70-year-old North Dakota renter with $34,000 of social security and $9,000 of rent a $537.39 refund for 2026, on renter's refund income of $31,565.20. If they also have $5,000 of cancelled debt, a $5,000 taxable state tax refund or a $5,000 Roth conversion, the model keeps their renter's refund income at $31,565.20 and the refund at $537.39. With the same $5,000 in wages, the model raises that income to $36,565.20 and cuts the refund to $337.39. With a $20,000 Roth conversion it still gives a $537.39 refund, and with $20,000 in wages it gives none.

Users who enter any of the three in a household calculation get these results. We record taxable state tax refunds in the default dataset, but no cancelled debt or Roth conversions. Three of its North Dakota records hold such a refund for a person aged 65 or older in a renting household, so the gap can reach results built on it too.

What the law says

  • North Dakota refunds the part of 20% of rent that exceeds 4% of income, up to $600 (N.D.C.C. 57-02-08.1(2)(b)).
  • The state counts "income for the most recent complete taxable year from all sources" (N.D.C.C. 57-02-08.1(5)(c)). It leaves out federal rent subsidies, unreimbursed medical costs and "any amount excluded from income by federal or state law with the exception of income from social security benefits".
  • Congress includes cancelled debt in gross income (IRC 61(a)(11)) unless IRC 108(a) excludes it, and it includes a Roth conversion (IRC 408A(d)(3)(A)(i)). Under IRC 111(a), Congress leaves a state tax refund out of gross income only to the extent the earlier deduction did not reduce tax.
  • In its program guideline, the Tax Commissioner writes that "Income from all sources is considered" (item 8) and holds renters to the same income test (item 37). Neither its open list of income (item 10) nor its open list of non-income items (item 11) names any of the three.
  • We read the statute to count all three, since federal law includes each in gross income and none falls under the statute's exclusions.

In the code

Reproduction

At 935b24f, this script:

from policyengine_us import Simulation

YEAR = 2026


def run(people, tax_unit_extra=None, state="ND", outputs=(), year=YEAR):
    members = list(people)
    adults = [n for n in members if people[n].get("age", 40) >= 18][:2]
    marital = {"m": {"members": adults}}
    for n in members:
        if n not in adults:
            marital[f"m_{n}"] = {"members": [n]}
    situation = {
        "people": {name: {k: {year: v} for k, v in attrs.items()} for name, attrs in people.items()},
        "tax_units": {"tu": {"members": members, **{k: {year: v} for k, v in (tax_unit_extra or {}).items()}}},
        "families": {"f": {"members": members}},
        "spm_units": {"s": {"members": members}},
        "marital_units": marital,
        "households": {"h": {"members": members, "state_code": {year: state}}},
    }
    sim = Simulation(situation=situation)
    return {o: float(sim.calculate(o, year).sum()) for o in outputs}


def fmt(d):
    return ", ".join(f"{k}={v:,.2f}" for k, v in d.items())


base = {"age": 70, "social_security_retirement": 34_000, "rent": 9_000}
out1 = ["nd_renters_refund_income", "nd_renters_refund", "irs_gross_income"]
for label, extra in [
    ("base", {}),
    ("+ employment_income 5,000 (control)", {"employment_income": 5_000}),
    ("+ debt_relief 5,000", {"debt_relief": 5_000}),
    ("+ salt_refund_income 5,000", {"salt_refund_income": 5_000}),
    ("+ taxable_roth_conversions 5,000", {"taxable_roth_conversions": 5_000}),
    ("+ employment_income 20,000 (control)", {"employment_income": 20_000}),
    ("+ taxable_roth_conversions 20,000", {"taxable_roth_conversions": 20_000}),
]:
    print(f"{label:38s}", fmt(run({"you": {**base, **extra}}, outputs=out1)))

prints:

base                                   nd_renters_refund_income=31,565.20, nd_renters_refund=537.39, irs_gross_income=0.00
+ employment_income 5,000 (control)    nd_renters_refund_income=36,565.20, nd_renters_refund=337.39, irs_gross_income=5,000.00
+ debt_relief 5,000                    nd_renters_refund_income=31,565.20, nd_renters_refund=537.39, irs_gross_income=5,000.00
+ salt_refund_income 5,000             nd_renters_refund_income=31,565.20, nd_renters_refund=537.39, irs_gross_income=5,000.00
+ taxable_roth_conversions 5,000       nd_renters_refund_income=31,565.20, nd_renters_refund=537.39, irs_gross_income=5,000.00
+ employment_income 20,000 (control)   nd_renters_refund_income=51,565.20, nd_renters_refund=0.00, irs_gross_income=27,050.00
+ taxable_roth_conversions 20,000      nd_renters_refund_income=31,565.20, nd_renters_refund=537.39, irs_gross_income=27,050.00

Fix

We could count them by adding debt_relief, salt_refund_income and taxable_roth_conversions to income_sources.yaml, since the formula's add sums person inputs over the tax unit. In #10663 we kept all three out of market_income, which feeds SPM resources, so a change there would also move SPM results. #10697 lists the same gap among its follow-ups, and open PR #10724 edits the same list.

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