Skip to content
This repository was archived by the owner on Jul 2, 2026. It is now read-only.

Commit a337014

Browse files
committed
Update package version
1 parent bea9230 commit a337014

6 files changed

Lines changed: 25 additions & 19 deletions

File tree

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,10 @@
1+
## [1.113.1] - 2026-05-13
2+
3+
### Fixed
4+
5+
- Remove temporary CPS take-up source anchors from persisted H5 outputs and add an enhanced-CPS-only data build path.
6+
7+
18
## [1.113.0] - 2026-05-12
29

310
### Added

changelog.d/964.fixed

Lines changed: 0 additions & 1 deletion
This file was deleted.

docs/engineering/pipeline-map.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -761,7 +761,7 @@ Worker function that builds a subset of H5 files.
761761
### `modal_app.data_build.build_datasets`
762762

763763
```python
764-
def build_datasets(upload: bool = False, branch: str = 'main', sequential: bool = False, clear_checkpoints: bool = False, skip_tests: bool = False, skip_enhanced_cps: bool = False, stage_only: bool = False, run_id: str = '')
764+
def build_datasets(upload: bool = False, branch: str = 'main', sequential: bool = False, clear_checkpoints: bool = False, skip_tests: bool = False, skip_enhanced_cps: bool = False, skip_stage_5: bool = False, stage_only: bool = False, run_id: str = '')
765765
```
766766

767767
Build all datasets with preemption-resilient checkpointing.

docs/generated/pipeline_api.json

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@
6161
"docstring": "\"Add auto loan balance, interest and net_worth variable.",
6262
"id": "add_auto_loan",
6363
"kind": "function",
64-
"line": 2778,
64+
"line": 2792,
6565
"metadata": {
6666
"api_refs": [
6767
"policyengine_us_data.datasets.cps.cps.add_auto_loan_interest_and_net_worth"
@@ -88,7 +88,7 @@
8888
"docstring": "Populate household-level geography variables used by PolicyEngine US.\n\nArgs:\n cps: Output CPS H5 group receiving derived household variables.\n household: Raw CPS household table.",
8989
"id": "add_household_variables",
9090
"kind": "function",
91-
"line": 1440,
91+
"line": 1454,
9292
"metadata": {
9393
"api_refs": [
9494
"policyengine_us_data.datasets.cps.cps.add_household_variables"
@@ -115,7 +115,7 @@
115115
"docstring": "Add basic ID and weight variables.\n\nArgs:\n cps (h5py.File): The CPS dataset file.\n person (DataFrame): The person table of the ASEC.\n tax_unit (DataFrame): The tax unit table created from the person table\n of the ASEC.\n family (DataFrame): The family table of the ASEC.\n spm_unit (DataFrame): The SPM unit table created from the person table\n of the ASEC.\n household (DataFrame): The household table of the ASEC.",
116116
"id": "add_id_variables",
117117
"kind": "function",
118-
"line": 919,
118+
"line": 933,
119119
"metadata": {
120120
"api_refs": [
121121
"policyengine_us_data.datasets.cps.cps.add_id_variables"
@@ -142,7 +142,7 @@
142142
"docstring": "Impute ORG-derived wage and union inputs onto CPS persons.",
143143
"id": "add_org_inputs",
144144
"kind": "function",
145-
"line": 2662,
145+
"line": 2676,
146146
"metadata": {
147147
"api_refs": [
148148
"policyengine_us_data.datasets.cps.cps.add_org_labor_market_inputs"
@@ -169,7 +169,7 @@
169169
"docstring": "Add income variables.\n\nArgs:\n cps (h5py.File): The CPS dataset file.\n person (DataFrame): The CPS person table.\n year (int): The CPS year",
170170
"id": "add_personal_income_variables",
171171
"kind": "function",
172-
"line": 1125,
172+
"line": 1139,
173173
"metadata": {
174174
"api_refs": [
175175
"policyengine_us_data.datasets.cps.cps.add_personal_income_variables"
@@ -196,7 +196,7 @@
196196
"docstring": "Add personal demographic variables.\n\nArgs:\n cps (h5py.File): The CPS dataset file.\n person (DataFrame): The CPS person table.",
197197
"id": "add_personal_variables",
198198
"kind": "function",
199-
"line": 981,
199+
"line": 995,
200200
"metadata": {
201201
"api_refs": [
202202
"policyengine_us_data.datasets.cps.cps.add_personal_variables"
@@ -223,7 +223,7 @@
223223
"docstring": "",
224224
"id": "add_previous_year_income",
225225
"kind": "function",
226-
"line": 1482,
226+
"line": 1496,
227227
"metadata": {
228228
"api_refs": [
229229
"policyengine_us_data.datasets.cps.cps.add_previous_year_income"
@@ -277,7 +277,7 @@
277277
"docstring": "",
278278
"id": "add_spm_variables",
279279
"kind": "function",
280-
"line": 1401,
280+
"line": 1415,
281281
"metadata": {
282282
"api_refs": [
283283
"policyengine_us_data.datasets.cps.cps.add_spm_variables"
@@ -304,7 +304,7 @@
304304
"docstring": "Assign SSN card type using PRCITSHP, employment status, and ASEC-UA conditions.\nCodes:\n- 0: \"NONE\" - Likely undocumented immigrants\n- 1: \"CITIZEN\" - US citizens (born or naturalized)\n- 2: \"NON_CITIZEN_VALID_EAD\" - Non-citizens with work/study authorization\n- 3: \"OTHER_NON_CITIZEN\" - Non-citizens with indicators of legal status",
305305
"id": "add_ssn_card_type",
306306
"kind": "function",
307-
"line": 1588,
307+
"line": 1602,
308308
"metadata": {
309309
"api_refs": [
310310
"policyengine_us_data.datasets.cps.cps.add_ssn_card_type"
@@ -331,7 +331,7 @@
331331
"docstring": "",
332332
"id": "add_takeup",
333333
"kind": "function",
334-
"line": 466,
334+
"line": 476,
335335
"metadata": {
336336
"api_refs": [
337337
"policyengine_us_data.datasets.cps.cps.add_takeup"
@@ -358,7 +358,7 @@
358358
"docstring": "",
359359
"id": "add_tips",
360360
"kind": "function",
361-
"line": 2487,
361+
"line": 2501,
362362
"metadata": {
363363
"api_refs": [
364364
"policyengine_us_data.datasets.cps.cps.add_tips"
@@ -471,10 +471,10 @@
471471
"source_file": "policyengine_us_data/calibration/publish_local_area.py"
472472
},
473473
"build_datasets": {
474-
"docstring": "Build all datasets with preemption-resilient checkpointing.\n\nArgs:\n upload: Whether to upload completed datasets.\n branch: Git branch to build from.\n sequential: Use sequential (non-parallel) execution.\n clear_checkpoints: Clear existing checkpoints before starting.\n skip_tests: Skip running the test suite (useful for calibration runs).\n skip_enhanced_cps: Skip enhanced_cps.py and small_enhanced_cps.py\n (useful for calibration runs that only need source_imputed H5).\n stage_only: Upload to HF staging only, without promoting a release.",
474+
"docstring": "Build all datasets with preemption-resilient checkpointing.\n\nArgs:\n upload: Whether to upload completed datasets.\n branch: Git branch to build from.\n sequential: Use sequential (non-parallel) execution.\n clear_checkpoints: Clear existing checkpoints before starting.\n skip_tests: Skip running the test suite (useful for calibration runs).\n skip_enhanced_cps: Skip enhanced_cps.py and small_enhanced_cps.py\n (useful for calibration runs that only need source_imputed H5).\n skip_stage_5: Skip source-imputed CPS and small enhanced CPS after\n enhanced_cps_2024.h5 is built.\n stage_only: Upload to HF staging only, without promoting a release.",
475475
"id": "build_datasets",
476476
"kind": "function",
477-
"line": 555,
477+
"line": 563,
478478
"metadata": {
479479
"api_refs": [
480480
"modal_app.data_build.build_datasets"
@@ -499,7 +499,7 @@
499499
]
500500
},
501501
"object_path": "modal_app.data_build.build_datasets",
502-
"signature": "def build_datasets(upload: bool = False, branch: str = 'main', sequential: bool = False, clear_checkpoints: bool = False, skip_tests: bool = False, skip_enhanced_cps: bool = False, stage_only: bool = False, run_id: str = '')",
502+
"signature": "def build_datasets(upload: bool = False, branch: str = 'main', sequential: bool = False, clear_checkpoints: bool = False, skip_tests: bool = False, skip_enhanced_cps: bool = False, skip_stage_5: bool = False, stage_only: bool = False, run_id: str = '')",
503503
"source_file": "modal_app/data_build.py"
504504
},
505505
"build_districts": {
@@ -968,7 +968,7 @@
968968
"docstring": "Build CPS before PUF because PUF pension imputation loads CPS_2024.",
969969
"id": "cps_puf_build_phase",
970970
"kind": "function",
971-
"line": 426,
971+
"line": 432,
972972
"metadata": {
973973
"api_refs": [
974974
"modal_app.data_build.run_cps_then_puf_phase"

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ build-backend = "setuptools.build_meta"
88

99
[project]
1010
name = "policyengine_us_data"
11-
version = "1.113.0"
11+
version = "1.113.1"
1212
description = "A package to create representative microdata for the US."
1313
readme = "README.md"
1414
authors = [

uv.lock

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)