Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
29 changes: 15 additions & 14 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,23 +8,24 @@ For Tax-Calculator results generated when using these TMD input files,
see [this
folder](https://github.com/PSLmodels/Tax-Calculator/tree/master/taxcalc/cli/input_data_tests).

The **current TMD version is 2.1.1**, which was released on May 28,
2026, and is the same as TMD version 2.0.0 except that Tax-Calculator
version 6.6.1 (instead of 6.5.3) is used to generate the TMD files.
The **current TMD version is 2.1.2**, which was released on May 29,
2026, and is the same as TMD version 2.1.1 except that Tax-Calculator
version 6.7.0 (instead of 6.6.1 or 6.6.2) is used to generate the TMD
files. This new Tax-Calculator version uses a more refined refundable
credit claiming logic, which causes minor changes in the TMD input
data files generated by this repo (even after some recalibration of
the TMD data generation logic). [Tax-Calculator pull request
3085](https://github.com/PSLmodels/Tax-Calculator/pull/3085) shows the
small differences in baseline policy results when using the new TMD
2.1.2 input data files.

The current TMD 2.1.1 version differs from the 2.0.0 version only
slightly in the national weights (all the `WT*` columns in the
`tmd_weights.csv.gz` file and just the `s006` variable in the
`tmd.csv.gz` file); the non-weights input variables in the
`tmd.csv.gz` file and the contents of `tmd_growfactors.csv` file are
unchanged. When using version 2.1.1 to generate **sub-national
weights**, there will be (presumably small) differences from the
sub-national weights generated using version 2.0.0; however, the
sub-national weights fingerprints have not yet been updated.
When using version 2.1.2 to generate **sub-national weights**, there
will be (presumably small) differences from the sub-national weights
generated using earlier versions; however, the sub-national weights
fingerprints have not yet been updated.

The prior TMD 2.0.0 version included the following significant
The earlier TMD 2.0.0 version introduced the following significant
improvements:

- generate national, state, and Congressional district, input files
for **2022**:
[#470](https://github.com/PSLmodels/tax-microdata-benchmarking/pull/470)
Expand Down
4 changes: 2 additions & 2 deletions setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,11 @@

setup(
name="tmd",
version="2.1.1",
version="2.1.2",
packages=find_packages(),
python_requires=">=3.11,<3.14",
install_requires=[
"taxcalc>=6.6.1",
"taxcalc>=6.7.0",
"numpy",
"pandas>=3.0.2",
"clarabel",
Expand Down
8 changes: 4 additions & 4 deletions tests/expected_tax_exp_2022_data
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
YR,KIND,EST= 2023 paytax 1429.5
YR,KIND,EST= 2023 paytax 1428.8
YR,KIND,EST= 2023 iitax 2332.1
YR,KIND,EST= 2023 ctc 118.6
YR,KIND,EST= 2023 eitc 72.0
YR,KIND,EST= 2023 social_security_partial_taxability 46.8
YR,KIND,EST= 2023 ctc 129.6
YR,KIND,EST= 2023 eitc 66.4
YR,KIND,EST= 2023 social_security_partial_taxability 47.3
YR,KIND,EST= 2023 niit -47.4
YR,KIND,EST= 2023 cgqd_tax_preference 179.8
YR,KIND,EST= 2023 qbid 55.0
Expand Down
23 changes: 23 additions & 0 deletions tests/expected_taxcalc_results_2022.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
# Expected 2022 EITC and ACTC aggregates from IRS Statistics of Income
# Publication 1304 (2022), Table A.
#
# DATA SOURCE
# Internal Revenue Service, "Statistics of Income — 2022 Individual
# Income Tax Returns," Publication 1304, Table A — "Selected Income
# and Tax Items, by Size and Accumulated Size of Adjusted Gross Income"
#
# DEFINITIONS
# n_returns_mil : Number of returns with a positive credit amount (millions).
# amount_bil : Total credit amount (billions of dollars).
#
# NOTES
# EITC = Earned Income Credit (refundable); taxcalc variable "eitc".
# ACTC = Additional Child Tax Credit (refundable); taxcalc variable "c11070".

eitc:
n_returns_mil: 24.09
amount_bil: 60.07

actc:
n_returns_mil: 18.08
amount_bil: 34.84
Loading
Loading