Skip to content

Commit f7c3bb3

Browse files
baogorekclaude
andcommitted
Add snap to calibration targets, remove redundant files
- Add "snap" to variables filter in fit_calibration_weights.py to include National SNAP targets (in different stratum_group_id than 4) - Remove redundant test_sparse_matrix_builder.py (tests consolidated in test_matrix_national_variation.py) - Remove redundant build_calibration_matrix.py (functionality covered by fit_calibration_weights.py) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent 6052d31 commit f7c3bb3

4 files changed

Lines changed: 6 additions & 261 deletions

File tree

changelog_entry.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,11 @@
22
changes:
33
added:
44
- Support for health_insurance_premiums_without_medicare_part_b in local area calibration
5-
- Test coverage for sparse matrix builder with person-level targets
65
changed:
76
- Removed dense reweighting path from enhanced CPS; only sparse (L0) weights are produced
87
- Eliminated TEST_LITE and LOCAL_AREA_CALIBRATION flags; all datasets generated unconditionally
98
- Merged data-local-area Makefile target into data target
9+
removed:
10+
- Redundant test_sparse_matrix_builder.py (tests consolidated in test_matrix_national_variation.py)
1011
fixed:
1112
- Versioning workflow now runs uv lock after version bump to keep uv.lock in sync

policyengine_us_data/datasets/cps/local_area_calibration/build_calibration_matrix.py

Lines changed: 0 additions & 195 deletions
This file was deleted.

policyengine_us_data/datasets/cps/local_area_calibration/fit_calibration_weights.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -106,7 +106,10 @@
106106
sim,
107107
target_filter={
108108
"stratum_group_ids": [4],
109-
"variables": ["health_insurance_premiums_without_medicare_part_b"],
109+
"variables": [
110+
"health_insurance_premiums_without_medicare_part_b",
111+
"snap",
112+
],
110113
},
111114
)
112115

policyengine_us_data/tests/test_sparse_matrix_builder.py

Lines changed: 0 additions & 64 deletions
This file was deleted.

0 commit comments

Comments
 (0)