Book Connecticut child tax rebate in 2021 eligibility year (like RI/NM) - #9274
Book Connecticut child tax rebate in 2021 eligibility year (like RI/NM)#9274DTrim99 wants to merge 2 commits into
Conversation
The Connecticut 2022 child tax rebate (PA 22-118) is determined by the 2021 return, claimed by a separate application, and paid in fall 2022 — it is not a line on the CT-1040. PolicyEngine was applying it as a 2022 non-refundable income-tax credit, reducing 2022 CT income tax and computing eligibility from 2022 data, while it books every other prior-year rebate (ri_child_tax_rebate, nm_2021_income_rebate) in the eligibility year. Move ct_child_tax_rebate to the 2021 refundable-credit list (removed in 2022) and shift its parameters to 2021, mirroring ri_child_tax_rebate. 2022 CT income tax no longer includes the rebate, matching the CT-1040. Zero ct_child_tax_rebate in the two 2021 CT integration tests (TAXSIM35 does not model it), following the ri_child_tax_rebate convention. Fixes PolicyEngine#9270. Surfaced by PolicyEngine/policyengine-taxsim#1127. Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
PavelMakarchuk
left a comment
There was a problem hiding this comment.
The re-booking mechanics themselves check out — parameter start dates, the refundable/non-refundable list moves, the RI/NM analog pattern, no impact on the CT contrib reforms, and the full CT tax suite (136 tests) plus the cross-state income tax suite (67 tests) pass on this branch.
Requesting changes for four findings, detailed inline:
- Phase-out uses
ct_agiinstead of federal AGI (ct_child_tax_rebate.py:13) — PA 22-118 phased out on federal AGI from the 2021 return. Pre-existing line, but this PR is what books the formula into the live 2021 baseline. - Counts all dependents, not children 18 or younger (
ct_child_tax_rebate.py:25) — the program required a dependent child age 18 or younger; cf.ri_child_tax_rebate's age check. - No 2022 sunset on the rebate parameters —
ct_child_tax_rebatereturns $250/child for 2023+ when queried directly. - Stale test name — "Head of household with $170,000 AGI" vs.
ct_agi: 165_000input.
Findings 1 and 2 are the substantive ones: they change real 2021 microsim outputs, and the current unit tests mask both by injecting ct_agi and tax_unit_count_dependents directly.
Sources: CT DRS Child Tax Rebate overview, CT OLR 2026-R-0020
Generated by Claude Code
…-out, age gate, sunset Booking this credit into the live 2021 baseline surfaced three formula/parameter issues: - F1: the phase-out read ct_agi; PA 22-118 phased out on FEDERAL AGI from the 2021 return. Switch the income measure to adjusted_gross_income. - F2: the count used tax_unit_count_dependents (all dependents); the program required a dependent child age 18 or younger. Count only age<=18 tax-unit dependents, RI-style, with a new ct rebate age_limit parameter (18). - F3: the rebate parameters started 2021 with no sunset, so the variable returned phantom nonzero values for 2022+. Sunset amount and child_cap to 0 at 2022-01-01 (one-time rebate). - F4/tests: the prior cases injected ct_agi and tax_unit_count_dependents, masking F1 and F2. Rewrite them to drive federal AGI + real dependents with ages (and fix the 70k/165k name mismatch), and add age-gate, federal-AGI-vs-ct_agi, and 2023-sunset cases. CT tax suite 140/140. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
Fixes applied from @PavelMakarchuk's reviewAll four findings addressed and pushed (CT tax suite 140/140). Thanks — the substantive two were both masked by the injected-input tests, exactly as you noted. F1 — phase-out on federal AGI (fixed)Switched the phase-out income measure in F2 — count only dependent children ≤18 (fixed)Replaced F3 — 2022 sunset (fixed)Added F4 + test coverage
No 2021 parameter values changed. 🤖 Generated with Claude Code |
Fixes #9270. Surfaced by PolicyEngine/policyengine-taxsim#1127.
Problem
The Connecticut 2022 Child Tax Rebate (PA 22-118) is $250/child (max 3), determined by the 2021 return, claimed by a separate application (June–July 2022), and paid in fall 2022 — CT DRS overview. It is not a line on the CT-1040.
PolicyEngine listed
ct_child_tax_rebateamong Connecticut's 2022 non-refundable income-tax credits, so it reduced 2022 CT income tax (e.g. a HoH with one child and CT AGI $54,934: CT income tax 2,094 → 1,844) and computed eligibility from 2022 income/dependents. TaxAct's 2022 CT-1040 shows CT income tax $2,094 with no rebate.PolicyEngine already books the directly analogous prior-year rebates in the eligibility year:
ri_child_tax_rebate(RI's $250/child, 2021-return-based, paid Oct 2022) andnm_2021_income_rebateare both in their 2021 refundable lists. Connecticut's was the outlier.Fix
Mirror
ri_child_tax_rebate:ct_child_tax_rebatefromct/tax/income/credits/non_refundable.yaml(2022).ct/tax/income/credits/refundable.yamlunder2021-01-01(removed 2022) — refundable, since the rebate is a check paid regardless of tax liability.amount,child_cap,reduction/*) from2022-01-01to2021-01-01, so eligibility is computed from 2021 income/dependents.ct_child_tax_rebateunit tests to period 2021 (amounts unchanged).ct_child_tax_rebatein the two 2021 CT integration tests (their expectedct_income_taxcomes from TAXSIM35, which does not model the rebate) — following the existingri_child_tax_rebate: 0convention in the RI integration test.Result
2022 CT income tax no longer includes the rebate ($2,094, matching the CT-1040), and Connecticut is consistent with the eligibility-year treatment PolicyEngine uses for Rhode Island and New Mexico. Full CT baseline suite passes.