policyengine 6.20.0__tar.gz → 6.20.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {policyengine-6.20.0 → policyengine-6.20.2}/CHANGELOG.md +14 -0
- {policyengine-6.20.0/src/policyengine.egg-info → policyengine-6.20.2}/PKG-INFO +8 -8
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/bundles.md +2 -2
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/countries.md +2 -2
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/build-m-us-populace-certification.md +4 -4
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/data-certification.md +4 -4
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/households.md +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/microsim.md +5 -5
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/regions.md +3 -3
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/release-bundles.md +3 -3
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/belgium_axiom_pilot.py +16 -8
- {policyengine-6.20.0 → policyengine-6.20.2}/pyproject.toml +8 -8
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/places.py +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/regions.py +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/bundle/manifest.json +64 -64
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/bundle/uk.trace.tro.jsonld +18 -18
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/bundle/us.trace.tro.jsonld +5 -5
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/certification.py +30 -16
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/be/__init__.py +7 -2
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/be/datasets.py +6 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/be/model.py +9 -5
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_inputs.py +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/registry.py +11 -4
- {policyengine-6.20.0 → policyengine-6.20.2/src/policyengine.egg-info}/PKG-INFO +8 -8
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/SOURCES.txt +1 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/requires.txt +7 -7
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_model_surface.json +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/README.md +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_be_axiom_pilot.py +7 -7
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_bundle.py +7 -5
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_bundle_metadata.py +6 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_certify_data_release.py +21 -21
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_materialization.py +2 -2
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_entity_utils.py +1 -1
- policyengine-6.20.2/tests/test_microcosm_compatibility.py +149 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_models.py +4 -3
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_manifests.py +34 -21
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_regions.py +6 -4
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_inputs_integration.py +9 -9
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_spm.py +4 -4
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_spm_integration.py +4 -4
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_regional_input_surface.py +2 -2
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_regions.py +1 -1
- {policyengine-6.20.0 → policyengine-6.20.2}/uv.lock +14 -14
- {policyengine-6.20.0 → policyengine-6.20.2}/.claude/policyengine-guide.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.claude/quick-reference.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/CONTRIBUTING.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/bump_version.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/capture-version.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/changelog_template.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/check-agent-notes.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/check-changelog.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/copilot-instructions.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/dispatch-policyengine-release.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/fetch_version.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/get-changelog-diff.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/has-functional-changes.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/is-version-number-acceptable.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/publish-git-tag.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/qualification-ledger.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/wait-for-pypi.sh +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/certify-uk-release.yaml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/draft-pdf.yml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/pr_agent_notes.yaml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/pr_code_changes.yaml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/pr_docs_changes.yaml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/push.yaml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.gitignore +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/.python-version +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/AGENTS.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/CITATION.cff +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/CLAUDE.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/CODE_OF_CONDUCT.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/CONTRIBUTING.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/LICENSE +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/Makefile +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/architecture.png +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/architecture.svg +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/changelog.d/.gitkeep +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/.gitignore +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/_generator/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/_generator/build_reference.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/_quarto.yml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/data-publishing-design.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/decile-impact-spec.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/dev.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/disclosure.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/acs-local-wic-replacement.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/canonical-spm-development.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/uk-qualification.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/us-legacy-spm-sources.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/github-prs.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/repository-guidance.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/examples.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/getting-started.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/impact-analysis.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/index.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/index.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/model-architecture.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/uk-capital-gains-responses.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/us-health-costs.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/ordered-scenarios.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/outputs.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/programs/index.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/programs/us-chip.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/receipts.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/reference/index.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/reforms.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/run-records.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/trace-case-study.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/docs/visualisation.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/employment_income_variation_uk.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/employment_income_variation_us.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/household_impact_example.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/income_bands_uk.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/income_distribution_us.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/ordered_scenario.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/ordered_scenario_modifiers.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/paper_repro_uk.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/policy_change_uk.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/speedtest_us_simulation.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/uk_geography_disclosure.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/examples/us_budgetary_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/paper-preview.html +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/paper.bib +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/paper.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/audit_regional_input_surface.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/bundle.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/certify_data_release.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_data_staleness.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_native_spm_loading.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_release_credentials.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_uk_candidate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_uk_uc_floor.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/export_bundle_release_assets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_bundle_artifacts.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_ordered_scenario_vectors.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_receipt_schemas.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_trace_tros.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/prepare_package_bundle_update.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/release_consumers.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/release_lock.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/scripts/spm_bundle.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/setup.cfg +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/bundle.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/cli.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/cache.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/dataset.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/dynamic.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/entity.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/output.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/parameter.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/parameter_node.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/parameter_value.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/policy.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/region.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/run_record.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/scoping_strategy.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/simulation.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/spm.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/tax_benefit_model.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/tax_benefit_model_version.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/variable.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/uk/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/uk/regions.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/districts.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/states.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/replay_policy.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_budget_critical_inputs.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_replay_exceptions.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_review_bounds.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_uc_floor.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/execution_receipt.v1.schema.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/ordered_scenario_plan.v1.schema.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/ordered_scenario_plan.v1.vectors.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/trace_tro.schema.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/qualification_request.v1.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography/SOURCES.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography/constituencies_2024.csv +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography/local_authorities_2023.csv +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography_assets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/derivations/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/derivations/narrate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/derivations/trace.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/__main__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/areas.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/estimate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/noise.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/release.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/schema.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/support.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/validate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/graph/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/graph/extractor.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/graph/graph.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/aggregate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/change_aggregate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/cliff_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/congressional_district_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/constituency_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/decile_analysis.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/decile_grouping.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/decile_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/extra_variables.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/inequality.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/intra_decile_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/labor_supply_response.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/local_authority_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/poverty.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/program_statistics.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/uk_geography_assets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/uk_geography_disclosure.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/uk_geography_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/bundle_validation.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/bytecode.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/canonical.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/dataset_materialization.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/loaded.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/manifest.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/ordered_scenario.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/pyproject_pins.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/qualification.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/qualification_ledger.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/receipt.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/regional_input_surface.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/replay_probe.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/spm_configuration.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/trace.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/uk_candidate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/uk_qualification.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/uk_uc_floor.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/verify.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/wheels.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/zenodo.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/schema.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/trace_tro.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/tracking.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/axes.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/extra_variables.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/household.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/model_version.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/reform.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/result.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/analysis.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/budget_reform_population.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/capital_gains_responses.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/datasets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/household.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/model.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/analysis.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/datasets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/household.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/declarations.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/independence.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/model_adapter.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/record.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/runs.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/universe.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/managed_scope.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/model.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/spm.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/dates.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/design.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/entity_utils.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/errors.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/hashing.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/household_validation.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/parameter_labels.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/parametric_reforms.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/plotting.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/dependency_links.txt +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/entry_points.txt +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/top_level.txt +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/conftest.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/country_model_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/filtering_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_couple_two_kids.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_single_adult_employment_income.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_single_adult_no_income.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_single_parent_one_child.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_married_two_kids_high_income.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_model_surface.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_single_adult_employment_income.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_single_adult_no_income.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_single_parent_one_child.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/local_manifest/main_485dc2330_certification.py.txt +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/parameter_labels_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/parametric_reforms_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/poverty_by_demographics_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/region_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/country-models.lock.toml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/manifest.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/us-release_manifest.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/us.trace.tro.jsonld +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/main_policy_metadata.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/main_replay_policy.py.txt +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/spm_development.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/evaluate_case_rows.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/full_released_uk_2.135.0.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/population_pass_max_examples_0.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_metrics/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_metrics/budget_metrics_report.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_metrics/standard_reforms.yaml +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_qualification/microcosm_routed_bundle.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_qualification/uk_data_line_bundle.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/DIGESTS.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/README.md +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/qualification_request_golden.jcs +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/qualification_request_golden.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/replay_receipt_golden.jcs +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/replay_receipt_golden.json +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/us_reform_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/variable_label_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/ordered_receipt_modifiers.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/qualification_fixtures.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/receipt_modifiers.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/receipt_unbindable_modifiers.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_aggregate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_budgetary_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_bump_version.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_cache.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_canonical_json.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_change_aggregate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_check_agent_notes.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_ci_runner_variables.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_cliff_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_cliff_impact_analysis.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_congressional_district_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_constituency_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_persistence.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_runtime.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_source.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_decile_grouping.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_derivations.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dict_reforms_on_simulation.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_areas.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_estimate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_noise.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_release.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_schema.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_support.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_validate.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_entity_mapping.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_entity_utils_characterization.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_errors.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_execution_receipt.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_extra_variables.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_filtering.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_generate_trace_tros.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_graph/__init__.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_graph/conftest.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_graph/test_extractor.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_household_calculator_snapshot.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_household_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_inequality.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_intra_decile_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_labor_supply_response.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_authority_impact.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_data_manifest.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_manifest_receipt.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_manifest_tro_pins.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_manifest_version_mismatch.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_measure_regional_inputs.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_model_entities.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_ordered_scenario_receipt.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_pandas3_compatibility.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_labels.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_metadata.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_nodes.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_values.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parametric_reforms.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_phased_scenario_receipt.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_poverty.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_poverty_by_demographics.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_poverty_run.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_preservation_mirror.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_program_statistics.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_pyproject_pins.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualification_contracts.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualification_ledger_concurrency.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualification_ledger_script.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualified_pair_certification.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_region.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_region_group_strategy.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_regional_input_evidence.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_build_folders.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_credentials.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_lock.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_tro_generation.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_coherence_round3.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_finalize_review.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_hardening_round3.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_lineage.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_lineage_round3.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_policy_review.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_probe.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_probe_round3.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exceptions.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_results.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_run_record.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_scoping_strategy.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_simulation_ensure_errors.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_small_follow_ups.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_bundle_bootstrap.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_bundle_tooling.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_decile.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_development_authentication.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_household.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_model.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_selection.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_selection_schema.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_trace_tro.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_trace_tro_verify.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_analysis.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_area_lists.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_budget_reform_contract.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_candidate_gates.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_candidate_metric_baselines.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_cgt_default.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_cgt_response_records.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_cgt_responses.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_dated_reforms.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_geography_assets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_geography_disclosure.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_modifier_cache.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_nation_model_agreement.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_program_statistics.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_qualification_pipeline.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_qualification_replay_inputs.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_qualification_workflow.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_uc_floor.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_year_file_data_year.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_household_groups.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_inputs.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_spm_model_contract.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_long_term_datasets.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_managed_scope.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_microsim_structural_reforms.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_native_alignment.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_native_hdf_weights.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_population_context.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_program_statistics.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_reform_application.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_year_file_stamp.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_variable_labels.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_variable_metadata.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_wheels.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_zenodo_mirror.py +0 -0
- {policyengine-6.20.0 → policyengine-6.20.2}/tests/uk_contract_row_scenarios.py +0 -0
|
@@ -1,3 +1,17 @@
|
|
|
1
|
+
## [6.20.2] - 2026-11-16
|
|
2
|
+
|
|
3
|
+
### Changed
|
|
4
|
+
|
|
5
|
+
- Give the Belgian dataset class, the data-producer certification strategy and the certification and legacy-SPM constants Microcosm names, keeping the previous names as aliases.
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
## [6.20.1] - 2026-11-16
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
|
|
12
|
+
- Certify the Microcosm UK pair built on policyengine-uk 2.177.7 and policyengine-core 3.34.10 into the PolicyEngine bundle manifest. The national build is `uk-frs-calibration-attempt-20261115T104657Z-fcfac709` (`microcosm_uk_2024_25`, hub commit `ad84c060`). Constituency and local-authority regions route to the local-area build `uk-local-candidate-f100-s42-20261116T102715Z-e2745e59` (`microcosm_uk_2024_25_dense`, hub commit `4c594d72`). This is the first UK certificate read from Microcosm's build folders: each file is pinned at `releases/<release>/<build>/` and the commit that published it. The UK pin moves from 2.174.1 to 2.177.7, and the shared core pin from 3.33.3 to 3.34.10, which policyengine-uk 2.177.4 and later require.
|
|
13
|
+
|
|
14
|
+
|
|
1
15
|
## [6.20.0] - 2026-11-16
|
|
2
16
|
|
|
3
17
|
### Added
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
Metadata-Version: 2.4
|
|
2
2
|
Name: policyengine
|
|
3
|
-
Version: 6.20.
|
|
3
|
+
Version: 6.20.2
|
|
4
4
|
Summary: A package to conduct policy analysis using PolicyEngine tax-benefit models.
|
|
5
5
|
Author-email: PolicyEngine <hello@policyengine.org>
|
|
6
6
|
License: GNU AFFERO GENERAL PUBLIC LICENSE
|
|
@@ -685,15 +685,15 @@ Requires-Dist: plotly>=5.0.0; extra == "plotting"
|
|
|
685
685
|
Provides-Extra: graph
|
|
686
686
|
Requires-Dist: networkx>=3.0; extra == "graph"
|
|
687
687
|
Provides-Extra: models
|
|
688
|
-
Requires-Dist: policyengine-core==3.
|
|
688
|
+
Requires-Dist: policyengine-core==3.34.10; extra == "models"
|
|
689
689
|
Requires-Dist: policyengine-us==2.2.2; extra == "models"
|
|
690
|
-
Requires-Dist: policyengine-uk==2.
|
|
690
|
+
Requires-Dist: policyengine-uk==2.177.7; extra == "models"
|
|
691
691
|
Requires-Dist: spm-calculator==1.1.0; extra == "models"
|
|
692
692
|
Provides-Extra: uk
|
|
693
|
-
Requires-Dist: policyengine-core==3.
|
|
694
|
-
Requires-Dist: policyengine-uk==2.
|
|
693
|
+
Requires-Dist: policyengine-core==3.34.10; extra == "uk"
|
|
694
|
+
Requires-Dist: policyengine-uk==2.177.7; extra == "uk"
|
|
695
695
|
Provides-Extra: us
|
|
696
|
-
Requires-Dist: policyengine-core==3.
|
|
696
|
+
Requires-Dist: policyengine-core==3.34.10; extra == "us"
|
|
697
697
|
Requires-Dist: policyengine-us==2.2.2; extra == "us"
|
|
698
698
|
Requires-Dist: spm-calculator==1.1.0; extra == "us"
|
|
699
699
|
Provides-Extra: dev
|
|
@@ -712,9 +712,9 @@ Requires-Dist: mypy>=1.11.0; extra == "dev"
|
|
|
712
712
|
Requires-Dist: pytest-cov>=5.0.0; extra == "dev"
|
|
713
713
|
Requires-Dist: hypothesis>=6.100.0; extra == "dev"
|
|
714
714
|
Requires-Dist: rfc8785>=0.1.4; extra == "dev"
|
|
715
|
-
Requires-Dist: policyengine-core==3.
|
|
715
|
+
Requires-Dist: policyengine-core==3.34.10; extra == "dev"
|
|
716
716
|
Requires-Dist: policyengine-us==2.2.2; extra == "dev"
|
|
717
|
-
Requires-Dist: policyengine-uk==2.
|
|
717
|
+
Requires-Dist: policyengine-uk==2.177.7; extra == "dev"
|
|
718
718
|
Requires-Dist: spm-calculator==1.1.0; extra == "dev"
|
|
719
719
|
Dynamic: license-file
|
|
720
720
|
|
|
@@ -206,7 +206,7 @@ python scripts/bundle.py certify-data \
|
|
|
206
206
|
--manifest-uri hf://dataset/policyengine/populace-uk-private@<release>/releases/<release>/release_manifest.json
|
|
207
207
|
```
|
|
208
208
|
|
|
209
|
-
For US
|
|
209
|
+
For US Microcosm releases, certify the Microcosm release manifest directly:
|
|
210
210
|
|
|
211
211
|
```bash
|
|
212
212
|
python scripts/bundle.py certify-data \
|
|
@@ -218,7 +218,7 @@ python scripts/bundle.py certify-data \
|
|
|
218
218
|
```
|
|
219
219
|
|
|
220
220
|
US state and congressional-district regions scope one certified ACS-local
|
|
221
|
-
|
|
221
|
+
Microcosm dataset with row filters. Pass its non-default local-area release
|
|
222
222
|
manifest through `--regional-manifest-uri`; certification adds the pinned H5
|
|
223
223
|
artifact to `data_releases.us.datasets` and writes both regional path templates
|
|
224
224
|
under `data_releases.us.region_datasets`. If a legacy release publishes derived
|
|
@@ -32,12 +32,12 @@ Override in any output with `income_variable=`.
|
|
|
32
32
|
|
|
33
33
|
| | Dataset |
|
|
34
34
|
|---|---|
|
|
35
|
-
| US |
|
|
35
|
+
| US | Microcosm US 2024 (`populace_us_2024.h5`) |
|
|
36
36
|
| UK | Microcosm UK 2024-25 (`microcosm_uk_2024_25.h5`); constituency and local-authority regions use its local-area release (`microcosm_uk_2024_25_dense.h5`) |
|
|
37
37
|
|
|
38
38
|
## State / regional breakdown
|
|
39
39
|
|
|
40
|
-
US:
|
|
40
|
+
US: Microcosm row scoping uses `state_fips` and `congressional_district_geoid`.
|
|
41
41
|
`state_code` remains the human-readable state input for custom households.
|
|
42
42
|
US resource and poverty calculations also require observed `county_fips` or an
|
|
43
43
|
explicit national or SPM-area choice; see [Households](households.md#spm-geography-and-measurement-selection).
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
# US
|
|
1
|
+
# US Microcosm certification runbook
|
|
2
2
|
|
|
3
|
-
Use this runbook to certify a new national US
|
|
3
|
+
Use this runbook to certify a new national US Microcosm release together with
|
|
4
4
|
the shared ACS-local release used for state and congressional-district
|
|
5
5
|
simulations. For now, state and district simulations use the national release
|
|
6
6
|
instead; see the interim exception in Step 2. Read the
|
|
@@ -25,7 +25,7 @@ interim exception in Step 2 holds).
|
|
|
25
25
|
metadata and runs reachability `HEAD` checks against Hugging Face.
|
|
26
26
|
- `HUGGING_FACE_TOKEN` (or `HF_TOKEN`) exported — required to regenerate the
|
|
27
27
|
UK TRO in the `--include-tros` step and to run the UK data-release fetch in
|
|
28
|
-
the test suite. The US
|
|
28
|
+
the test suite. The US release repo, `policyengine/populace-us`, is public.
|
|
29
29
|
|
|
30
30
|
## Step 1 — identify the releases
|
|
31
31
|
|
|
@@ -93,7 +93,7 @@ PE_UPDATE_SNAPSHOTS=1 pytest tests/test_household_calculator_snapshot.py
|
|
|
93
93
|
The certification command passes the immutable ACS-local release manifest with
|
|
94
94
|
`--regional-manifest-uri`. Confirm all of the following:
|
|
95
95
|
|
|
96
|
-
- `default_dataset` remains the national
|
|
96
|
+
- `default_dataset` remains the national Microcosm dataset;
|
|
97
97
|
- the local-area artifact appears in `data_releases.us.datasets` with its
|
|
98
98
|
repository type, immutable revision, and SHA-256;
|
|
99
99
|
- `region_datasets.national` selects the national artifact;
|
|
@@ -314,7 +314,7 @@ their `_tiny` files.
|
|
|
314
314
|
|
|
315
315
|
### US
|
|
316
316
|
|
|
317
|
-
For US
|
|
317
|
+
For US Microcosm certification, certify the Microcosm release manifests
|
|
318
318
|
directly. `policyengine/populace-us` publishes each build in its own release
|
|
319
319
|
folder (it has `releases.json`), so give each manifest's folder at the commit
|
|
320
320
|
that published it:
|
|
@@ -327,7 +327,7 @@ python scripts/bundle.py certify-data --country us --data-producer populace \
|
|
|
327
327
|
```
|
|
328
328
|
|
|
329
329
|
US state and congressional-district regions are row filters over one shared,
|
|
330
|
-
certified ACS-local
|
|
330
|
+
certified ACS-local Microcosm dataset. Its release manifest must declare
|
|
331
331
|
`dataset_role: non_default_local_area`, `is_default: false`, no default
|
|
332
332
|
datasets, and exactly one pinned H5 microdata artifact. Certification writes
|
|
333
333
|
each dataset's path in its build folder:
|
|
@@ -343,7 +343,7 @@ each dataset's path in its build folder:
|
|
|
343
343
|
The ACS-local artifact is a second entry in `data_releases.us.datasets`; it is
|
|
344
344
|
not a dataset overlay and it never replaces the national `default_dataset`.
|
|
345
345
|
|
|
346
|
-
If the
|
|
346
|
+
If the Microcosm release publishes derived `states/*.h5` or `districts/*.h5`
|
|
347
347
|
files for compatibility checks, certification omits them from the runtime
|
|
348
348
|
bundle. The country-wide default and ACS-local dataset are each single shared
|
|
349
349
|
files; region registries select one and then filter its rows.
|
|
@@ -433,7 +433,7 @@ A certification PR should normally change only:
|
|
|
433
433
|
Hard failures (certification refuses): missing national default dataset,
|
|
434
434
|
default dataset absent from artifacts, any artifact without a revision pin,
|
|
435
435
|
unreachable certified dataset, missing required supplemental release files
|
|
436
|
-
(for example
|
|
436
|
+
(for example Microcosm-US `us_source_coverage.json`), a malformed shared
|
|
437
437
|
local-area release, area-coded national release or legacy per-state artifacts
|
|
438
438
|
when `--regional-manifest-uri` is used, a regional release that does not serve
|
|
439
439
|
the pinned model version, an unreachable regional artifact, a re-certification
|
|
@@ -158,7 +158,7 @@ separate benefit inputs; they do not override SPM measurement composition.
|
|
|
158
158
|
|
|
159
159
|
These changes require the coordinated canonical country/calculator bundle, which
|
|
160
160
|
the packaged production manifest now pins and certifies: `policyengine-us`
|
|
161
|
-
2.2.2, `policyengine-core` 3.
|
|
161
|
+
2.2.2, `policyengine-core` 3.34.10, `spm-calculator` 1.1.0, and the US data
|
|
162
162
|
release `populace-us-2024-spm-20260915`. Local-wheel development manifest
|
|
163
163
|
fixtures remain explicitly uncertified. The measurement receipt identifies a
|
|
164
164
|
calculation; it does not certify a population dataset or establish publication
|
|
@@ -134,12 +134,12 @@ datasets = pe.us.ensure_datasets(
|
|
|
134
134
|
dataset = datasets["populace_us_2024_2026"]
|
|
135
135
|
```
|
|
136
136
|
|
|
137
|
-
The default US dataset is **
|
|
137
|
+
The default US dataset is **Microcosm US 2024** — a Microcosm-built dataset
|
|
138
138
|
calibrated to IRS, CMS, SNAP, Census, and other administrative totals. The
|
|
139
139
|
current UK certified default is **Microcosm UK 2024–25**, a Microcosm build
|
|
140
140
|
calibrated to HMRC, DWP, OBR and other administrative totals; constituency and
|
|
141
141
|
local-authority regions use its local-area release. **Enhanced FRS 2024–25**
|
|
142
|
-
(`enhanced_frs_2024_25`, policyengine-uk-data 1.58.1) and **
|
|
142
|
+
(`enhanced_frs_2024_25`, policyengine-uk-data 1.58.1) and **Microcosm UK 2023**
|
|
143
143
|
remain available as named, non-default bundle datasets.
|
|
144
144
|
|
|
145
145
|
PolicyEngine.py obtains the repository type, immutable revision, and SHA-256
|
|
@@ -156,7 +156,7 @@ pe.us.load_datasets() # or pe.uk.load_datasets()
|
|
|
156
156
|
|
|
157
157
|
Alongside the certified national default, the bundle registers a US dataset for
|
|
158
158
|
finer geographic work: `populace_us_2024_acs_local`. It is a
|
|
159
|
-
|
|
159
|
+
Microcosm US 2024 build of roughly **1.6 million households** on an **ACS 2024
|
|
160
160
|
multispine**, with each household **PUMA-assigned** to a 119th-Congress
|
|
161
161
|
congressional district, county, and state, and calibrated to **state
|
|
162
162
|
administrative totals and state and congressional-district population**. Its
|
|
@@ -387,7 +387,7 @@ See [Outputs](outputs.md) for the full catalog.
|
|
|
387
387
|
|
|
388
388
|
## Memory and performance
|
|
389
389
|
|
|
390
|
-
A full
|
|
390
|
+
A full Microcosm US microsimulation uses roughly 4 GB of memory and takes 15-30 seconds on a laptop. For parameter sweeps, reuse the baseline:
|
|
391
391
|
|
|
392
392
|
```python
|
|
393
393
|
baseline = Simulation(dataset=dataset, tax_benefit_model_version=pe.us.model)
|
|
@@ -404,7 +404,7 @@ Smaller custom H5 datasets can be passed explicitly for testing:
|
|
|
404
404
|
|
|
405
405
|
```python
|
|
406
406
|
datasets = pe.us.ensure_datasets(
|
|
407
|
-
datasets=["/path/to/
|
|
407
|
+
datasets=["/path/to/smoke_test_microcosm_us_2024.h5"],
|
|
408
408
|
years=[2026],
|
|
409
409
|
allow_unmanaged=True,
|
|
410
410
|
)
|
|
@@ -24,7 +24,7 @@ ca_snap.run()
|
|
|
24
24
|
```
|
|
25
25
|
|
|
26
26
|
Each state is a region in the US registry. State regions load the ACS-local
|
|
27
|
-
|
|
27
|
+
Microcosm dataset declared by `region.dataset_path`, then scope its rows by
|
|
28
28
|
`state_fips`. They do not require separate state H5 files:
|
|
29
29
|
|
|
30
30
|
```python
|
|
@@ -218,7 +218,7 @@ df.groupby("geo").apply(lambda g: (g["change"] * g["weight"]).sum() / g["weight"
|
|
|
218
218
|
|
|
219
219
|
## Scoping datasets to a region
|
|
220
220
|
|
|
221
|
-
For reforms defined only over a sub-national slice, pass a scoping strategy to `Simulation`. `RowFilterStrategy` keeps only matching households. `WeightReplacementStrategy` is legacy matrix infrastructure
|
|
221
|
+
For reforms defined only over a sub-national slice, pass a scoping strategy to `Simulation`. `RowFilterStrategy` keeps only matching households. `WeightReplacementStrategy` is legacy matrix infrastructure; neither the UK Microcosm constituency registry nor its local-authority registry uses it.
|
|
222
222
|
|
|
223
223
|
```python
|
|
224
224
|
from policyengine.core.scoping_strategy import RowFilterStrategy
|
|
@@ -233,7 +233,7 @@ baseline = Simulation(
|
|
|
233
233
|
)
|
|
234
234
|
```
|
|
235
235
|
|
|
236
|
-
Regions that filter (US states and congressional districts, UK countries, and any region with `region.requires_filter == True`) carry their own `scoping_strategy`. Pull it off the region object rather than reconstructing it. US place regions are present as hierarchy metadata, but current
|
|
236
|
+
Regions that filter (US states and congressional districts, UK countries, and any region with `region.requires_filter == True`) carry their own `scoping_strategy`. Pull it off the region object rather than reconstructing it. US place regions are present as hierarchy metadata, but current Microcosm datasets do not carry `place_fips`, so they do not expose runtime scoping yet:
|
|
237
237
|
|
|
238
238
|
```python
|
|
239
239
|
ca = pe.us.model.region_registry.get("state/ca")
|
|
@@ -164,7 +164,7 @@ It does not own final runtime bundle certification.
|
|
|
164
164
|
|
|
165
165
|
### Country data package
|
|
166
166
|
|
|
167
|
-
Examples: `
|
|
167
|
+
Examples: `microcosm-data`, `policyengine-uk-data`
|
|
168
168
|
|
|
169
169
|
The country data package owns:
|
|
170
170
|
|
|
@@ -196,7 +196,7 @@ python scripts/bundle.py certify-data --country us \
|
|
|
196
196
|
--manifest-uri "hf://dataset/policyengine/populace-us@<tag>/releases/<tag>/release_manifest.json"
|
|
197
197
|
```
|
|
198
198
|
|
|
199
|
-
US
|
|
199
|
+
US Microcosm certification uses the Microcosm release manifest directly:
|
|
200
200
|
|
|
201
201
|
```bash
|
|
202
202
|
python scripts/bundle.py certify-data --country us --data-producer populace \
|
|
@@ -205,7 +205,7 @@ python scripts/bundle.py certify-data --country us --data-producer populace \
|
|
|
205
205
|
--model-version "<policyengine-us-version>"
|
|
206
206
|
```
|
|
207
207
|
|
|
208
|
-
That produces one US bundle manifest entry containing the
|
|
208
|
+
That produces one US bundle manifest entry containing the Microcosm national
|
|
209
209
|
default dataset and the certified ACS-local regional dataset. State and
|
|
210
210
|
congressional-district simulations use the latter with runtime row filters, so
|
|
211
211
|
derived `states/*.h5` or `districts/*.h5` files are not vendored into
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
"""Belgium population microsimulation through the Axiom rules engine.
|
|
2
2
|
|
|
3
|
-
Runs the calibrated
|
|
3
|
+
Runs the calibrated Microcosm-BE pilot dataset (Microcosm-US support records
|
|
4
4
|
reweighted to Statbel/SPF/ONSS/ONEM targets from PolicyEngine/ledger)
|
|
5
5
|
through the rulespec-be composed worker pipeline, and scores the aggregates
|
|
6
6
|
against Belgian administrative facts.
|
|
@@ -19,7 +19,7 @@ the input artifact; set a distinct output filepath explicitly before saving.
|
|
|
19
19
|
|
|
20
20
|
Usage::
|
|
21
21
|
|
|
22
|
-
|
|
22
|
+
MICROCOSM_BE_DATASET=.../populace_be_pilot_2026.h5 \\
|
|
23
23
|
RULESPEC_BE_ROOT=.../rulespec-be \\
|
|
24
24
|
uv run python examples/belgium_axiom_pilot.py
|
|
25
25
|
"""
|
|
@@ -31,19 +31,27 @@ from policyengine.tax_benefit_models.be import (
|
|
|
31
31
|
EMPLOYEE_SSC,
|
|
32
32
|
PIT_BEFORE_WITHHOLDING,
|
|
33
33
|
AxiomBelgiumPilot,
|
|
34
|
-
|
|
34
|
+
MicrocosmBelgiumDataset,
|
|
35
35
|
)
|
|
36
36
|
|
|
37
|
-
DATASET = os.environ
|
|
37
|
+
DATASET = os.environ.get("MICROCOSM_BE_DATASET")
|
|
38
|
+
if DATASET is None:
|
|
39
|
+
DATASET = os.environ.get(
|
|
40
|
+
"POPULACE_BE_DATASET" # compat: populace alias, remove after 6.20.2
|
|
41
|
+
)
|
|
42
|
+
if DATASET is None:
|
|
43
|
+
raise SystemExit(
|
|
44
|
+
"Set MICROCOSM_BE_DATASET to the Microcosm-BE pilot dataset's .h5 path."
|
|
45
|
+
)
|
|
38
46
|
RULESPEC = os.environ.get("RULESPEC_BE_ROOT", "~/TheAxiomFoundation/rulespec-be")
|
|
39
47
|
|
|
40
48
|
# Ledger facts (PolicyEngine/ledger, Belgian publisher packages)
|
|
41
49
|
ONSS_WORKER_CONTRIBUTIONS_2024 = 20_836_582_673
|
|
42
50
|
SPF_PIT_BEFORE_WITHHOLDING_2023 = 62_840_116_134
|
|
43
51
|
|
|
44
|
-
dataset =
|
|
45
|
-
name="
|
|
46
|
-
description="
|
|
52
|
+
dataset = MicrocosmBelgiumDataset(
|
|
53
|
+
name="microcosm-be-pilot",
|
|
54
|
+
description="Microcosm-US support reweighted to Belgian ledger targets",
|
|
47
55
|
filepath=DATASET,
|
|
48
56
|
year=2026,
|
|
49
57
|
)
|
|
@@ -57,7 +65,7 @@ person = output.data.person
|
|
|
57
65
|
ssc_net = person[EMPLOYEE_SSC].sum()
|
|
58
66
|
pit = person[PIT_BEFORE_WITHHOLDING].sum()
|
|
59
67
|
|
|
60
|
-
print("Belgium pilot (Axiom engine over
|
|
68
|
+
print("Belgium pilot (Axiom engine over Microcosm-BE, worker slice)")
|
|
61
69
|
print(
|
|
62
70
|
f" data vintage {output.year}; policy period {output.policy_period}; "
|
|
63
71
|
f"model {model_version.version}"
|
|
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "policyengine"
|
|
7
|
-
version = "6.20.
|
|
7
|
+
version = "6.20.2"
|
|
8
8
|
description = "A package to conduct policy analysis using PolicyEngine tax-benefit models."
|
|
9
9
|
readme = "README.md"
|
|
10
10
|
authors = [
|
|
@@ -40,17 +40,17 @@ graph = [
|
|
|
40
40
|
"networkx>=3.0",
|
|
41
41
|
]
|
|
42
42
|
models = [
|
|
43
|
-
"policyengine-core==3.
|
|
43
|
+
"policyengine-core==3.34.10",
|
|
44
44
|
"policyengine-us==2.2.2",
|
|
45
|
-
"policyengine-uk==2.
|
|
45
|
+
"policyengine-uk==2.177.7",
|
|
46
46
|
"spm-calculator==1.1.0",
|
|
47
47
|
]
|
|
48
48
|
uk = [
|
|
49
|
-
"policyengine-core==3.
|
|
50
|
-
"policyengine-uk==2.
|
|
49
|
+
"policyengine-core==3.34.10",
|
|
50
|
+
"policyengine-uk==2.177.7",
|
|
51
51
|
]
|
|
52
52
|
us = [
|
|
53
|
-
"policyengine-core==3.
|
|
53
|
+
"policyengine-core==3.34.10",
|
|
54
54
|
"policyengine-us==2.2.2",
|
|
55
55
|
"spm-calculator==1.1.0",
|
|
56
56
|
]
|
|
@@ -70,9 +70,9 @@ dev = [
|
|
|
70
70
|
"pytest-cov>=5.0.0",
|
|
71
71
|
"hypothesis>=6.100.0",
|
|
72
72
|
"rfc8785>=0.1.4",
|
|
73
|
-
"policyengine-core==3.
|
|
73
|
+
"policyengine-core==3.34.10",
|
|
74
74
|
"policyengine-us==2.2.2",
|
|
75
|
-
"policyengine-uk==2.
|
|
75
|
+
"policyengine-uk==2.177.7",
|
|
76
76
|
"spm-calculator==1.1.0",
|
|
77
77
|
]
|
|
78
78
|
|
|
@@ -5,7 +5,7 @@ Synced with policyengine-app-v2 main branch.
|
|
|
5
5
|
"""
|
|
6
6
|
|
|
7
7
|
# US cities/places with population over 100K (from Census data).
|
|
8
|
-
# These are registry metadata until
|
|
8
|
+
# These are registry metadata until Microcosm emits place-level row keys.
|
|
9
9
|
# Total: 333 places
|
|
10
10
|
US_PLACES: list[dict[str, str]] = [
|
|
11
11
|
{
|
|
@@ -100,7 +100,7 @@ def build_us_region_registry() -> RegionRegistry:
|
|
|
100
100
|
)
|
|
101
101
|
)
|
|
102
102
|
|
|
103
|
-
# 4. Place/city regions (hierarchy metadata only until
|
|
103
|
+
# 4. Place/city regions (hierarchy metadata only until Microcosm emits place_fips)
|
|
104
104
|
for place in US_PLACES:
|
|
105
105
|
state_abbrev = place["state"]
|
|
106
106
|
fips = place["fips"]
|