You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Utah CTC contrib reform changes years in which its in_effect switch is off #9842
create_ut_ctc_reform (policyengine_us/reforms/states/ut/ctc/ut_ctc_reform.py) installs the reform for the whole simulation when in_effect is true in any of the five years from the simulation's start. The variables it installs (ut_ctc_eligible_children, ut_ctc_potential and ut_refundable_ctc) replace the baseline ones, and none of them reads in_effect, so they run in every year, including the years before the switch turns on.
Other contrib reforms that pair look-ahead detection with formulas that don't read the switch would behave the same way. I have only checked this one.
Found while reviewing #9628. On main, that PR's example (which also changes the reform amounts from 2026) shows a larger 2024–2025 change, because the changed amounts also leak back to 2015. #9628 fixes the leak but not this.
Activity