Skip to content

Commit 338157e

Browse files
committed
Update publication candidate
1 parent 9b459b8 commit 338157e

4 files changed

Lines changed: 19 additions & 12 deletions

File tree

changelog.d/ssi-disability-status-imputation.changed.md renamed to .github/publication_candidates/usdata-gha26236774434-a1/changelog.d/ssi-disability-status-imputation.changed.md

File renamed without changes.
Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
{
2+
"base_release_version": "1.115.5",
3+
"candidate_scope": "1.115.5-patch",
4+
"release_bump": "patch",
5+
"run_id": "usdata-gha26236774434-a1",
6+
"would_release_as_at_build_time": "1.115.6"
7+
}

.github/publication_scope.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,6 @@
22
"base_release_version": "1.115.5",
33
"candidate_scope": "1.115.5-patch",
44
"release_bump": "patch",
5-
"run_id": "usdata-gha26232501461-a1",
5+
"run_id": "usdata-gha26236774434-a1",
66
"would_release_as_at_build_time": "1.115.6"
77
}

docs/generated/pipeline_api.json

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
"docstring": "Impute rent and real_estate_taxes from ACS with state.\n\nArgs:\n data: CPS data dict.\n state_fips: State FIPS per household.\n time_period: Tax year.\n dataset_path: Path to CPS h5 for Microsimulation.\n\nReturns:\n Updated data dict.",
3535
"id": "acs_qrf",
3636
"kind": "function",
37-
"line": 485,
37+
"line": 490,
3838
"metadata": {
3939
"api_refs": [
4040
"policyengine_us_data.calibration.source_impute._impute_acs"
@@ -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": 2859,
64+
"line": 2894,
6565
"metadata": {
6666
"api_refs": [
6767
"policyengine_us_data.datasets.cps.cps.add_auto_loan_interest_and_net_worth"
@@ -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": 2743,
145+
"line": 2778,
146146
"metadata": {
147147
"api_refs": [
148148
"policyengine_us_data.datasets.cps.cps.add_org_labor_market_inputs"
@@ -810,7 +810,7 @@
810810
"docstring": "Replace clone-half person-level feature variables with donor matches.",
811811
"id": "clone_features",
812812
"kind": "function",
813-
"line": 411,
813+
"line": 412,
814814
"metadata": {
815815
"api_refs": [
816816
"policyengine_us_data.datasets.cps.extended_cps._splice_clone_feature_predictions"
@@ -873,7 +873,7 @@
873873
"docstring": "Assert that final exported variables are leaf inputs.",
874874
"id": "computed_export_contract",
875875
"kind": "function",
876-
"line": 1584,
876+
"line": 1585,
877877
"metadata": {
878878
"api_refs": [
879879
"policyengine_us_data.datasets.cps.extended_cps.ExtendedCPS._assert_no_computed_variables_exported"
@@ -967,7 +967,7 @@
967967
"docstring": "Second-stage QRF: train on CPS, predict for PUF clones.\n\nFor the PUF clone half of the extended CPS we need plausible values\nof CPS-only variables (retirement distributions, transfers, hours,\nSPM components, etc.) that are consistent with the clone's\nPUF-imputed income -- not just naively copied from the CPS donor.\n\nWe train a QRF on CPS person-level data where:\n * predictors = demographics + key income variables\n * outputs = CPS-only variables listed in\n ``CPS_ONLY_IMPUTED_VARIABLES``\n\nFor PUF clone prediction we use the PUF-imputed income values\nfrom the second half of ``data`` (the clone half, which already\nhas PUF-imputed income from stage 1).\n\nUses ``fit_predict()`` with ``max_train_samples`` instead of\nmanual sampling + separate fit/predict.\n\nArgs:\n data: Extended dataset dict after ``puf_clone_dataset()`` --\n already doubled, with PUF-imputed income in the second half.\n time_period: Tax year.\n dataset_path: Path to the CPS h5 file for Microsimulation.\n\nReturns:\n DataFrame with one column per CPS-only variable, containing\n predicted values for the PUF clone half (person-level).",
968968
"id": "cps_only",
969969
"kind": "function",
970-
"line": 450,
970+
"line": 451,
971971
"metadata": {
972972
"api_refs": [
973973
"policyengine_us_data.datasets.cps.extended_cps._impute_cps_only_variables"
@@ -1252,7 +1252,7 @@
12521252
"docstring": "Check formula-reconstructed housing assistance before export.\n\nThe final H5 must not export formula outputs such as ``housing_assistance``.\nThis guard verifies that the remaining leaf inputs still make those\nformulas produce nonzero values before the export contract strips or\nrejects computed variables.",
12531253
"id": "housing_assistance_microsim_validation",
12541254
"kind": "function",
1255-
"line": 1354,
1255+
"line": 1355,
12561256
"metadata": {
12571257
"api_refs": [
12581258
"policyengine_us_data.datasets.cps.extended_cps.ExtendedCPS._validate_housing_assistance_microsimulation"
@@ -3075,7 +3075,7 @@
30753075
"docstring": "Replace PUF clone half of CPS-only variables with QRF predictions.\n\nAfter ``puf_clone_dataset()`` the CPS-only variables in the second\nhalf are naive copies of the CPS donor values. This function\nreplaces them with the second-stage QRF predictions that are\nconsistent with the clone's PUF-imputed income.\n\nArgs:\n data: Extended dataset dict (already doubled).\n predictions: DataFrame from ``_impute_cps_only_variables()``.\n time_period: Tax year.\n dataset_path: Path to CPS h5 file for entity mapping.\n\nReturns:\n Modified data dict with CPS-only variables spliced in.",
30763076
"id": "qrf_pass2",
30773077
"kind": "function",
3078-
"line": 824,
3078+
"line": 825,
30793079
"metadata": {
30803080
"api_refs": [
30813081
"policyengine_us_data.datasets.cps.extended_cps._splice_cps_only_predictions"
@@ -3461,7 +3461,7 @@
34613461
"docstring": "Impute net_worth and auto_loan from SCF.\n\nArgs:\n data: CPS data dict.\n state_fips: State FIPS per household.\n time_period: Tax year.\n dataset_path: Path to CPS h5 for Microsimulation.\n\nReturns:\n Updated data dict.",
34623462
"id": "scf_qrf",
34633463
"kind": "function",
3464-
"line": 922,
3464+
"line": 1004,
34653465
"metadata": {
34663466
"api_refs": [
34673467
"policyengine_us_data.calibration.source_impute._impute_scf"
@@ -3515,7 +3515,7 @@
35153515
"docstring": "Impute tip_income, liquid assets, and vehicle signals from SIPP.\n\nArgs:\n data: CPS data dict.\n state_fips: State FIPS per household.\n time_period: Tax year.\n dataset_path: Path to CPS h5 for Microsimulation.\n\nReturns:\n Updated data dict.",
35163516
"id": "sipp_qrf",
35173517
"kind": "function",
3518-
"line": 586,
3518+
"line": 591,
35193519
"metadata": {
35203520
"api_refs": [
35213521
"policyengine_us_data.calibration.source_impute._impute_sipp"
@@ -3542,7 +3542,7 @@
35423542
"docstring": "Re-impute ACS/SIPP/ORG/SCF variables from donor surveys.\n\nOverwrites existing imputed values in data. ACS uses\nstate_fips as a QRF predictor; ORG uses state plus labor-market\npredictors; SIPP and SCF use only demographic and financial\npredictors (no state data).\n\nArgs:\n data: CPS dataset dict {variable: {time_period: array}}.\n state_fips: State FIPS per household.\n time_period: Tax year.\n dataset_path: Path to CPS h5 for Microsimulation.\n skip_acs: Skip ACS imputation.\n skip_sipp: Skip SIPP imputation.\n skip_org: Skip ORG imputation.\n skip_scf: Skip SCF imputation.\n\nReturns:\n Updated data dict with re-imputed variables.",
35433543
"id": "source_impute",
35443544
"kind": "function",
3545-
"line": 180,
3545+
"line": 185,
35463546
"metadata": {
35473547
"api_refs": [
35483548
"policyengine_us_data.calibration.source_impute.impute_source_variables"

0 commit comments

Comments
 (0)