Skip to content

new puf weights and ratio files#452

Merged
jdebacker merged 3 commits intoPSLmodels:masterfrom
bodiyang:master
Sep 8, 2025
Merged

new puf weights and ratio files#452
jdebacker merged 3 commits intoPSLmodels:masterfrom
bodiyang:master

Conversation

@bodiyang
Copy link
Collaborator

@bodiyang bodiyang commented Aug 19, 2025

Tax-Data now produces new PUF files.

This includes puf.csv, puf_weights.csv.gz and puf_ratios.csv files.

puf.csv file is created by running createpuf.py; The latter two files are produced by running make all, and will be updated from this PR. (both commands need to be executed under taxdata-dev conda environment)

This PR will make Tax-Data and Tax-Calc in line, along with Taxcalc PR 2925

@bodiyang
Copy link
Collaborator Author

Regarding the policy aspect, the new PUF weights and ratios files reflect the CBO January 2025 baseline. They are in line with puf.csv file produced by the current version of taxdata (reflects all PRs until Sep 2025).

@jdebacker
Copy link
Member

@bodiyang PR looks good, but I did get one test failure:

FAILED tests/test_data.py::test_puf_variables - ValueError: <built-in method upper of str object at 0x106112ac0>

Do you have the same failure?

@bodiyang
Copy link
Collaborator Author

bodiyang commented Sep 8, 2025

@bodiyang PR looks good, but I did get one test failure:

FAILED tests/test_data.py::test_puf_variables - ValueError: <built-in method upper of str object at 0x106112ac0>

Do you have the same failure?

I have all tests passing. Tests I did are with the new puf.csv, then all changes from this PR

@jdebacker
Copy link
Member

Ah, we were using different version of Tax-Calculator.

@jdebacker jdebacker merged commit ddf5494 into PSLmodels:master Sep 8, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants