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
31 changes: 28 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,13 +11,13 @@ folder](https://github.com/PSLmodels/Tax-Calculator/tree/master/taxcalc/cli/inpu
The **current TMD version is 2.1.4**, which was released on July 13,
2026, and is the same as TMD version 2.1.3 except that a new version
of `scikit-learn` (1.9.0), which fixed a bug in its weighted imputation
algorithm, is used (see #534 for details). Tax-Calculator version 6.7.1
algorithm, is used (see #534 for details). Tax-Calculator version 6.8.0
or higher is required to generate the TMD files.

When using version 2.1.4 to generate **sub-national weights**, there
will be (presumably small) differences from the sub-national weights
generated using earlier versions; however, the Congressional district
weights fingerprints have not yet been updated.
generated using earlier versions. Note that the 118th Congressional
district weight fingerprints have not yet been updated.

The earlier TMD 2.0.0 version introduced the following significant
improvements:
Expand Down Expand Up @@ -76,6 +76,8 @@ See [`tmd/areas/README.md`](tmd/areas/README.md) for how to build
the weights, what files you get, and how to use them — with or
without Tax-Calculator.

### State weights

Here is how to generate the state weights after executing `make data`
to generate the national files. **First**, generate the state weights
by executing this command in the top-level folder of the repository:
Expand All @@ -95,3 +97,26 @@ pytest tests/test_fingerprint.py -v -k states
```

Report any test errors or other problems by opening a new issue.

### 119th Congressional district weights

Here is how to generate the 119th Congressional district weights after
executing `make data` to generate the national files. **First**,
generate the state weights by executing this command in the top-level
folder of the repository:

```
make -C tmd/areas cds-119 WORKERS=8
```

changing the number of workers from 8 to 4 if spare computing power is
needed while this command executes. Report any test errors or other
problems by opening a new issue. **Second**, run the optional district
fingerprint test by executing this command in the top-level folder of
the repository:

```
pytest tests/test_fingerprint.py -v -k cd_119
```

Report any test errors or other problems by opening a new issue.
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
packages=find_packages(),
python_requires=">=3.11,<3.14",
install_requires=[
"taxcalc>=6.7.1",
"taxcalc>=6.8.0",
"numpy",
"pandas>=3.0.2",
"clarabel",
Expand Down
Loading
Loading