Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Minnesota working family credit: filers 65+ whose only qualifying child is 18 or older get $0

Open
#9,951 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 2 days

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
72/100
Issue type
Bug
Clarity
Clearly specified
Activity status
Active
Tech stack
python
Domain
backend

Research direction

Start by reading mn_wfc_eligible and the qualifying-child logic referenced in the issue, including the credit formula in #9643; use the supplied reproduction as the first check. Add or update tests for a filer aged 65+ with a qualifying child aged 20 and for the existing age-boundary behavior. Done when the Minnesota credit matches the expected $1,379.20 and the eligibility tests pass.

Written by the indexing model from the issue text.

Description

bug

Summary

mn_wfc_eligible decides whether a filer with children can get the Minnesota working family credit by tax_unit_children > 0, which counts only people under 18. A filer whose only qualifying children are 18 or older (a student aged 19-23, a disabled adult child, or, with #9922, an 18-year-old) is then treated as childless, and the childless-adult age range (25-64) applies. A filer aged 65 or older with such a child gets $0, although the federal EITC pays.

Repro (main, 2025)

from policyengine_us import Simulation
def run(head_age):
    s = Simulation(situation={"people": {
        "h": {"age": {2025: head_age}, "employment_income": {2025: 10_000}},
        "k": {"age": {2025: 20}, "is_tax_unit_dependent": {2025: True}, "is_full_time_student": {2025: True}}},
        "tax_units": {"t": {"members": ["h", "k"]}},
        "households": {"hh": {"members": ["h", "k"], "state_code": {2025: "MN"}}}})
    return s.calculate("eitc", 2025)[0], s.calculate("mn_child_and_working_families_credits", 2025)[0], s.calculate("mn_wfc_eligible", 2025)[0]
print(run(40))  # (3400.0, 1379.2, True)
print(run(66))  # (3400.0, 0.0, False)

The 66-year-old has a federal EITC qualifying child (a 20-year-old full-time student) and gets the $3,400 federal EITC, but $0 Minnesota credit. The statute gives $379.20 + $1,000 (qualifying older child) = $1,379.20, as for the 40-year-old.

Law

Minn. Stat. 290.0671, subd. 1(a) allows the working family credit to an individual "who is eligible for the credit under section 32 of the Internal Revenue Code" (with the Minnesota modifications in subd. 1a). Under 26 U.S.C. 32(c)(1)(A), the age range applies only to an eligible individual who does not have a qualifying child; with a qualifying child (any 32(c) qualifying child, including students under 24 and disabled children of any age) there is no filer age limit.

Expected fix

Test for a 32(c) qualifying child in mn_wfc_eligible (for example is_qualifying_child_dependent / is_eitc_qualifying_child, as #9643 uses in the credit formula), not tax_unit_children.

Found while reviewing #9922.

Dominant language
Python
Stars
168
Forks
216
Avg merge
3d 7h
Merged PRs (30d)
330

Getting set up

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from PolicyEngine/policyengine-us

All issues in PolicyEngine/policyengine-us

Similar issues

More Python issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.