Skip to content

Start the New Mexico child income tax credit in 2023 - #11035

Open
MaxGhenis wants to merge 1 commit into
mainfrom
codex/history-nm-ctc-onset
Open

MaxGhenis wants to merge 1 commit into
mainfrom
codex/history-nm-ctc-onset

Conversation

@MaxGhenis

@MaxGhenis MaxGhenis commented Nov 16, 2026 •

Copy link
Copy Markdown
Contributor

Start the computed New Mexico child income tax credit in tax year 2023 by dating the existing nm_ctc formula at 2023-01-01. Preserve its calculation body, claimant and child-count rules, annual tax-unit interface and explicit input overrides.

The Legislature created this credit in final 2022 HB163, section 5, physical page 14, for taxable years beginning January 1, 2023. 2023 HB547, section 9, physical page 27, amends that same section. Its section 43(A), physical page 118, retains section 9’s 2023 applicability after the Governor’s deletions.

Add a separate variable-named onset test file and a changelog fragment. Keep the amount parameter and older credit test file byte-for-byte unchanged; #9621 owns the amount/indexing work. This change does not address the $75,001 boundary, child-count rules or the 2032 sunset, and it does not establish a positive 2026 credit amount.

The New Mexico refundable-credit schedule already adds nm_ctc from 2023, and the final state-tax and household refundable-credit routes use that total. The state child-credit reporting list also starts it in 2023. This PR corrects the standalone credit output; these tests do not establish a household-net-income change.

Validation

The RED run used 10 hypothetical return cases. The runner returned $600 in nm_ctc, against the source-derived $0, for each one-child case in 2017–2022; four post-onset controls passed.

Check Actual result Elapsed time
Onset RED 6 failed, 4 passed; exit 1 3.59 s pytest; 57.92 s native
Required make format Exit 0; all 8,447 formatted files unchanged 4.17 s outer wall time
Affected three-file GREEN 33 passed; exit 0 7.07 s pytest; 74.63 s native

RED peaked at 2.75 GB RSS; GREEN peaked at 2.68 GB. The two invocations took 10.66 pytest seconds and 132.55 native seconds; GREEN covers 33 unique passing cases. Local runs use Python 3.14.7, PolicyEngine-US 2.138.2 and Core 3.36.0 on Darwin. These receipts describe the pre-commit fd0a7486 worktree with task changes; they do not establish CI performance or a native run at the committed head.

axiom: https://github.com/TheAxiomFoundation/rulespec-us/issues/1628 queued — the published onset/source amendment extends RuleSpec #1628. Its two proposed semantic companions cover this named credit’s unavailability in 2017–2022 and availability from 2023, subject to unchanged claimant/child conditions. Both remain UNRUN. Historical session-law admission and typed native year mapping remain unverified; no encoder, signing or billed execution follows from this request.

Work in progress: complete independent review and PR CI before merge.

Fixes #11034.

@MaxGhenis
MaxGhenis marked this pull request as ready for review November 16, 2026 15:14
@codecov

codecov Bot commented Nov 16, 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 (6d963d6).
⚠️ Report is 135 commits behind head on main.

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

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.

Start the New Mexico child income tax credit in 2023

1 participant