Closed martinholmer closed 1 year ago
Interesting, we do put cdcc
in the correct parameter files for 2021, need to look more
Two weeks ago in issue #1571, @MaxGhenis said:
Interesting, we do put
cdcc
in the correct parameter files for 2021 ...
Yes, but PR #1547 removed references to those two time-varying parameter lists, and thus introduced the bug document in this issue.
Ah right, I think we should first fix https://github.com/PolicyEngine/policyengine-core/issues/68 in that case. If we merge #1624, we'll lose the drill-down capabilities in the net income screen, which only works with adds
and subtracts
, not sum_of_variables
.
@MaxGhenis said:
Ah right, I think we should first fix https://github.com/PolicyEngine/policyengine-core/issues/68 in that case. If we merge https://github.com/PolicyEngine/policyengine-us/pull/1624, we'll lose the drill-down capabilities in the net income screen, which only works with adds and subtracts, not sum_of_variables.
OK, when will PolicyEngine-Core be fixed? It has been almost a week since you raised the issue.
Core now supports parameters in adds/subtracts
@MaxGhenis said:
Core now supports parameters in adds/subtracts
Great! Do you want to prepare the PR that fixes issue #1571 using the add
with parameters?
According to the 2021 IRS Publication 503, the CDCC was refundable in 2021. It does not seem as if PolicyEngineUS incorporates this one-year feature. But because TAXSIM35 does make the CDCC refundable in 2021, the following test case has a $5000 difference in the US income tax liability.
Here is the test result:
The two models agree on AGI, itemized deductions, taxable income (zero), and on the CTC and EITC and RRC amounts. But TAXSIM35 gives this household a $5,000 refundable CDCC, while PolicyEngineUS does not (evidently because it thinks the CDCC was a non-refundable credit in 2021).