From df151de6c3d201ff6e6626ee50b5142a150373f2 Mon Sep 17 00:00:00 2001 From: martinholmer Date: Wed, 20 May 2026 12:51:31 -0400 Subject: [PATCH 1/3] Update national test results for TMD 2.1.0 data generated using taxcalc 6.6.0 --- README.md | 6 ++++-- setup.py | 4 ++-- tests/expected_tax_exp_2022_data | 6 +++--- tests/test_imputed_variables.py | 8 ++++---- tests/test_weights.py | 4 ++-- 5 files changed, 15 insertions(+), 13 deletions(-) diff --git a/README.md b/README.md index eaa655c0..460bc7ad 100644 --- a/README.md +++ b/README.md @@ -8,8 +8,10 @@ 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.0.0**, which was released on March 29, 2026, -and includes the following significant improvements: +The **current TMD version is 2.1.0**, which was released on May 2?, +2026, and is the same as TMD version 2.0.0 except that Tax-Calculator +version 6.6.0 is used (instead of 6.5.3). The TMD 2.0.0 version +includes the following significant improvements: - generate national, state, and Congressional district, input files for **2022**: diff --git a/setup.py b/setup.py index 91b9f780..07fa71cc 100644 --- a/setup.py +++ b/setup.py @@ -2,11 +2,11 @@ setup( name="tmd", - version="2.0.0", + version="2.1.0", packages=find_packages(), python_requires=">=3.11,<3.14", install_requires=[ - "taxcalc==6.5.3", + "taxcalc==6.6.0", "numpy", "pandas>=3.0.2", "clarabel", diff --git a/tests/expected_tax_exp_2022_data b/tests/expected_tax_exp_2022_data index b94c0da1..ce5d3845 100644 --- a/tests/expected_tax_exp_2022_data +++ b/tests/expected_tax_exp_2022_data @@ -1,9 +1,9 @@ YR,KIND,EST= 2023 paytax 1429.5 -YR,KIND,EST= 2023 iitax 2331.3 +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 niit -47.4 -YR,KIND,EST= 2023 cgqd_tax_preference 179.6 -YR,KIND,EST= 2023 qbid 55.9 +YR,KIND,EST= 2023 cgqd_tax_preference 179.8 +YR,KIND,EST= 2023 qbid 55.0 YR,KIND,EST= 2023 salt 23.8 diff --git a/tests/test_imputed_variables.py b/tests/test_imputed_variables.py index a6e556c5..25674657 100644 --- a/tests/test_imputed_variables.py +++ b/tests/test_imputed_variables.py @@ -55,7 +55,7 @@ def actual_results(rdf, bdf): # https://taxpolicycenter.org/taxvox/ # budget-laws-tax-cuts-overtime-and- # tips-are-popular-few-will-benefit - "exp_totben_2022": 23.68, + "exp_totben_2022": 23.71, "exp_affpct_2022": 8.56, "exp_affben_2022": 1413, }, @@ -72,9 +72,9 @@ def actual_results(rdf, bdf): # https://taxpolicycenter.org/taxvox/ # budget-laws-tax-cuts-overtime-and- # tips-are-popular-few-will-benefit - "exp_totben_2022": 7.08, + "exp_totben_2022": 7.11, "exp_affpct_2022": 2.59, - "exp_affben_2022": 1397, + "exp_affben_2022": 1401, }, "ALI": { # new OBBBA auto loan interest deduction "reform_dict": {"AutoLoanInterestDed_c": {simyear: 0}}, @@ -107,7 +107,7 @@ def actual_results(rdf, bdf): # https://taxpolicycenter.org/model-estimates/T25-0257 # Note that the $1081 TPC estimate is derived by dividing # the all-unit average of $320 by the 0.296 affpct. - "exp_totben_2022": 58.92, + "exp_totben_2022": 58.97, "exp_affpct_2022": 28.24, "exp_affben_2022": 1065, }, diff --git a/tests/test_weights.py b/tests/test_weights.py index a8dd617b..ee10413b 100644 --- a/tests/test_weights.py +++ b/tests/test_weights.py @@ -50,8 +50,8 @@ def test_weights(tmd_variables): "sdev": 1092.99, "min": 0.10804, "p25": 21.8191, - "p50": 398.084, - "p75": 1437.77, + "p50": 398.097, + "p75": 1437.785, "max": 16580.3, "sum_sq": 424545077258.6, }, From 92ccabedb936466839235f3974fb4abbbd307b0e Mon Sep 17 00:00:00 2001 From: martinholmer Date: Thu, 21 May 2026 16:39:43 -0400 Subject: [PATCH 2/3] Update description of TMD 2.1.0 version in README.md --- README.md | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/README.md b/README.md index 460bc7ad..f895c557 100644 --- a/README.md +++ b/README.md @@ -10,8 +10,18 @@ folder](https://github.com/PSLmodels/Tax-Calculator/tree/master/taxcalc/cli/inpu The **current TMD version is 2.1.0**, which was released on May 2?, 2026, and is the same as TMD version 2.0.0 except that Tax-Calculator -version 6.6.0 is used (instead of 6.5.3). The TMD 2.0.0 version -includes the following significant improvements: +version 6.6.0 (instead of 6.5.3) is used to generate the TMD files. + +The current TMD 2.1.0 version differs from the 2.0.0 version only +slightly in the national weights (in the `tmd_weights.csv.gz` file); +the contents of the `tmd.csv.gz` and the `tmd_growfactors.csv` files +are unchanged. When using version 2.1.0 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 been updated. + +The prior TMD 2.0.0 version included the following significant +improvements: - generate national, state, and Congressional district, input files for **2022**: From f9ae93f1cddb69d7d72cd44d7262d815c5a0f239 Mon Sep 17 00:00:00 2001 From: martinholmer Date: Fri, 22 May 2026 15:24:12 -0400 Subject: [PATCH 3/3] Update top-level REAMDME.md documentation --- README.md | 15 +++++++++------ 1 file changed, 9 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index f895c557..172702f1 100644 --- a/README.md +++ b/README.md @@ -8,17 +8,20 @@ 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.0**, which was released on May 2?, +The **current TMD version is 2.1.0**, which was released on May 22, 2026, and is the same as TMD version 2.0.0 except that Tax-Calculator version 6.6.0 (instead of 6.5.3) is used to generate the TMD files. The current TMD 2.1.0 version differs from the 2.0.0 version only -slightly in the national weights (in the `tmd_weights.csv.gz` file); -the contents of the `tmd.csv.gz` and the `tmd_growfactors.csv` files -are unchanged. When using version 2.1.0 to generate sub-national -weights, there will be (presumably small) differences from the +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.0 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 been updated. +sub-national weights fingerprints have not been updated in this pull +request. The prior TMD 2.0.0 version included the following significant improvements: