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.
Files changed (485) hide show
  1. {policyengine-6.20.0 → policyengine-6.20.2}/CHANGELOG.md +14 -0
  2. {policyengine-6.20.0/src/policyengine.egg-info → policyengine-6.20.2}/PKG-INFO +8 -8
  3. {policyengine-6.20.0 → policyengine-6.20.2}/docs/bundles.md +2 -2
  4. {policyengine-6.20.0 → policyengine-6.20.2}/docs/countries.md +2 -2
  5. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/build-m-us-populace-certification.md +4 -4
  6. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/data-certification.md +4 -4
  7. {policyengine-6.20.0 → policyengine-6.20.2}/docs/households.md +1 -1
  8. {policyengine-6.20.0 → policyengine-6.20.2}/docs/microsim.md +5 -5
  9. {policyengine-6.20.0 → policyengine-6.20.2}/docs/regions.md +3 -3
  10. {policyengine-6.20.0 → policyengine-6.20.2}/docs/release-bundles.md +3 -3
  11. {policyengine-6.20.0 → policyengine-6.20.2}/examples/belgium_axiom_pilot.py +16 -8
  12. {policyengine-6.20.0 → policyengine-6.20.2}/pyproject.toml +8 -8
  13. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/places.py +1 -1
  14. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/regions.py +1 -1
  15. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/bundle/manifest.json +64 -64
  16. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/bundle/uk.trace.tro.jsonld +18 -18
  17. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/bundle/us.trace.tro.jsonld +5 -5
  18. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/certification.py +30 -16
  19. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/be/__init__.py +7 -2
  20. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/be/datasets.py +6 -1
  21. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/be/model.py +9 -5
  22. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_inputs.py +1 -1
  23. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/registry.py +11 -4
  24. {policyengine-6.20.0 → policyengine-6.20.2/src/policyengine.egg-info}/PKG-INFO +8 -8
  25. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/SOURCES.txt +1 -0
  26. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/requires.txt +7 -7
  27. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_model_surface.json +1 -1
  28. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/README.md +1 -1
  29. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_be_axiom_pilot.py +7 -7
  30. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_bundle.py +7 -5
  31. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_bundle_metadata.py +6 -1
  32. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_certify_data_release.py +21 -21
  33. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_materialization.py +2 -2
  34. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_entity_utils.py +1 -1
  35. policyengine-6.20.2/tests/test_microcosm_compatibility.py +149 -0
  36. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_models.py +4 -3
  37. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_manifests.py +34 -21
  38. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_regions.py +6 -4
  39. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_inputs_integration.py +9 -9
  40. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_spm.py +4 -4
  41. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_spm_integration.py +4 -4
  42. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_regional_input_surface.py +2 -2
  43. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_regions.py +1 -1
  44. {policyengine-6.20.0 → policyengine-6.20.2}/uv.lock +14 -14
  45. {policyengine-6.20.0 → policyengine-6.20.2}/.claude/policyengine-guide.md +0 -0
  46. {policyengine-6.20.0 → policyengine-6.20.2}/.claude/quick-reference.md +0 -0
  47. {policyengine-6.20.0 → policyengine-6.20.2}/.github/CONTRIBUTING.md +0 -0
  48. {policyengine-6.20.0 → policyengine-6.20.2}/.github/bump_version.py +0 -0
  49. {policyengine-6.20.0 → policyengine-6.20.2}/.github/capture-version.sh +0 -0
  50. {policyengine-6.20.0 → policyengine-6.20.2}/.github/changelog_template.md +0 -0
  51. {policyengine-6.20.0 → policyengine-6.20.2}/.github/check-agent-notes.sh +0 -0
  52. {policyengine-6.20.0 → policyengine-6.20.2}/.github/check-changelog.sh +0 -0
  53. {policyengine-6.20.0 → policyengine-6.20.2}/.github/copilot-instructions.md +0 -0
  54. {policyengine-6.20.0 → policyengine-6.20.2}/.github/dispatch-policyengine-release.sh +0 -0
  55. {policyengine-6.20.0 → policyengine-6.20.2}/.github/fetch_version.py +0 -0
  56. {policyengine-6.20.0 → policyengine-6.20.2}/.github/get-changelog-diff.sh +0 -0
  57. {policyengine-6.20.0 → policyengine-6.20.2}/.github/has-functional-changes.sh +0 -0
  58. {policyengine-6.20.0 → policyengine-6.20.2}/.github/is-version-number-acceptable.sh +0 -0
  59. {policyengine-6.20.0 → policyengine-6.20.2}/.github/publish-git-tag.sh +0 -0
  60. {policyengine-6.20.0 → policyengine-6.20.2}/.github/qualification-ledger.sh +0 -0
  61. {policyengine-6.20.0 → policyengine-6.20.2}/.github/wait-for-pypi.sh +0 -0
  62. {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/certify-uk-release.yaml +0 -0
  63. {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/draft-pdf.yml +0 -0
  64. {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/pr_agent_notes.yaml +0 -0
  65. {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/pr_code_changes.yaml +0 -0
  66. {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/pr_docs_changes.yaml +0 -0
  67. {policyengine-6.20.0 → policyengine-6.20.2}/.github/workflows/push.yaml +0 -0
  68. {policyengine-6.20.0 → policyengine-6.20.2}/.gitignore +0 -0
  69. {policyengine-6.20.0 → policyengine-6.20.2}/.python-version +0 -0
  70. {policyengine-6.20.0 → policyengine-6.20.2}/AGENTS.md +0 -0
  71. {policyengine-6.20.0 → policyengine-6.20.2}/CITATION.cff +0 -0
  72. {policyengine-6.20.0 → policyengine-6.20.2}/CLAUDE.md +0 -0
  73. {policyengine-6.20.0 → policyengine-6.20.2}/CODE_OF_CONDUCT.md +0 -0
  74. {policyengine-6.20.0 → policyengine-6.20.2}/CONTRIBUTING.md +0 -0
  75. {policyengine-6.20.0 → policyengine-6.20.2}/LICENSE +0 -0
  76. {policyengine-6.20.0 → policyengine-6.20.2}/Makefile +0 -0
  77. {policyengine-6.20.0 → policyengine-6.20.2}/README.md +0 -0
  78. {policyengine-6.20.0 → policyengine-6.20.2}/architecture.png +0 -0
  79. {policyengine-6.20.0 → policyengine-6.20.2}/architecture.svg +0 -0
  80. {policyengine-6.20.0 → policyengine-6.20.2}/changelog.d/.gitkeep +0 -0
  81. {policyengine-6.20.0 → policyengine-6.20.2}/docs/.gitignore +0 -0
  82. {policyengine-6.20.0 → policyengine-6.20.2}/docs/_generator/README.md +0 -0
  83. {policyengine-6.20.0 → policyengine-6.20.2}/docs/_generator/build_reference.py +0 -0
  84. {policyengine-6.20.0 → policyengine-6.20.2}/docs/_quarto.yml +0 -0
  85. {policyengine-6.20.0 → policyengine-6.20.2}/docs/data-publishing-design.md +0 -0
  86. {policyengine-6.20.0 → policyengine-6.20.2}/docs/decile-impact-spec.md +0 -0
  87. {policyengine-6.20.0 → policyengine-6.20.2}/docs/dev.md +0 -0
  88. {policyengine-6.20.0 → policyengine-6.20.2}/docs/disclosure.md +0 -0
  89. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/acs-local-wic-replacement.md +0 -0
  90. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/canonical-spm-development.md +0 -0
  91. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/uk-qualification.md +0 -0
  92. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/runbooks/us-legacy-spm-sources.md +0 -0
  93. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/README.md +0 -0
  94. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/github-prs.md +0 -0
  95. {policyengine-6.20.0 → policyengine-6.20.2}/docs/engineering/skills/repository-guidance.md +0 -0
  96. {policyengine-6.20.0 → policyengine-6.20.2}/docs/examples.md +0 -0
  97. {policyengine-6.20.0 → policyengine-6.20.2}/docs/getting-started.md +0 -0
  98. {policyengine-6.20.0 → policyengine-6.20.2}/docs/impact-analysis.md +0 -0
  99. {policyengine-6.20.0 → policyengine-6.20.2}/docs/index.md +0 -0
  100. {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/index.md +0 -0
  101. {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/model-architecture.md +0 -0
  102. {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/uk-capital-gains-responses.md +0 -0
  103. {policyengine-6.20.0 → policyengine-6.20.2}/docs/methodology/us-health-costs.md +0 -0
  104. {policyengine-6.20.0 → policyengine-6.20.2}/docs/ordered-scenarios.md +0 -0
  105. {policyengine-6.20.0 → policyengine-6.20.2}/docs/outputs.md +0 -0
  106. {policyengine-6.20.0 → policyengine-6.20.2}/docs/programs/index.md +0 -0
  107. {policyengine-6.20.0 → policyengine-6.20.2}/docs/programs/us-chip.md +0 -0
  108. {policyengine-6.20.0 → policyengine-6.20.2}/docs/receipts.md +0 -0
  109. {policyengine-6.20.0 → policyengine-6.20.2}/docs/reference/index.md +0 -0
  110. {policyengine-6.20.0 → policyengine-6.20.2}/docs/reforms.md +0 -0
  111. {policyengine-6.20.0 → policyengine-6.20.2}/docs/run-records.md +0 -0
  112. {policyengine-6.20.0 → policyengine-6.20.2}/docs/trace-case-study.md +0 -0
  113. {policyengine-6.20.0 → policyengine-6.20.2}/docs/visualisation.md +0 -0
  114. {policyengine-6.20.0 → policyengine-6.20.2}/examples/employment_income_variation_uk.py +0 -0
  115. {policyengine-6.20.0 → policyengine-6.20.2}/examples/employment_income_variation_us.py +0 -0
  116. {policyengine-6.20.0 → policyengine-6.20.2}/examples/household_impact_example.py +0 -0
  117. {policyengine-6.20.0 → policyengine-6.20.2}/examples/income_bands_uk.py +0 -0
  118. {policyengine-6.20.0 → policyengine-6.20.2}/examples/income_distribution_us.py +0 -0
  119. {policyengine-6.20.0 → policyengine-6.20.2}/examples/ordered_scenario.py +0 -0
  120. {policyengine-6.20.0 → policyengine-6.20.2}/examples/ordered_scenario_modifiers.py +0 -0
  121. {policyengine-6.20.0 → policyengine-6.20.2}/examples/paper_repro_uk.py +0 -0
  122. {policyengine-6.20.0 → policyengine-6.20.2}/examples/policy_change_uk.py +0 -0
  123. {policyengine-6.20.0 → policyengine-6.20.2}/examples/speedtest_us_simulation.py +0 -0
  124. {policyengine-6.20.0 → policyengine-6.20.2}/examples/uk_geography_disclosure.py +0 -0
  125. {policyengine-6.20.0 → policyengine-6.20.2}/examples/us_budgetary_impact.py +0 -0
  126. {policyengine-6.20.0 → policyengine-6.20.2}/paper-preview.html +0 -0
  127. {policyengine-6.20.0 → policyengine-6.20.2}/paper.bib +0 -0
  128. {policyengine-6.20.0 → policyengine-6.20.2}/paper.md +0 -0
  129. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/audit_regional_input_surface.py +0 -0
  130. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/bundle.py +0 -0
  131. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/certify_data_release.py +0 -0
  132. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_data_staleness.py +0 -0
  133. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_native_spm_loading.py +0 -0
  134. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_release_credentials.py +0 -0
  135. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_uk_candidate.py +0 -0
  136. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/check_uk_uc_floor.py +0 -0
  137. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/export_bundle_release_assets.py +0 -0
  138. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_bundle_artifacts.py +0 -0
  139. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_ordered_scenario_vectors.py +0 -0
  140. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_receipt_schemas.py +0 -0
  141. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/generate_trace_tros.py +0 -0
  142. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/prepare_package_bundle_update.py +0 -0
  143. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/release_consumers.py +0 -0
  144. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/release_lock.py +0 -0
  145. {policyengine-6.20.0 → policyengine-6.20.2}/scripts/spm_bundle.py +0 -0
  146. {policyengine-6.20.0 → policyengine-6.20.2}/setup.cfg +0 -0
  147. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/__init__.py +0 -0
  148. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/bundle.py +0 -0
  149. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/cli.py +0 -0
  150. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/__init__.py +0 -0
  151. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/cache.py +0 -0
  152. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/dataset.py +0 -0
  153. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/dynamic.py +0 -0
  154. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/entity.py +0 -0
  155. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/output.py +0 -0
  156. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/parameter.py +0 -0
  157. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/parameter_node.py +0 -0
  158. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/parameter_value.py +0 -0
  159. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/policy.py +0 -0
  160. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/region.py +0 -0
  161. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/run_record.py +0 -0
  162. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/scoping_strategy.py +0 -0
  163. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/simulation.py +0 -0
  164. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/spm.py +0 -0
  165. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/tax_benefit_model.py +0 -0
  166. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/tax_benefit_model_version.py +0 -0
  167. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/core/variable.py +0 -0
  168. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/__init__.py +0 -0
  169. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/uk/__init__.py +0 -0
  170. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/uk/regions.py +0 -0
  171. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/__init__.py +0 -0
  172. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/__init__.py +0 -0
  173. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/districts.py +0 -0
  174. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/countries/us/data/states.py +0 -0
  175. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/__init__.py +0 -0
  176. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/replay_policy.md +0 -0
  177. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk.json +0 -0
  178. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_budget_critical_inputs.json +0 -0
  179. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_replay_exceptions.json +0 -0
  180. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_review_bounds.json +0 -0
  181. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/qualification/uk_uc_floor.json +0 -0
  182. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/execution_receipt.v1.schema.json +0 -0
  183. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/ordered_scenario_plan.v1.schema.json +0 -0
  184. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/ordered_scenario_plan.v1.vectors.json +0 -0
  185. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/trace_tro.schema.json +0 -0
  186. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md +0 -0
  187. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/qualification_request.v1.json +0 -0
  188. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json +0 -0
  189. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json +0 -0
  190. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography/SOURCES.md +0 -0
  191. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography/constituencies_2024.csv +0 -0
  192. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography/local_authorities_2023.csv +0 -0
  193. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/data/uk_geography_assets.py +0 -0
  194. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/derivations/__init__.py +0 -0
  195. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/derivations/narrate.py +0 -0
  196. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/derivations/trace.py +0 -0
  197. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/__init__.py +0 -0
  198. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/__main__.py +0 -0
  199. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/areas.py +0 -0
  200. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/estimate.py +0 -0
  201. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/noise.py +0 -0
  202. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/release.py +0 -0
  203. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/schema.py +0 -0
  204. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/support.py +0 -0
  205. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/disclosure/validate.py +0 -0
  206. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/graph/__init__.py +0 -0
  207. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/graph/extractor.py +0 -0
  208. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/graph/graph.py +0 -0
  209. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/__init__.py +0 -0
  210. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/aggregate.py +0 -0
  211. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/change_aggregate.py +0 -0
  212. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/cliff_impact.py +0 -0
  213. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/congressional_district_impact.py +0 -0
  214. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/constituency_impact.py +0 -0
  215. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/decile_analysis.py +0 -0
  216. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/decile_grouping.py +0 -0
  217. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/decile_impact.py +0 -0
  218. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/extra_variables.py +0 -0
  219. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/inequality.py +0 -0
  220. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/intra_decile_impact.py +0 -0
  221. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/labor_supply_response.py +0 -0
  222. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/local_authority_impact.py +0 -0
  223. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/poverty.py +0 -0
  224. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/program_statistics.py +0 -0
  225. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/uk_geography_assets.py +0 -0
  226. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/uk_geography_disclosure.py +0 -0
  227. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/outputs/uk_geography_impact.py +0 -0
  228. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/__init__.py +0 -0
  229. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/bundle_validation.py +0 -0
  230. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/bytecode.py +0 -0
  231. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/canonical.py +0 -0
  232. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/dataset_materialization.py +0 -0
  233. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/loaded.py +0 -0
  234. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/manifest.py +0 -0
  235. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/ordered_scenario.py +0 -0
  236. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/pyproject_pins.py +0 -0
  237. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/qualification.py +0 -0
  238. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/qualification_ledger.py +0 -0
  239. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/receipt.py +0 -0
  240. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/regional_input_surface.py +0 -0
  241. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/replay_probe.py +0 -0
  242. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/spm_configuration.py +0 -0
  243. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/trace.py +0 -0
  244. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/uk_candidate.py +0 -0
  245. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/uk_qualification.py +0 -0
  246. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/uk_uc_floor.py +0 -0
  247. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/verify.py +0 -0
  248. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/wheels.py +0 -0
  249. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/provenance/zenodo.py +0 -0
  250. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/__init__.py +0 -0
  251. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/schema.py +0 -0
  252. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/trace_tro.py +0 -0
  253. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/results/tracking.py +0 -0
  254. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/__init__.py +0 -0
  255. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/axes.py +0 -0
  256. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/extra_variables.py +0 -0
  257. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/household.py +0 -0
  258. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/model_version.py +0 -0
  259. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/reform.py +0 -0
  260. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/common/result.py +0 -0
  261. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/__init__.py +0 -0
  262. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/analysis.py +0 -0
  263. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py +0 -0
  264. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/budget_reform_population.py +0 -0
  265. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/capital_gains_responses.py +0 -0
  266. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/datasets.py +0 -0
  267. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/household.py +0 -0
  268. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/uk/model.py +0 -0
  269. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/__init__.py +0 -0
  270. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/analysis.py +0 -0
  271. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/datasets.py +0 -0
  272. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/household.py +0 -0
  273. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/__init__.py +0 -0
  274. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/declarations.py +0 -0
  275. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/independence.py +0 -0
  276. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/model_adapter.py +0 -0
  277. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/record.py +0 -0
  278. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/runs.py +0 -0
  279. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/legacy_spm/universe.py +0 -0
  280. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/managed_scope.py +0 -0
  281. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/model.py +0 -0
  282. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/tax_benefit_models/us/spm.py +0 -0
  283. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/__init__.py +0 -0
  284. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/dates.py +0 -0
  285. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/design.py +0 -0
  286. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/entity_utils.py +0 -0
  287. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/errors.py +0 -0
  288. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/hashing.py +0 -0
  289. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/household_validation.py +0 -0
  290. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/parameter_labels.py +0 -0
  291. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/parametric_reforms.py +0 -0
  292. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine/utils/plotting.py +0 -0
  293. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/dependency_links.txt +0 -0
  294. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/entry_points.txt +0 -0
  295. {policyengine-6.20.0 → policyengine-6.20.2}/src/policyengine.egg-info/top_level.txt +0 -0
  296. {policyengine-6.20.0 → policyengine-6.20.2}/tests/__init__.py +0 -0
  297. {policyengine-6.20.0 → policyengine-6.20.2}/tests/conftest.py +0 -0
  298. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/__init__.py +0 -0
  299. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/country_model_fixtures.py +0 -0
  300. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/filtering_fixtures.py +0 -0
  301. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_couple_two_kids.json +0 -0
  302. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_single_adult_employment_income.json +0 -0
  303. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_single_adult_no_income.json +0 -0
  304. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/uk_single_parent_one_child.json +0 -0
  305. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_married_two_kids_high_income.json +0 -0
  306. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_model_surface.json +0 -0
  307. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_single_adult_employment_income.json +0 -0
  308. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_single_adult_no_income.json +0 -0
  309. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/household_calculator_snapshots/us_single_parent_one_child.json +0 -0
  310. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/local_manifest/main_485dc2330_certification.py.txt +0 -0
  311. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/parameter_labels_fixtures.py +0 -0
  312. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/parametric_reforms_fixtures.py +0 -0
  313. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/poverty_by_demographics_fixtures.py +0 -0
  314. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/region_fixtures.py +0 -0
  315. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/country-models.lock.toml +0 -0
  316. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/manifest.json +0 -0
  317. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/us-release_manifest.json +0 -0
  318. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/release_tros/us.trace.tro.jsonld +0 -0
  319. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/README.md +0 -0
  320. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/main_policy_metadata.json +0 -0
  321. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/main_replay_policy.py.txt +0 -0
  322. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json +0 -0
  323. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json +0 -0
  324. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json +0 -0
  325. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json +0 -0
  326. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/spm_development.py +0 -0
  327. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/README.md +0 -0
  328. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/evaluate_case_rows.json +0 -0
  329. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/full_released_uk_2.135.0.json +0 -0
  330. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json +0 -0
  331. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_contract/population_pass_max_examples_0.json +0 -0
  332. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_metrics/README.md +0 -0
  333. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_metrics/budget_metrics_report.json +0 -0
  334. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_metrics/standard_reforms.yaml +0 -0
  335. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_qualification/microcosm_routed_bundle.json +0 -0
  336. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_qualification/uk_data_line_bundle.json +0 -0
  337. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/DIGESTS.json +0 -0
  338. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/README.md +0 -0
  339. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/qualification_request_golden.jcs +0 -0
  340. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/qualification_request_golden.json +0 -0
  341. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json +0 -0
  342. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json +0 -0
  343. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json +0 -0
  344. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json +0 -0
  345. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json +0 -0
  346. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/replay_receipt_golden.jcs +0 -0
  347. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/uk_replay/replay_receipt_golden.json +0 -0
  348. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/us_reform_fixtures.py +0 -0
  349. {policyengine-6.20.0 → policyengine-6.20.2}/tests/fixtures/variable_label_fixtures.py +0 -0
  350. {policyengine-6.20.0 → policyengine-6.20.2}/tests/ordered_receipt_modifiers.py +0 -0
  351. {policyengine-6.20.0 → policyengine-6.20.2}/tests/qualification_fixtures.py +0 -0
  352. {policyengine-6.20.0 → policyengine-6.20.2}/tests/receipt_modifiers.py +0 -0
  353. {policyengine-6.20.0 → policyengine-6.20.2}/tests/receipt_unbindable_modifiers.py +0 -0
  354. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_aggregate.py +0 -0
  355. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_budgetary_impact.py +0 -0
  356. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_bump_version.py +0 -0
  357. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_cache.py +0 -0
  358. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_canonical_json.py +0 -0
  359. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_change_aggregate.py +0 -0
  360. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_check_agent_notes.py +0 -0
  361. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_ci_runner_variables.py +0 -0
  362. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_cliff_impact.py +0 -0
  363. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_cliff_impact_analysis.py +0 -0
  364. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_congressional_district_impact.py +0 -0
  365. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_constituency_impact.py +0 -0
  366. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_persistence.py +0 -0
  367. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_runtime.py +0 -0
  368. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dataset_source.py +0 -0
  369. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_decile_grouping.py +0 -0
  370. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_derivations.py +0 -0
  371. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_dict_reforms_on_simulation.py +0 -0
  372. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_areas.py +0 -0
  373. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_estimate.py +0 -0
  374. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_noise.py +0 -0
  375. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_release.py +0 -0
  376. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_schema.py +0 -0
  377. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_support.py +0 -0
  378. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_disclosure_validate.py +0 -0
  379. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_entity_mapping.py +0 -0
  380. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_entity_utils_characterization.py +0 -0
  381. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_errors.py +0 -0
  382. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_execution_receipt.py +0 -0
  383. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_extra_variables.py +0 -0
  384. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_filtering.py +0 -0
  385. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_generate_trace_tros.py +0 -0
  386. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_graph/__init__.py +0 -0
  387. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_graph/conftest.py +0 -0
  388. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_graph/test_extractor.py +0 -0
  389. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_household_calculator_snapshot.py +0 -0
  390. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_household_impact.py +0 -0
  391. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_inequality.py +0 -0
  392. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_intra_decile_impact.py +0 -0
  393. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_labor_supply_response.py +0 -0
  394. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_authority_impact.py +0 -0
  395. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_data_manifest.py +0 -0
  396. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_manifest_receipt.py +0 -0
  397. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_local_manifest_tro_pins.py +0 -0
  398. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_manifest_version_mismatch.py +0 -0
  399. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_measure_regional_inputs.py +0 -0
  400. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_model_entities.py +0 -0
  401. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_ordered_scenario_receipt.py +0 -0
  402. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_pandas3_compatibility.py +0 -0
  403. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_labels.py +0 -0
  404. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_metadata.py +0 -0
  405. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_nodes.py +0 -0
  406. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parameter_values.py +0 -0
  407. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_parametric_reforms.py +0 -0
  408. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_phased_scenario_receipt.py +0 -0
  409. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_poverty.py +0 -0
  410. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_poverty_by_demographics.py +0 -0
  411. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_poverty_run.py +0 -0
  412. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_preservation_mirror.py +0 -0
  413. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_program_statistics.py +0 -0
  414. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_pyproject_pins.py +0 -0
  415. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualification_contracts.py +0 -0
  416. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualification_ledger_concurrency.py +0 -0
  417. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualification_ledger_script.py +0 -0
  418. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_qualified_pair_certification.py +0 -0
  419. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_region.py +0 -0
  420. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_region_group_strategy.py +0 -0
  421. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_regional_input_evidence.py +0 -0
  422. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_build_folders.py +0 -0
  423. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_credentials.py +0 -0
  424. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_lock.py +0 -0
  425. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_release_tro_generation.py +0 -0
  426. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_coherence_round3.py +0 -0
  427. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_finalize_review.py +0 -0
  428. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_hardening_round3.py +0 -0
  429. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_lineage.py +0 -0
  430. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_lineage_round3.py +0 -0
  431. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_policy_review.py +0 -0
  432. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_probe.py +0 -0
  433. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exception_probe_round3.py +0 -0
  434. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_replay_exceptions.py +0 -0
  435. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_results.py +0 -0
  436. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_run_record.py +0 -0
  437. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_scoping_strategy.py +0 -0
  438. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_simulation_ensure_errors.py +0 -0
  439. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_small_follow_ups.py +0 -0
  440. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_bundle_bootstrap.py +0 -0
  441. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_bundle_tooling.py +0 -0
  442. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_decile.py +0 -0
  443. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_development_authentication.py +0 -0
  444. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_household.py +0 -0
  445. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_model.py +0 -0
  446. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_selection.py +0 -0
  447. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_spm_selection_schema.py +0 -0
  448. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_trace_tro.py +0 -0
  449. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_trace_tro_verify.py +0 -0
  450. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_analysis.py +0 -0
  451. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_area_lists.py +0 -0
  452. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_budget_reform_contract.py +0 -0
  453. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_candidate_gates.py +0 -0
  454. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_candidate_metric_baselines.py +0 -0
  455. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_cgt_default.py +0 -0
  456. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_cgt_response_records.py +0 -0
  457. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_cgt_responses.py +0 -0
  458. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_dated_reforms.py +0 -0
  459. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_geography_assets.py +0 -0
  460. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_geography_disclosure.py +0 -0
  461. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_modifier_cache.py +0 -0
  462. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_nation_model_agreement.py +0 -0
  463. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_program_statistics.py +0 -0
  464. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_qualification_pipeline.py +0 -0
  465. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_qualification_replay_inputs.py +0 -0
  466. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_qualification_workflow.py +0 -0
  467. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_uc_floor.py +0 -0
  468. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_uk_year_file_data_year.py +0 -0
  469. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_household_groups.py +0 -0
  470. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_inputs.py +0 -0
  471. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_legacy_spm_model_contract.py +0 -0
  472. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_long_term_datasets.py +0 -0
  473. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_managed_scope.py +0 -0
  474. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_microsim_structural_reforms.py +0 -0
  475. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_native_alignment.py +0 -0
  476. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_native_hdf_weights.py +0 -0
  477. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_population_context.py +0 -0
  478. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_program_statistics.py +0 -0
  479. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_reform_application.py +0 -0
  480. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_us_year_file_stamp.py +0 -0
  481. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_variable_labels.py +0 -0
  482. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_variable_metadata.py +0 -0
  483. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_wheels.py +0 -0
  484. {policyengine-6.20.0 → policyengine-6.20.2}/tests/test_zenodo_mirror.py +0 -0
  485. {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.0
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.33.3; extra == "models"
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.174.1; extra == "models"
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.33.3; extra == "uk"
694
- Requires-Dist: policyengine-uk==2.174.1; extra == "uk"
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.33.3; extra == "us"
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.33.3; extra == "dev"
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.174.1; extra == "dev"
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 Populace releases, certify the Populace release manifest directly:
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
- Populace dataset with row filters. Pass its non-default local-area release
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 | Populace US 2024 (`populace_us_2024.h5`) |
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: Populace row scoping uses `state_fips` and `congressional_district_geoid`.
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 Populace certification runbook
1
+ # US Microcosm certification runbook
2
2
 
3
- Use this runbook to certify a new national US Populace release together with
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 populace repo is public.
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 Populace dataset;
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 Populace certification, certify the Populace release manifests
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 Populace dataset. Its release manifest must declare
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 Populace release publishes derived `states/*.h5` or `districts/*.h5`
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 Populace-US `us_source_coverage.json`), a malformed shared
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.33.3, `spm-calculator` 1.1.0, and the US data
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 **Populace US 2024** — a Populace-built dataset
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 **Populace UK 2023**
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
- Populace US 2024 build of roughly **1.6 million households** on an **ACS 2024
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 Populace US microsimulation uses roughly 4 GB of memory and takes 15-30 seconds on a laptop. For parameter sweeps, reuse the baseline:
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/smoke_test_populace_us_2024.h5"],
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
- Populace dataset declared by `region.dataset_path`, then scope its rows by
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 and is not used by the UK Populace constituency or local-authority registry.
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 Populace datasets do not carry `place_fips`, so they do not expose runtime scoping yet:
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: `populace-data`, `policyengine-uk-data`
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 Populace certification uses the Populace release manifest directly:
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 Populace national
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 populace-be pilot dataset (populace-us support records
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
- POPULACE_BE_DATASET=.../populace_be_pilot_2026.h5 \\
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
- PopulaceBelgiumDataset,
34
+ MicrocosmBelgiumDataset,
35
35
  )
36
36
 
37
- DATASET = os.environ["POPULACE_BE_DATASET"]
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 = PopulaceBelgiumDataset(
45
- name="populace-be-pilot",
46
- description="populace-us support reweighted to Belgian ledger targets",
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 populace-be, worker slice)")
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.0"
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.33.3",
43
+ "policyengine-core==3.34.10",
44
44
  "policyengine-us==2.2.2",
45
- "policyengine-uk==2.174.1",
45
+ "policyengine-uk==2.177.7",
46
46
  "spm-calculator==1.1.0",
47
47
  ]
48
48
  uk = [
49
- "policyengine-core==3.33.3",
50
- "policyengine-uk==2.174.1",
49
+ "policyengine-core==3.34.10",
50
+ "policyengine-uk==2.177.7",
51
51
  ]
52
52
  us = [
53
- "policyengine-core==3.33.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.33.3",
73
+ "policyengine-core==3.34.10",
74
74
  "policyengine-us==2.2.2",
75
- "policyengine-uk==2.174.1",
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 Populace emits place-level row keys.
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 Populace emits place_fips)
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"]