Skip to content

Correct Wyoming POWER’s student earnings exclusion and married-couple disregard - #11475

Draft
MaxGhenis wants to merge 4 commits into
mainfrom
wy-power-student-earnings-and-couple-disregard
Draft

MaxGhenis wants to merge 4 commits into
mainfrom
wy-power-student-earnings-and-couple-disregard

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Dec 1, 2026 •

Copy link
Copy Markdown
Contributor

Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.

What and why

Exclude the monthly earnings of dependent full-time high school students under 18 who live with a caretaker relative and are not minor parents. wy_power_student_earnings_exempt.py:27 decides this each month from monthly_age, secondary-school enrollment, full-time status and is_parent. It does not require tax-unit dependency. It treats a parent named in the same household as the caretaker relative, which is an inference. Callers can set the monthly wy_power_student_earnings_exempt input when those inputs miss the facts. Examples are care by another relative, a parent who gives no care, and a change in attendance or parenthood. wy_power_countable_earned_income.py:18 applies the exclusion. W.S. 42-2-104(b), PDF page 15, ties caretaker status to a residence the relative maintains. The current administrative rule addresses dependent students on PDF pages 44 and 49. The archived September 2008 rule already included the exclusion on PDF page 82. The 2013 enrolled act amended other parts of §42-2-202 on PDF page 1. The statute names no school level, while the rule and manual say high school. The us-wy:power-student-earnings-school-type candidate in source_conflicts/candidates.yaml records the broader reading. W.S. 42-2-202(d)(iii), PDF page 25 · Current administrative rule · Archived rules · 2013 enrolled act

Apply the $1,200 disregard when both spouses and their common dependent child are in the assistance unit, as POWER rules Ch. 1 §9(a)(v)(B), PDF page 46, and DFS §906.B.2 require. The statute sets the $600 and $1,200 amounts. wy_power_earned_income_disregard.py:19 reads the monthly wy_power_has_qualifying_married_couple flag. Its formula at wy_power_has_qualifying_married_couple.py:25 finds a common child from parent IDs and marital units. A child under 18 counts as dependent, and so does an 18-year-old in secondary school; that use of school enrollment is an inference. Callers can set the flag when parent IDs are missing or name a stepparent who is not an adoptive parent. The us-wy:power-married-couple-child-in-common candidate records the broader statutory reading, which gives $1,200 to any married couple in one unit.

DFS §506 also lets unmarried parents with a child in common, and blended families, form one unit. A unit without spouses and their common child gets the $600 disregard. For two working unmarried parents, the model applies one $600 disregard to the unit's total earnings. This is an interpretation of the rule's unit budget steps and DFS §1101.E–F, which deduct one amount. The us-wy:power-unmarried-earners-disregard candidate records the per-worker reading in DFS §906.B.1, which leaves $400 instead of $900 on wages of $1,000 and $500. The current amounts took effect July 1, 2015, under chapter 187, PDF pages 612–613. W.S. 42-2-103(e)(iv), PDF page 10 · DFS Manual §506 · DFS Manual §§901 and 906 · 2015 Session Laws

Test plan

July 2026 regression Main disregard / countable income Branch disregard / countable income
Dependent full-time high school student (wy_power_countable_earned_income.yaml:178) $600 / $700 $600 / $100
Unmarried parents, one working (wy_power_earned_income_disregard.yaml:190) $1,200 / $0 $600 / $400
Unmarried parents, both working (wy_power_earned_income_disregard.yaml:225) $1,200 / $300 $600 / $900

Other cases check these Branch results:

  • wy_power_countable_earned_income.yaml:208: a full-time high school student whom nobody claims for taxes earns $600, and their mother earns $700. The unit has $100 countable and a $747 grant.
  • :238: a sibling's household counts $700 in July. With wy_power_student_earnings_exempt set for August, it counts $100.
  • :260: a student whose parent lives in another household gets no exclusion. The two units count $0 and $300.
  • :282: a student who turns 18 in August leaves $100 countable in July and $700 in August.
  • :303: college-only, part-time and minor-parent earnings all count, leaving $700.
  • wy_power_earned_income_disregard.yaml:261: a married blended family with no common child and one $1,600 earner gets $600, has $1,000 countable and fails the income test.
  • integration.yaml:504: a January 2026 married couple expecting their first child gets $600, has $900 countable, fails the $847 standard and receives $0. Main gives $1,200, $300 countable and a $547 grant. wy_power_earned_income_disregard.yaml:68 checks the same $600 disregard.

The grant calculation at wy_power.py:16 subtracts countable income from the payment standard. For these shelter-qualified households, that gives $847 − $100 = $747 for the student household and $902 − $400 = $502 for the unmarried parents with one worker. The July 2026 Table II standards of $882 and $939 would give $782 and $539. This PR leaves the standards unchanged. DFS Manual §1101 · July 2026 Table II · Published table image

  • Source-derived YAML regressions. All ten Wyoming POWER YAML files, 158 cases, pass on the branch and on a merge with main.
  • Three source-conflict candidates (unmarried earners, married couple with a common child, school type) and 251 passing source-conflict guard checks.
  • make format, plus ruff format --check and ruff check on the four changed Python files.
  • Each of five conditions (caretaker residence, no tax-dependency requirement, monthly age, high school only, common child) has a regression that fails when the condition is reversed.
  • Changelog fragment.

#10764 changes POWER unearned income and #10639 changes the POWER resource test. #10700, #10532, #10382, and #9557 affect other Wyoming programs. #10700 and #10532 each also edit source_conflicts/candidates.yaml. The other four share no files with this PR.

Not done yet:

  • The disregard parameters apply $600 and $1,200 from July 2009. Chapter 187 raised them from $200 and $400 on July 1, 2015, so cases from July 2009 through June 2015 get $600 and $1,200 instead of $200 and $400.
  • The shelter-qualified standards keep the July 2025 amounts in July 2026, below Table II's $882 and $939 for units of two and three.
  • The resource test counts all cash assets as one total. It does not exclude a student's earnings saved for education and kept apart from other funds, which W.S. 42-2-202(d)(iii) and the POWER rules (PDF pages 21 and 60) exclude. A household with $4,900 in ordinary assets and $600 in such savings fails the $5,000 limit instead of passing.
  • The student and married-couple determinations are not yet encoded in Axiom.

axiom: needed

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 02:06
Exclude earnings for dependent full-time students under 18 who live with a caretaker relative and have no children. Apply the larger disregard when both spouses are in the assistance unit.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Dec 1, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (8999568) to head (1d7b6f0).
⚠️ Report is 414 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11475   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         4    +3     
  Lines           24        66   +42     
=========================================
+ Hits            24        66   +42     
Flag Coverage Δ
unittests 100.00% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

MaxGhenis and others added 2 commits December 1, 2026 14:29
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>

This branch has not been deployed

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant