Skip to content

Count available real estate equity and correct Wyoming POWER’s historical resource limit - #11411

Merged
MaxGhenis merged 4 commits into
mainfrom
wy-power-real-estate-resources
Dec 3, 2026
Merged

MaxGhenis merged 4 commits into
mainfrom
wy-power-real-estate-resources

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

Wyoming POWER compares each assistance unit’s combined cash and available nonexempt real estate equity to the applicable resource limit. It rounds the total to cents. A total at the limit passes (wy_power_resources_eligible.py:15–22). Wyoming DFS SNAP and POWER Policy Manual, §§801 and 806

Supply wy_power_countable_real_estate_equity for each assistance unit as of the first of each month. Add each available, nonexempt parcel’s positive equity after its own legal encumbrances. Exclude the occupied home and connected land. The cap is $2,500 through June 2016 and $5,000 from July 1, 2016 (wy_power_countable_real_estate_equity.py:16–21, limit.yaml:4–5). Wyoming DFS SNAP and POWER Policy Manual, §§801–802 and 806 · House Enrolled Act 43, PDF p. 2 · 2016 bill docket · Wyoming Statutes, Title 42 · DFS cash assistance requirements

Test plan

The 2026 households have an adult age 30, a child age 10, and shelter qualification. The benefit column shows model output. The published July 2026 schedule lists an $882 maximum for a shelter-qualified two-person unit. DFS Table II · July 2026 schedule, two-person row

Case Main Branch
June 2026, $5,001 cash Resources fail, ineligible, $0 Resources fail, ineligible, $0
July 2026, $5,000 equity Resources pass, eligible, $847 Resources pass, eligible, $847
July 2026, $5,001 equity Resources pass, eligible, $847 Resources fail, ineligible, $0
June 2016, $1 cash and $5,000 equity Resources pass Resources fail ($5,001 exceeds $2,500)
July 2016, $1 cash and $5,000 equity Resources pass Resources fail
July 2016, $5,001 cash and −$1 equity Resources fail Resources fail
  • Source-derived cases in wy_power_resources_eligible.yaml:37–223 cover both 2016 limits, assistance-unit ownership, separate parcels, first-day monthly balances, and cent boundaries.
  • Source-conflict check. The statute sets the cap and the manual specifies the asset valuation.
  • ruff format --check . and ruff check .
  • Changelog fragment.

#10639 overlaps in the resource formula and YAML. When integrating it, preserve rounding of the combined balance and both the cash-only and mixed-asset boundary cases.

Follow-ups: #11714

axiom: TheAxiomFoundation/rulespec-us#2944 queued

🤖 Generated with Claude Code

MaxGhenis and others added 2 commits December 1, 2026 00:46
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 (e3959ef).
⚠️ Report is 449 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff            @@
##              main    #11411   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files            1         2    +1     
  Lines           24        26    +2     
=========================================
+ Hits            24        26    +2     
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.

Count available real estate equity by assistance unit and month. Apply the historical resource caps and compare combined assets at cent precision.

Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
@MaxGhenis MaxGhenis changed the title Count non-home real estate equity toward Wyoming POWER’s resource limit Count available real estate equity and correct Wyoming POWER’s historical resource limit Dec 1, 2026
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@MaxGhenis

Copy link
Copy Markdown
Contributor Author

US + core hub merge audit for #11411 at exact head e3959ef505ee20c44757bbbd792b14e28202a446.

  • Classification & approval: Feature/bug fix adding wy_power_countable_real_estate_equity and correcting Wyoming POWER's historical resource limit ($2,500 through June 2016, $5,000 from July 1, 2016) with inclusive cent-boundary check; zero judgment/decision blockers and zero file overlap with main since merge base.
  • Independent review: Codex Sol lane (port-1203 27414) returned VERDICT: APPROVE at e3959ef505ee20c44757bbbd792b14e28202a446 (0 P0, 0 P1; non-blocking P2 follow-up notes tracked in #11714).
  • CI: 38/38 checks passed on e3959ef505ee20c44757bbbd792b14e28202a446, 0 failures, 0 skipped, MERGEABLE, latest Pull request workflow run 46655530656 concluded success.
  • Local verification on merged main (477773e4e9d2be5fc115e1a57e8e255b33e97d98 + e3959ef505):
    • wy_power_resources_eligible.yaml: 14 passed, 1 warning
    • policyengine_us/tests/policy/baseline/gov/states/wy: 503 passed, 1 warning
    • test_no_engine_time_randomness.py: 20 passed
    • test_no_group_variables_in_person_adds.py: 10 passed
    • test_source_conflicts.py: 251 passed
  • Axiom parity & follow-up: axiom: TheAxiomFoundation/rulespec-us#2944 queued; follow-up #11714.

@MaxGhenis
MaxGhenis deleted the wy-power-real-estate-resources branch December 3, 2026 14:34
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