Repository navigation
Conversation
Co-Authored-By: GPT-6.2 Sol <noreply@openai.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #11512 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 1 1
Lines 24 15 -9
=========================================
- Hits 24 15 -9
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Agent-written for Max, by a Codex cloud task and Claude Code for Max Ghenis; no person has reviewed it yet.
What and why
Use
monthly_agein the payment month for the New Mexico SSI state supplement’s age test (nm_ssi_state_supplement_eligible.py:22). A person who omits monthly age falls back to their own annual age, even when someone else in the household supplies one. A supplied monthly age of zero stays zero.preprocess_situationinsystem.pycallspreserve_partial_monthly_agesintools/monthly_age.py. When only some people supplymonthly_agefor a month, it moves their values to the hidden inputreported_monthly_ageand marks them in the hidden inputhas_reported_monthly_age. Themonthly_ageformula uses the reported value where one exists and annual age otherwise. Without this step, an omitted monthly age reads as zero when another household member supplies one. Other programs that readmonthly_ageget the same per-person fallback. A situation with anymonthly_ageinput keyed to a period longer than a month, or with amonthly_ageaxis, skips this step and keeps Core’s existing handling.SSA’s New Mexico scope of coverage excludes children under 18 from optional supplementation. SSA New Mexico, Scope of coverage
Sections 8.106.500.10(A)–(C) NMAC require SSI receipt and licensed residential care and set the payment at $100 per month. New Mexico Administrative Code
The NM Works resource tests in #10639 and the Premium Assistance FPL change in #10328 share no files with this change. The Census income changes in #10726 also edit
policyengine_us/system.pyand conflict with this change at the household input hook.Not done yet: the supplement has no Axiom encoding.
nm_ssi_state_supplement_historical.yamlcites SSA POMS pages for its 2017–2019 rates, but those pages omit New Mexico, so those rates need a New Mexico source. The July 2004 start date inmin_age.yamlandamount.yamlis also unverified.Test plan
The birthday and care cases start at
nm_ssi_state_supplement_eligible.yaml:149,:177, and:197. Each cell gives eligibility and payment.The cases at
:226,:254,:273,:291, and:310give these branch results. All residents live in licensed care, and all except the one at:254receive $500 in SSI.:226: one resident supplies monthly age 70 and the other omits it with annual age 18. Both are eligible and get $100.:254: computed SSI is −$1 and SSI receipt is not reported. Not eligible, $0.:273: monthly age is 17 in June 2026 and 18 in July. June pays $0, July pays $100, and the 2026 total is $100.:291: a supplied monthly age of 0. Not eligible, $0.:310: one resident supplies monthly age 0 and the other omits it with annual age 18. The first gets $0 and the second gets $100.All 38 YAML files that use
monthly_age,nm_ssi_state_supplement_eligible, ornm_ssi_state_supplementpass on the branch and on its merge with main, 454 cases in all.With the
monthly_ageformula change removed, the:310case fails because the resident who supplied monthly age 0 gets annual age 18.The source-conflict check passes. A register entry and marker are inapplicable because the sources agree.
make formatleaves every file unchanged, andruff format --checkandruff checkpass on the changed Python files.Changelog fragment in
changelog.d/.axiom: needed
🤖 Generated with Claude Code