Fix Vermont CDCC: TY2022 AGI cap, low-income credit sunset, and pre-2022 24% nonrefundable credit#8884
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #8884 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 3 2 -1
Lines 55 30 -25
Branches 0 1 +1
=========================================
- Hits 55 30 -25
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:
|
…% nonrefundable credit 2022 Act 138, Sec. 3 raised the 32 V.S.A. 5828c match from 50 to 72 percent for 2022 while retaining the low-income AGI cap ($30,000, or $40,000 married filing jointly); 2023 Act 72, Sec. 14 removed the cap effective 2023. vt_cdcc paid 72 percent to all filers from 2022, over-granting above-threshold TY2022 filers - it now gates on the low-income AGI test when income_limit_in_effect. The 50 percent low-income credit ends after 2021 (rate to zero, per the same Act 138 amendment), and it is removed from the 2022+ state_cdccs registry entries, which had double-listed both Vermont credits in the aggregate. Adds vt_nonrefundable_cdcc: through 2021, 32 V.S.A. 5822(d)(1) matched 24 percent of the federal CDCC as a nonrefundable credit (struck by Act 138, Sec. 2); low-income-eligible filers take the 5828c credit in lieu of it. Previously above-threshold pre-2022 filers received nothing. Closes PolicyEngine#8879 Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Completion review (rebased onto
|
MaxGhenis
left a comment
There was a problem hiding this comment.
Fable review + agent verification: all three VT claims verified verbatim against enacted 2022 Act 138 and the current codified statute — §5822(d)(1) 24% nonrefundable credit through TY2021, §5828c TY2022 $30k/$40k AGI cap at 72% refundable with the certified-facility requirement, and the 2023 Act 72 removal. VT tree 170 + CDCC 74 tests green; the one red was the runner-killed shard, rerun clean.
Summary
Fixes the three Vermont CDCC divergences confirmed by verbatim reading of the enacted acts (#8879, part of the #8826 state CDCC verification). All three are grounded in the act texts quoted below.
Closes #8879
Regulatory basis
2022 Act 138, Sec. 3 amended 32 V.S.A. § 5828c for TY2022 to read:
2023 Act 72, Sec. 14 (eff. Jan 1, 2023) rewrote § 5828c without the AGI cap, the certified-facility requirement, or the "low-income" title — matching the current statute.
2022 Act 138, Sec. 2 struck "child care and dependent care credits" from old § 5822(d)(1): "A taxpayer shall be entitled to a credit… of 24 percent of each of the credits allowed against the taxpayer's federal income tax… and child care and dependent care credits." (2021 codified text)
Changes
vt_cdcc. Newincome_limit_in_effectboolean (true 2022, false 2023+) gates the 72% credit on the existingvt_low_income_cdcc_eligibleAGI test ($30,000, or $40,000 joint — thresholds unchanged from the prior low-income credit). Previously the model paid 72% to all filers from 2022, over-granting above-threshold TY2022 filers.low_income/rate.yaml→ 0 at 2022-01-01) and removevt_low_income_cdccfrom the 2022+state_cdccs.yamlentries, which double-listed both Vermont credits in thetaxsim_state_cdccaggregate (0.72 + 0.5 × federal for a low-income filer). Tax liability was unaffected (the refundable-credits list was already year-exclusive); the aggregate was not.vt_nonrefundable_cdcc(§ 5822(d)(1)): 24% of the capped federal credit through 2021, ending 2022 per Act 138 Sec. 2. Low-income-eligible filers are excluded — § 5828c is claimed "in lieu of" the 5822(d) credit, and its 50% refundable match always dominates 24% nonrefundable. Registered innon_refundable.yaml(2021 entry; new 2022 entry drops it) and in the pre-2022state_cdccs.yamlblocks. Mirrors the siblingvt_elderly_or_disabled_credit, the other modeled leg of the same § 5822(d)(1) match. Previously an above-threshold pre-2022 filer received $0 where law gave 24%.2021-01-01: 0entry to the 72% rate so pre-2022 queries don't back-extrapolate it, fixesvt_cdcc.py's reference tuple (three URLs were concatenated into one string), and adds missingperiod:metadata to the touched parameter files.Not modeled (by design)
Flagged for review: the 24% § 5822(d)(1) rate is verified for 2021 via Act 138's before-text; continuity back to 2005 (the low-income parameters' start) is assumed and noted in the parameter comment.
Reproductions
Tests
Seven new/appended cases covering every row above plus the
vt_non_refundable_creditspickup. Full VT income tax tree passes locally: 168 tests.Independent of #8855/#8878 — no shared files.
🤖 Generated with Claude Code