.codecov.yml
.gitignore
CHANGELOG.md
CLAUDE.md
Dockerfile
Makefile
README.md
REPRODUCTION.md
conftest.py
oregon_ctc_analysis.py
pyproject.toml
restage.py
uv.lock
.beads/issues.jsonl
.claude/settings.json
.github/CONTRIBUTING.md
.github/bump_version.py
.github/changelog_template.md
.github/fetch_version.py
.github/get-changelog-diff.sh
.github/has-functional-changes.sh
.github/is-version-number-acceptable.sh
.github/publish-git-tag.sh
.github/workflows/local_area_promote.yaml
.github/workflows/local_area_publish.yaml
.github/workflows/pipeline.yaml
.github/workflows/pr.yaml
.github/workflows/push.yaml
changelog.d/.gitkeep
docker/policyengine_us_data.Dockerfile
docs/.nojekyll
docs/README.md
docs/_config.yml
docs/abstract.md
docs/add_plotly_to_book.py
docs/appendix.md
docs/background.md
docs/calibration.md
docs/conclusion.md
docs/data.md
docs/discussion.md
docs/introduction.md
docs/local_area_calibration_setup.ipynb
docs/logo.png
docs/long_term_projections.md
docs/methodology.md
docs/myst.yml
docs/package-lock.json
docs/package.json
docs/references.bib
docs/utils.py
docs/_static/style.css
docs/internals/README.md
docs/internals/calibration_package_internals.ipynb
docs/internals/data_build_internals.ipynb
docs/internals/optimization_and_local_dataset_assembly_internals.ipynb
modal_app/README.md
modal_app/__init__.py
modal_app/data_build.py
modal_app/images.py
modal_app/local_area.py
modal_app/pipeline.py
modal_app/remote_calibration_runner.py
modal_app/resilience.py
modal_app/worker_script.py
paper/.gitignore
paper/macros.tex
paper/main.pdf
paper/main.tex
paper/response_to_reviewers.md
paper/woodruff_ghenis_2024_enhanced_cps.pdf
paper/bibliography/references.bib
paper/figures/data_flow.png
paper/figures/ecps_vs_cps_puf.png
paper/figures/policyengine_policy.png
paper/figures/policyengine_results.png
paper/figures/quantile_loss.png
paper/figures/uk_choropleth.png
paper/figures/uk_local_dashboard.png
paper/figures/logos/blue.png
paper/figures/logos/white.png
paper/scripts/build_from_content.py
paper/scripts/calculate_distributional_metrics.py
paper/scripts/calculate_target_performance.py
paper/scripts/generate_all_tables.py
paper/scripts/generate_validation_metrics.py
paper/scripts/markdown_to_latex.py
paper/sections/abstract.tex
paper/sections/background.tex
paper/sections/conclusion.tex
paper/sections/data.tex
paper/sections/discussion.tex
paper/sections/introduction.tex
paper/sections/methodology.tex
paper/sections/results.tex
paper/sections/methodology/aging.tex
paper/sections/methodology/demographic_analysis.tex
paper/sections/methodology/demographic_variables.tex
paper/sections/methodology/loss_matrix.tex
paper/sections/methodology/overview.tex
paper/sections/methodology/pipeline.tex
paper/sections/methodology/policyengine.tex
paper/sections/methodology/puf_preprocessing.tex
paper/sections/methodology/quantile_forests.tex
paper/sections/methodology/reweighting.tex
paper/tables/household_metrics.tex
paper/tables/poverty_metrics.tex
paper/tables/target_examples.tex
paper/tables/tax_unit_metrics.tex
paper/tables/top_rate_reform.tex
paper/tables/weight_stats.tex
policyengine_us_data/__init__.py
policyengine_us_data/__version__.py
policyengine_us_data.egg-info/PKG-INFO
policyengine_us_data.egg-info/SOURCES.txt
policyengine_us_data.egg-info/dependency_links.txt
policyengine_us_data.egg-info/requires.txt
policyengine_us_data.egg-info/top_level.txt
policyengine_us_data/calibration/__init__.py
policyengine_us_data/calibration/analyze_target_consistency.py
policyengine_us_data/calibration/block_assignment.py
policyengine_us_data/calibration/calibration_utils.py
policyengine_us_data/calibration/check_staging_sums.py
policyengine_us_data/calibration/clone_and_assign.py
policyengine_us_data/calibration/county_assignment.py
policyengine_us_data/calibration/create_source_imputed_cps.py
policyengine_us_data/calibration/create_stratified_cps.py
policyengine_us_data/calibration/ctc_diagnostics.py
policyengine_us_data/calibration/entity_clone.py
policyengine_us_data/calibration/promote_local_h5s.py
policyengine_us_data/calibration/publish_local_area.py
policyengine_us_data/calibration/puf_impute.py
policyengine_us_data/calibration/sanity_checks.py
policyengine_us_data/calibration/signatures.py
policyengine_us_data/calibration/source_impute.py
policyengine_us_data/calibration/target_config.yaml
policyengine_us_data/calibration/target_config_full.yaml
policyengine_us_data/calibration/unified_calibration.py
policyengine_us_data/calibration/unified_matrix_builder.py
policyengine_us_data/calibration/validate_national_h5.py
policyengine_us_data/calibration/validate_package.py
policyengine_us_data/calibration/validate_staging.py
policyengine_us_data/calibration/local_h5/__init__.py
policyengine_us_data/calibration/local_h5/area_catalog.py
policyengine_us_data/calibration/local_h5/partitioning.py
policyengine_us_data/calibration/local_h5/requests.py
policyengine_us_data/datasets/__init__.py
policyengine_us_data/datasets/acs/README.md
policyengine_us_data/datasets/acs/__init__.py
policyengine_us_data/datasets/acs/acs.py
policyengine_us_data/datasets/acs/census_acs.py
policyengine_us_data/datasets/cps/README.md
policyengine_us_data/datasets/cps/__init__.py
policyengine_us_data/datasets/cps/census_cps.py
policyengine_us_data/datasets/cps/cps.py
policyengine_us_data/datasets/cps/enhanced_cps.py
policyengine_us_data/datasets/cps/extended_cps.py
policyengine_us_data/datasets/cps/imputation_parameters.yaml
policyengine_us_data/datasets/cps/small_enhanced_cps.py
policyengine_us_data/datasets/cps/takeup.py
policyengine_us_data/datasets/cps/tipped_occupation.py
policyengine_us_data/datasets/cps/long_term/ASSUMPTION_COMPARISON.md
policyengine_us_data/datasets/cps/long_term/README.md
policyengine_us_data/datasets/cps/long_term/TOB_ALIGNMENT_NOTE.md
policyengine_us_data/datasets/cps/long_term/assess_calibration_frontier.py
policyengine_us_data/datasets/cps/long_term/assess_publishable_horizon.py
policyengine_us_data/datasets/cps/long_term/benchmark_trustees_bracket_indexing.py
policyengine_us_data/datasets/cps/long_term/build_long_term_target_sources.py
policyengine_us_data/datasets/cps/long_term/calibration.py
policyengine_us_data/datasets/cps/long_term/calibration_artifacts.py
policyengine_us_data/datasets/cps/long_term/calibration_profiles.py
policyengine_us_data/datasets/cps/long_term/check_calibrated_estimates_interactive.py
policyengine_us_data/datasets/cps/long_term/compare_tob_shares.py
policyengine_us_data/datasets/cps/long_term/diagnose_support_augmentation_translation.py
policyengine_us_data/datasets/cps/long_term/evaluate_support_augmentation.py
policyengine_us_data/datasets/cps/long_term/extract_ssa_costs.py
policyengine_us_data/datasets/cps/long_term/profile_support_concentration.py
policyengine_us_data/datasets/cps/long_term/projection_utils.py
policyengine_us_data/datasets/cps/long_term/prototype_synthetic_2100_support.py
policyengine_us_data/datasets/cps/long_term/rebuild_calibration_manifest.py
policyengine_us_data/datasets/cps/long_term/run_household_projection.py
policyengine_us_data/datasets/cps/long_term/run_household_projection_parallel.py
policyengine_us_data/datasets/cps/long_term/ssa_data.py
policyengine_us_data/datasets/cps/long_term/summarize_calibration_runs.py
policyengine_us_data/datasets/cps/long_term/support_augmentation.py
policyengine_us_data/datasets/cps/long_term/tax_assumptions.py
policyengine_us_data/datasets/org/README.md
policyengine_us_data/datasets/org/__init__.py
policyengine_us_data/datasets/org/org.py
policyengine_us_data/datasets/puf/README.md
policyengine_us_data/datasets/puf/__init__.py
policyengine_us_data/datasets/puf/aggregate_record_totals.yaml
policyengine_us_data/datasets/puf/aggregate_record_utils.py
policyengine_us_data/datasets/puf/disaggregate_puf.py
policyengine_us_data/datasets/puf/irs_puf.py
policyengine_us_data/datasets/puf/puf.py
policyengine_us_data/datasets/puf/qbi_assumptions.yaml
policyengine_us_data/datasets/puf/uprate_puf.py
policyengine_us_data/datasets/scf/README.md
policyengine_us_data/datasets/scf/__init__.py
policyengine_us_data/datasets/scf/fed_scf.py
policyengine_us_data/datasets/scf/scf.py
policyengine_us_data/datasets/sipp/README.md
policyengine_us_data/datasets/sipp/__init__.py
policyengine_us_data/datasets/sipp/sipp.py
policyengine_us_data/db/DATABASE_GUIDE.md
policyengine_us_data/db/IRS_SOI_DATA_ISSUE.md
policyengine_us_data/db/__init__.py
policyengine_us_data/db/create_database_tables.py
policyengine_us_data/db/create_field_valid_values.py
policyengine_us_data/db/create_initial_strata.py
policyengine_us_data/db/etl_aca_agi_state_targets.py
policyengine_us_data/db/etl_age.py
policyengine_us_data/db/etl_irs_soi.py
policyengine_us_data/db/etl_medicaid.py
policyengine_us_data/db/etl_national_targets.py
policyengine_us_data/db/etl_pregnancy.py
policyengine_us_data/db/etl_snap.py
policyengine_us_data/db/etl_state_income_tax.py
policyengine_us_data/db/etl_tanf.py
policyengine_us_data/db/validate_database.py
policyengine_us_data/db/validate_hierarchy.py
policyengine_us_data/geography/README.md
policyengine_us_data/geography/__init__.py
policyengine_us_data/geography/county_fips.py
policyengine_us_data/geography/create_zip_code_dataset.py
policyengine_us_data/geography/zip_codes.csv.gz
policyengine_us_data/parameters/__init__.py
policyengine_us_data/parameters/take_up/aca.yaml
policyengine_us_data/parameters/take_up/dc_ptc.yaml
policyengine_us_data/parameters/take_up/early_head_start.yaml
policyengine_us_data/parameters/take_up/eitc.yaml
policyengine_us_data/parameters/take_up/head_start.yaml
policyengine_us_data/parameters/take_up/medicaid.yaml
policyengine_us_data/parameters/take_up/snap.yaml
policyengine_us_data/parameters/take_up/ssi.yaml
policyengine_us_data/parameters/take_up/tanf.yaml
policyengine_us_data/parameters/take_up/voluntary_filing.yaml
policyengine_us_data/parameters/take_up/wic_nutritional_risk.yaml
policyengine_us_data/parameters/take_up/wic_takeup.yaml
policyengine_us_data/storage/README.md
policyengine_us_data/storage/SSPopJul_TR2024.csv
policyengine_us_data/storage/__init__.py
policyengine_us_data/storage/aca_ptc_multipliers_2022_2024.csv
policyengine_us_data/storage/aca_ptc_multipliers_2022_2025.csv
policyengine_us_data/storage/block_cd_distributions.csv.gz
policyengine_us_data/storage/block_crosswalk.csv.gz
policyengine_us_data/storage/county_cd_distributions.csv
policyengine_us_data/storage/district_mapping.csv
policyengine_us_data/storage/download_private_prerequisites.py
policyengine_us_data/storage/fetch_cd_rents.py
policyengine_us_data/storage/national_and_district_rents_2023.csv
policyengine_us_data/storage/social_security_aux.csv
policyengine_us_data/storage/upload_completed_datasets.py
policyengine_us_data/storage/calibration/raw_inputs/acs5_congressional_districts_2024.json
policyengine_us_data/storage/calibration/raw_inputs/acs_S0101_district_2024.json
policyengine_us_data/storage/calibration/raw_inputs/acs_S0101_national_2024.json
policyengine_us_data/storage/calibration/raw_inputs/acs_S0101_state_2024.json
policyengine_us_data/storage/calibration/raw_inputs/acs_S2201_district_2024.json
policyengine_us_data/storage/calibration/raw_inputs/census_docs_2024.json
policyengine_us_data/storage/calibration/raw_inputs/census_stc_individual_income_tax_2024.json
policyengine_us_data/storage/calibration/raw_inputs/medicaid_enrollment_2024.csv
policyengine_us_data/storage/calibration/raw_inputs/snap_fy69tocurrent.zip
policyengine_us_data/storage/calibration_targets/README.md
policyengine_us_data/storage/calibration_targets/aca_spending_and_enrollment_2024.csv
policyengine_us_data/storage/calibration_targets/aca_spending_and_enrollment_2025.csv
policyengine_us_data/storage/calibration_targets/age_state.csv
policyengine_us_data/storage/calibration_targets/agi_state.csv
policyengine_us_data/storage/calibration_targets/audit_county_enum.py
policyengine_us_data/storage/calibration_targets/eitc_by_agi_and_children.csv
policyengine_us_data/storage/calibration_targets/eitc_state.csv
policyengine_us_data/storage/calibration_targets/healthcare_spending.csv
policyengine_us_data/storage/calibration_targets/make_block_cd_distributions.py
policyengine_us_data/storage/calibration_targets/make_block_crosswalk.py
policyengine_us_data/storage/calibration_targets/make_county_cd_distributions.py
policyengine_us_data/storage/calibration_targets/make_district_mapping.py
policyengine_us_data/storage/calibration_targets/medicaid_enrollment_2024.csv
policyengine_us_data/storage/calibration_targets/medicaid_enrollment_2025.csv
policyengine_us_data/storage/calibration_targets/np2023_d5_mid.csv
policyengine_us_data/storage/calibration_targets/population_by_state.csv
policyengine_us_data/storage/calibration_targets/pull_hardcoded_targets.py
policyengine_us_data/storage/calibration_targets/pull_snap_targets.py
policyengine_us_data/storage/calibration_targets/pull_soi_targets.py
policyengine_us_data/storage/calibration_targets/real_estate_taxes_by_state_acs.csv
policyengine_us_data/storage/calibration_targets/refresh_eitc_state_and_agi_targets.py
policyengine_us_data/storage/calibration_targets/refresh_local_agi_state_targets.py
policyengine_us_data/storage/calibration_targets/refresh_soi_table_targets.py
policyengine_us_data/storage/calibration_targets/snap_state.csv
policyengine_us_data/storage/calibration_targets/soi_metadata.py
policyengine_us_data/storage/calibration_targets/soi_targets.csv
policyengine_us_data/storage/calibration_targets/spm_threshold_agi.csv
policyengine_us_data/storage/long_term_target_sources/oact_2025_08_05_provisional.csv
policyengine_us_data/storage/long_term_target_sources/oasdi_oact_20250805_nominal_delta.csv
policyengine_us_data/storage/long_term_target_sources/sources.json
policyengine_us_data/storage/long_term_target_sources/trustees_2025_current_law.csv
policyengine_us_data/tests/test_release_manifest.py
policyengine_us_data/utils/__init__.py
policyengine_us_data/utils/asset_imputation.py
policyengine_us_data/utils/census.py
policyengine_us_data/utils/cms_medicare.py
policyengine_us_data/utils/constraint_validation.py
policyengine_us_data/utils/data_upload.py
policyengine_us_data/utils/dataset_validation.py
policyengine_us_data/utils/db.py
policyengine_us_data/utils/downsample.py
policyengine_us_data/utils/huggingface.py
policyengine_us_data/utils/identification.py
policyengine_us_data/utils/l0.py
policyengine_us_data/utils/loss.py
policyengine_us_data/utils/manifest.py
policyengine_us_data/utils/mortgage_interest.py
policyengine_us_data/utils/policyengine.py
policyengine_us_data/utils/randomness.py
policyengine_us_data/utils/raw_cache.py
policyengine_us_data/utils/release_manifest.py
policyengine_us_data/utils/retirement_limits.py
policyengine_us_data/utils/run_id.py
policyengine_us_data/utils/seed.py
policyengine_us_data/utils/soi.py
policyengine_us_data/utils/spm.py
policyengine_us_data/utils/takeup.py
policyengine_us_data/utils/uprating.py
policyengine_us_data/utils/version_manifest.py
presentations/nta_2024_11/.gitignore
presentations/nta_2024_11/Makefile
presentations/nta_2024_11/figures
presentations/nta_2024_11/main.tex
presentations/nta_2024_11/nta_2024_slides.pdf
presentations/nta_2024_11/policyengine.sty
presentations/sge_2025_04/.gitignore
presentations/sge_2025_04/Makefile
presentations/sge_2025_04/figures
presentations/sge_2025_04/main.tex
presentations/sge_2025_04/policyengine.sty
presentations/sge_2025_04/sge_2025_slides.pdf
tests/__init__.py
tests/conftest.py
tests/test_refresh_local_agi_state_targets.py
tests/integration/__init__.py
tests/integration/conftest.py
tests/integration/test_acs.py
tests/integration/test_build_h5.py
tests/integration/test_build_matrix_masking.py
tests/integration/test_census_cps.py
tests/integration/test_chunked_matrix_builder.py
tests/integration/test_cps.py
tests/integration/test_cps_generation.py
tests/integration/test_database_build.py
tests/integration/test_enhanced_cps.py
tests/integration/test_fixture_50hh.h5
tests/integration/test_no_formula_variables_stored.py
tests/integration/test_sipp_assets.py
tests/integration/test_small_enhanced_cps.py
tests/integration/test_sparse_enhanced_cps.py
tests/integration/test_xw_consistency.py
tests/unit/__init__.py
tests/unit/test_asset_imputation.py
tests/unit/test_cms_medicare_targets.py
tests/unit/test_constraint_validation.py
tests/unit/test_database.py
tests/unit/test_dataset_validation.py
tests/unit/test_downsample.py
tests/unit/test_enhanced_cps.py
tests/unit/test_etl_irs_soi_overlay.py
tests/unit/test_etl_national_targets.py
tests/unit/test_etl_state_income_tax.py
tests/unit/test_etl_tanf.py
tests/unit/test_extended_cps.py
tests/unit/test_h6_reform.py
tests/unit/test_huggingface_token_guard.py
tests/unit/test_import.py
tests/unit/test_long_term_calibration_contract.py
tests/unit/test_medicare_part_b_inputs.py
tests/unit/test_modal_data_build.py
tests/unit/test_modal_local_area.py
tests/unit/test_modal_resilience.py
tests/unit/test_modal_worker_script.py
tests/unit/test_package_imports.py
tests/unit/test_pandas3_compatibility.py
tests/unit/test_pipeline.py
tests/unit/test_promote_local_h5s.py
tests/unit/test_puf_impute.py
tests/unit/test_raw_cache_path_traversal.py
tests/unit/test_refresh_soi_table_targets.py
tests/unit/test_release_manifest.py
tests/unit/test_remote_calibration_runner.py
tests/unit/test_retirement_limits.py
tests/unit/test_schema_views_and_lookups.py
tests/unit/test_soi_utils.py
tests/unit/test_state_fips.py
tests/unit/test_stochastic_variables.py
tests/unit/test_upload_completed_datasets.py
tests/unit/test_uprating_per_capita.py
tests/unit/test_validation_queries.py
tests/unit/test_version_manifest.py
tests/unit/test_weeks_unemployed.py
tests/unit/calibration/__init__.py
tests/unit/calibration/create_test_fixture.py
tests/unit/calibration/test_analyze_target_consistency.py
tests/unit/calibration/test_block_assignment.py
tests/unit/calibration/test_calibration_puf_impute.py
tests/unit/calibration/test_check_staging_sums.py
tests/unit/calibration/test_clone_and_assign.py
tests/unit/calibration/test_county_assignment.py
tests/unit/calibration/test_create_stratified_cps.py
tests/unit/calibration/test_ctc_diagnostics.py
tests/unit/calibration/test_drop_target_groups.py
tests/unit/calibration/test_eitc_extended_targets.py
tests/unit/calibration/test_entity_clone.py
tests/unit/calibration/test_local_h5_area_catalog.py
tests/unit/calibration/test_local_h5_partitioning.py
tests/unit/calibration/test_local_h5_requests.py
tests/unit/calibration/test_loss_targets.py
tests/unit/calibration/test_mortgage_interest.py
tests/unit/calibration/test_publish_local_area.py
tests/unit/calibration/test_retirement_imputation.py
tests/unit/calibration/test_source_impute.py
tests/unit/calibration/test_target_config.py
tests/unit/calibration/test_unified_calibration.py
tests/unit/calibration/test_unified_matrix_builder.py
tests/unit/calibration/test_unified_matrix_builder_merge.py
tests/unit/calibration/test_validate_national_h5.py
tests/unit/calibration/test_validate_staging.py
tests/unit/calibration/fixtures/__init__.py
tests/unit/calibration/fixtures/test_local_h5_area_catalog.py
tests/unit/calibration/fixtures/test_local_h5_partitioning.py
tests/unit/calibration/fixtures/test_local_h5_requests.py
tests/unit/datasets/__init__.py
tests/unit/datasets/test_county_fips.py
tests/unit/datasets/test_cps_file_handles.py
tests/unit/datasets/test_cps_identification.py
tests/unit/datasets/test_cps_rent_dtype.py
tests/unit/datasets/test_cps_takeup.py
tests/unit/datasets/test_disaggregate_puf.py
tests/unit/datasets/test_enhanced_cps_seeding.py
tests/unit/datasets/test_irs_puf.py
tests/unit/datasets/test_marketplace_plan_benchmark_ratio.py
tests/unit/datasets/test_mixed_status_households_vectorized.py
tests/unit/datasets/test_org.py
tests/unit/datasets/test_rng_seeding.py
tests/unit/datasets/test_scf_locking.py
tests/unit/datasets/test_sipp_monthcode_filter.py
tests/unit/datasets/test_sipp_tip_columns.py
tests/unit/datasets/test_uprate_puf.py
tests/unit/db/test_validate_database.py
tests/unit/fixtures/__init__.py
tests/unit/fixtures/test_modal_local_area.py
tests/unit/fixtures/test_modal_worker_script.py
tests/unit/utils/test_data_upload.py
validation/benefit_validation.py
validation/generate_qrf_statistics.py
validation/qrf_diagnostics.py
validation/run_qrf_diagnostics.py
validation/tax_policy_validation.py
validation/validate_retirement_imputation.py
validation/outputs/qrf_diagnostics_summary.txt
validation/outputs/variance_explained.txt