policyengine 6.16.1__tar.gz → 6.16.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 (470) hide show
  1. {policyengine-6.16.1 → policyengine-6.16.2}/.github/workflows/push.yaml +14 -5
  2. {policyengine-6.16.1 → policyengine-6.16.2}/CHANGELOG.md +26 -0
  3. {policyengine-6.16.1/src/policyengine.egg-info → policyengine-6.16.2}/PKG-INFO +4 -4
  4. {policyengine-6.16.1 → policyengine-6.16.2}/docs/households.md +60 -7
  5. {policyengine-6.16.1 → policyengine-6.16.2}/pyproject.toml +4 -4
  6. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/simulation.py +9 -4
  7. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/bundle/manifest.json +48 -48
  8. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/bundle/uk.trace.tro.jsonld +18 -18
  9. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/bundle/us.trace.tro.jsonld +5 -5
  10. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/household.py +22 -6
  11. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/result.py +4 -3
  12. policyengine-6.16.2/src/policyengine/tax_benefit_models/us/household.py +490 -0
  13. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/household_validation.py +21 -6
  14. {policyengine-6.16.1 → policyengine-6.16.2/src/policyengine.egg-info}/PKG-INFO +4 -4
  15. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine.egg-info/SOURCES.txt +2 -0
  16. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine.egg-info/requires.txt +3 -3
  17. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/uk_couple_two_kids.json +5 -5
  18. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/uk_model_surface.json +2 -2
  19. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/uk_single_adult_employment_income.json +5 -5
  20. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/uk_single_adult_no_income.json +5 -5
  21. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/uk_single_parent_one_child.json +5 -5
  22. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_models.py +2 -2
  23. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_release_manifests.py +5 -5
  24. policyengine-6.16.2/tests/test_simulation_ensure_errors.py +221 -0
  25. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_regions.py +2 -2
  26. policyengine-6.16.2/tests/test_us_household_groups.py +841 -0
  27. {policyengine-6.16.1 → policyengine-6.16.2}/uv.lock +7 -7
  28. policyengine-6.16.1/src/policyengine/tax_benefit_models/us/household.py +0 -335
  29. {policyengine-6.16.1 → policyengine-6.16.2}/.claude/policyengine-guide.md +0 -0
  30. {policyengine-6.16.1 → policyengine-6.16.2}/.claude/quick-reference.md +0 -0
  31. {policyengine-6.16.1 → policyengine-6.16.2}/.github/CONTRIBUTING.md +0 -0
  32. {policyengine-6.16.1 → policyengine-6.16.2}/.github/bump_version.py +0 -0
  33. {policyengine-6.16.1 → policyengine-6.16.2}/.github/capture-version.sh +0 -0
  34. {policyengine-6.16.1 → policyengine-6.16.2}/.github/changelog_template.md +0 -0
  35. {policyengine-6.16.1 → policyengine-6.16.2}/.github/check-agent-notes.sh +0 -0
  36. {policyengine-6.16.1 → policyengine-6.16.2}/.github/check-changelog.sh +0 -0
  37. {policyengine-6.16.1 → policyengine-6.16.2}/.github/copilot-instructions.md +0 -0
  38. {policyengine-6.16.1 → policyengine-6.16.2}/.github/dispatch-policyengine-release.sh +0 -0
  39. {policyengine-6.16.1 → policyengine-6.16.2}/.github/fetch_version.py +0 -0
  40. {policyengine-6.16.1 → policyengine-6.16.2}/.github/get-changelog-diff.sh +0 -0
  41. {policyengine-6.16.1 → policyengine-6.16.2}/.github/has-functional-changes.sh +0 -0
  42. {policyengine-6.16.1 → policyengine-6.16.2}/.github/is-version-number-acceptable.sh +0 -0
  43. {policyengine-6.16.1 → policyengine-6.16.2}/.github/publish-git-tag.sh +0 -0
  44. {policyengine-6.16.1 → policyengine-6.16.2}/.github/qualification-ledger.sh +0 -0
  45. {policyengine-6.16.1 → policyengine-6.16.2}/.github/wait-for-pypi.sh +0 -0
  46. {policyengine-6.16.1 → policyengine-6.16.2}/.github/workflows/certify-uk-release.yaml +0 -0
  47. {policyengine-6.16.1 → policyengine-6.16.2}/.github/workflows/draft-pdf.yml +0 -0
  48. {policyengine-6.16.1 → policyengine-6.16.2}/.github/workflows/pr_agent_notes.yaml +0 -0
  49. {policyengine-6.16.1 → policyengine-6.16.2}/.github/workflows/pr_code_changes.yaml +0 -0
  50. {policyengine-6.16.1 → policyengine-6.16.2}/.github/workflows/pr_docs_changes.yaml +0 -0
  51. {policyengine-6.16.1 → policyengine-6.16.2}/.gitignore +0 -0
  52. {policyengine-6.16.1 → policyengine-6.16.2}/.python-version +0 -0
  53. {policyengine-6.16.1 → policyengine-6.16.2}/AGENTS.md +0 -0
  54. {policyengine-6.16.1 → policyengine-6.16.2}/CITATION.cff +0 -0
  55. {policyengine-6.16.1 → policyengine-6.16.2}/CLAUDE.md +0 -0
  56. {policyengine-6.16.1 → policyengine-6.16.2}/CODE_OF_CONDUCT.md +0 -0
  57. {policyengine-6.16.1 → policyengine-6.16.2}/CONTRIBUTING.md +0 -0
  58. {policyengine-6.16.1 → policyengine-6.16.2}/LICENSE +0 -0
  59. {policyengine-6.16.1 → policyengine-6.16.2}/Makefile +0 -0
  60. {policyengine-6.16.1 → policyengine-6.16.2}/README.md +0 -0
  61. {policyengine-6.16.1 → policyengine-6.16.2}/architecture.png +0 -0
  62. {policyengine-6.16.1 → policyengine-6.16.2}/architecture.svg +0 -0
  63. {policyengine-6.16.1 → policyengine-6.16.2}/changelog.d/.gitkeep +0 -0
  64. {policyengine-6.16.1 → policyengine-6.16.2}/docs/.gitignore +0 -0
  65. {policyengine-6.16.1 → policyengine-6.16.2}/docs/_generator/README.md +0 -0
  66. {policyengine-6.16.1 → policyengine-6.16.2}/docs/_generator/build_reference.py +0 -0
  67. {policyengine-6.16.1 → policyengine-6.16.2}/docs/_quarto.yml +0 -0
  68. {policyengine-6.16.1 → policyengine-6.16.2}/docs/bundles.md +0 -0
  69. {policyengine-6.16.1 → policyengine-6.16.2}/docs/countries.md +0 -0
  70. {policyengine-6.16.1 → policyengine-6.16.2}/docs/data-publishing-design.md +0 -0
  71. {policyengine-6.16.1 → policyengine-6.16.2}/docs/decile-impact-spec.md +0 -0
  72. {policyengine-6.16.1 → policyengine-6.16.2}/docs/dev.md +0 -0
  73. {policyengine-6.16.1 → policyengine-6.16.2}/docs/disclosure.md +0 -0
  74. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/runbooks/acs-local-wic-replacement.md +0 -0
  75. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/runbooks/build-m-us-populace-certification.md +0 -0
  76. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/runbooks/canonical-spm-development.md +0 -0
  77. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/runbooks/uk-qualification.md +0 -0
  78. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/runbooks/us-legacy-spm-sources.md +0 -0
  79. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/skills/README.md +0 -0
  80. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/skills/data-certification.md +0 -0
  81. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/skills/github-prs.md +0 -0
  82. {policyengine-6.16.1 → policyengine-6.16.2}/docs/engineering/skills/repository-guidance.md +0 -0
  83. {policyengine-6.16.1 → policyengine-6.16.2}/docs/examples.md +0 -0
  84. {policyengine-6.16.1 → policyengine-6.16.2}/docs/getting-started.md +0 -0
  85. {policyengine-6.16.1 → policyengine-6.16.2}/docs/impact-analysis.md +0 -0
  86. {policyengine-6.16.1 → policyengine-6.16.2}/docs/index.md +0 -0
  87. {policyengine-6.16.1 → policyengine-6.16.2}/docs/methodology/index.md +0 -0
  88. {policyengine-6.16.1 → policyengine-6.16.2}/docs/methodology/model-architecture.md +0 -0
  89. {policyengine-6.16.1 → policyengine-6.16.2}/docs/methodology/uk-capital-gains-responses.md +0 -0
  90. {policyengine-6.16.1 → policyengine-6.16.2}/docs/methodology/us-health-costs.md +0 -0
  91. {policyengine-6.16.1 → policyengine-6.16.2}/docs/microsim.md +0 -0
  92. {policyengine-6.16.1 → policyengine-6.16.2}/docs/outputs.md +0 -0
  93. {policyengine-6.16.1 → policyengine-6.16.2}/docs/programs/index.md +0 -0
  94. {policyengine-6.16.1 → policyengine-6.16.2}/docs/programs/us-chip.md +0 -0
  95. {policyengine-6.16.1 → policyengine-6.16.2}/docs/receipts.md +0 -0
  96. {policyengine-6.16.1 → policyengine-6.16.2}/docs/reference/index.md +0 -0
  97. {policyengine-6.16.1 → policyengine-6.16.2}/docs/reforms.md +0 -0
  98. {policyengine-6.16.1 → policyengine-6.16.2}/docs/regions.md +0 -0
  99. {policyengine-6.16.1 → policyengine-6.16.2}/docs/release-bundles.md +0 -0
  100. {policyengine-6.16.1 → policyengine-6.16.2}/docs/run-records.md +0 -0
  101. {policyengine-6.16.1 → policyengine-6.16.2}/docs/trace-case-study.md +0 -0
  102. {policyengine-6.16.1 → policyengine-6.16.2}/docs/visualisation.md +0 -0
  103. {policyengine-6.16.1 → policyengine-6.16.2}/examples/belgium_axiom_pilot.py +0 -0
  104. {policyengine-6.16.1 → policyengine-6.16.2}/examples/employment_income_variation_uk.py +0 -0
  105. {policyengine-6.16.1 → policyengine-6.16.2}/examples/employment_income_variation_us.py +0 -0
  106. {policyengine-6.16.1 → policyengine-6.16.2}/examples/household_impact_example.py +0 -0
  107. {policyengine-6.16.1 → policyengine-6.16.2}/examples/income_bands_uk.py +0 -0
  108. {policyengine-6.16.1 → policyengine-6.16.2}/examples/income_distribution_us.py +0 -0
  109. {policyengine-6.16.1 → policyengine-6.16.2}/examples/paper_repro_uk.py +0 -0
  110. {policyengine-6.16.1 → policyengine-6.16.2}/examples/policy_change_uk.py +0 -0
  111. {policyengine-6.16.1 → policyengine-6.16.2}/examples/speedtest_us_simulation.py +0 -0
  112. {policyengine-6.16.1 → policyengine-6.16.2}/examples/uk_geography_disclosure.py +0 -0
  113. {policyengine-6.16.1 → policyengine-6.16.2}/examples/us_budgetary_impact.py +0 -0
  114. {policyengine-6.16.1 → policyengine-6.16.2}/paper-preview.html +0 -0
  115. {policyengine-6.16.1 → policyengine-6.16.2}/paper.bib +0 -0
  116. {policyengine-6.16.1 → policyengine-6.16.2}/paper.md +0 -0
  117. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/audit_regional_input_surface.py +0 -0
  118. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/bundle.py +0 -0
  119. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/certify_data_release.py +0 -0
  120. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/check_data_staleness.py +0 -0
  121. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/check_native_spm_loading.py +0 -0
  122. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/check_release_credentials.py +0 -0
  123. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/check_uk_candidate.py +0 -0
  124. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/check_uk_uc_floor.py +0 -0
  125. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/export_bundle_release_assets.py +0 -0
  126. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/generate_bundle_artifacts.py +0 -0
  127. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/generate_receipt_schemas.py +0 -0
  128. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/generate_trace_tros.py +0 -0
  129. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/prepare_package_bundle_update.py +0 -0
  130. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/release_consumers.py +0 -0
  131. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/release_lock.py +0 -0
  132. {policyengine-6.16.1 → policyengine-6.16.2}/scripts/spm_bundle.py +0 -0
  133. {policyengine-6.16.1 → policyengine-6.16.2}/setup.cfg +0 -0
  134. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/__init__.py +0 -0
  135. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/bundle.py +0 -0
  136. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/cli.py +0 -0
  137. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/__init__.py +0 -0
  138. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/cache.py +0 -0
  139. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/dataset.py +0 -0
  140. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/dynamic.py +0 -0
  141. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/entity.py +0 -0
  142. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/output.py +0 -0
  143. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/parameter.py +0 -0
  144. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/parameter_node.py +0 -0
  145. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/parameter_value.py +0 -0
  146. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/policy.py +0 -0
  147. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/region.py +0 -0
  148. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/run_record.py +0 -0
  149. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/scoping_strategy.py +0 -0
  150. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/spm.py +0 -0
  151. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/tax_benefit_model.py +0 -0
  152. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/tax_benefit_model_version.py +0 -0
  153. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/core/variable.py +0 -0
  154. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/__init__.py +0 -0
  155. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/uk/__init__.py +0 -0
  156. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/uk/regions.py +0 -0
  157. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/us/__init__.py +0 -0
  158. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/us/data/__init__.py +0 -0
  159. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/us/data/districts.py +0 -0
  160. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/us/data/places.py +0 -0
  161. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/us/data/states.py +0 -0
  162. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/countries/us/regions.py +0 -0
  163. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/__init__.py +0 -0
  164. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/qualification/replay_policy.md +0 -0
  165. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/qualification/uk.json +0 -0
  166. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/qualification/uk_budget_critical_inputs.json +0 -0
  167. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/qualification/uk_replay_exceptions.json +0 -0
  168. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/qualification/uk_review_bounds.json +0 -0
  169. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/qualification/uk_uc_floor.json +0 -0
  170. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/schemas/execution_receipt.v1.schema.json +0 -0
  171. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/schemas/trace_tro.schema.json +0 -0
  172. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/README.md +0 -0
  173. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/qualification_request.v1.json +0 -0
  174. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_receipt.v1.json +0 -0
  175. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/schemas/vendor/policyengine-scorecard/replay_status.v1.json +0 -0
  176. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/uk_geography/SOURCES.md +0 -0
  177. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/uk_geography/constituencies_2024.csv +0 -0
  178. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/uk_geography/local_authorities_2023.csv +0 -0
  179. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/data/uk_geography_assets.py +0 -0
  180. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/derivations/__init__.py +0 -0
  181. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/derivations/narrate.py +0 -0
  182. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/derivations/trace.py +0 -0
  183. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/__init__.py +0 -0
  184. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/__main__.py +0 -0
  185. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/areas.py +0 -0
  186. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/estimate.py +0 -0
  187. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/noise.py +0 -0
  188. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/release.py +0 -0
  189. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/schema.py +0 -0
  190. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/support.py +0 -0
  191. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/disclosure/validate.py +0 -0
  192. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/graph/__init__.py +0 -0
  193. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/graph/extractor.py +0 -0
  194. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/graph/graph.py +0 -0
  195. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/__init__.py +0 -0
  196. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/aggregate.py +0 -0
  197. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/change_aggregate.py +0 -0
  198. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/cliff_impact.py +0 -0
  199. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/congressional_district_impact.py +0 -0
  200. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/constituency_impact.py +0 -0
  201. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/decile_analysis.py +0 -0
  202. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/decile_grouping.py +0 -0
  203. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/decile_impact.py +0 -0
  204. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/extra_variables.py +0 -0
  205. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/inequality.py +0 -0
  206. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/intra_decile_impact.py +0 -0
  207. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/labor_supply_response.py +0 -0
  208. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/local_authority_impact.py +0 -0
  209. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/poverty.py +0 -0
  210. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/program_statistics.py +0 -0
  211. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/uk_geography_assets.py +0 -0
  212. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/uk_geography_disclosure.py +0 -0
  213. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/outputs/uk_geography_impact.py +0 -0
  214. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/__init__.py +0 -0
  215. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/bundle_validation.py +0 -0
  216. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/bytecode.py +0 -0
  217. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/canonical.py +0 -0
  218. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/certification.py +0 -0
  219. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/dataset_materialization.py +0 -0
  220. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/loaded.py +0 -0
  221. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/manifest.py +0 -0
  222. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/pyproject_pins.py +0 -0
  223. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/qualification.py +0 -0
  224. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/qualification_ledger.py +0 -0
  225. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/receipt.py +0 -0
  226. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/regional_input_surface.py +0 -0
  227. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/replay_probe.py +0 -0
  228. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/spm_configuration.py +0 -0
  229. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/trace.py +0 -0
  230. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/uk_candidate.py +0 -0
  231. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/uk_qualification.py +0 -0
  232. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/uk_uc_floor.py +0 -0
  233. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/verify.py +0 -0
  234. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/wheels.py +0 -0
  235. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/provenance/zenodo.py +0 -0
  236. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/results/__init__.py +0 -0
  237. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/results/schema.py +0 -0
  238. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/results/trace_tro.py +0 -0
  239. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/results/tracking.py +0 -0
  240. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/be/__init__.py +0 -0
  241. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/be/datasets.py +0 -0
  242. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/be/model.py +0 -0
  243. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/__init__.py +0 -0
  244. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/axes.py +0 -0
  245. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/extra_variables.py +0 -0
  246. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/model_version.py +0 -0
  247. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/common/reform.py +0 -0
  248. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/__init__.py +0 -0
  249. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/analysis.py +0 -0
  250. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/budget_reform_contract.py +0 -0
  251. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/budget_reform_population.py +0 -0
  252. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/capital_gains_responses.py +0 -0
  253. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/datasets.py +0 -0
  254. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/household.py +0 -0
  255. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/uk/model.py +0 -0
  256. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/__init__.py +0 -0
  257. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/analysis.py +0 -0
  258. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/datasets.py +0 -0
  259. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_inputs.py +0 -0
  260. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/__init__.py +0 -0
  261. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/declarations.py +0 -0
  262. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/independence.py +0 -0
  263. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/model_adapter.py +0 -0
  264. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/record.py +0 -0
  265. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/registry.py +0 -0
  266. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/runs.py +0 -0
  267. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/legacy_spm/universe.py +0 -0
  268. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/model.py +0 -0
  269. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/tax_benefit_models/us/spm.py +0 -0
  270. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/__init__.py +0 -0
  271. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/dates.py +0 -0
  272. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/design.py +0 -0
  273. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/entity_utils.py +0 -0
  274. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/errors.py +0 -0
  275. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/hashing.py +0 -0
  276. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/parameter_labels.py +0 -0
  277. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/parametric_reforms.py +0 -0
  278. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine/utils/plotting.py +0 -0
  279. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine.egg-info/dependency_links.txt +0 -0
  280. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine.egg-info/entry_points.txt +0 -0
  281. {policyengine-6.16.1 → policyengine-6.16.2}/src/policyengine.egg-info/top_level.txt +0 -0
  282. {policyengine-6.16.1 → policyengine-6.16.2}/tests/__init__.py +0 -0
  283. {policyengine-6.16.1 → policyengine-6.16.2}/tests/conftest.py +0 -0
  284. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/__init__.py +0 -0
  285. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/country_model_fixtures.py +0 -0
  286. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/filtering_fixtures.py +0 -0
  287. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/us_married_two_kids_high_income.json +0 -0
  288. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/us_model_surface.json +0 -0
  289. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/us_single_adult_employment_income.json +0 -0
  290. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/us_single_adult_no_income.json +0 -0
  291. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/household_calculator_snapshots/us_single_parent_one_child.json +0 -0
  292. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/local_manifest/main_485dc2330_certification.py.txt +0 -0
  293. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/parameter_labels_fixtures.py +0 -0
  294. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/parametric_reforms_fixtures.py +0 -0
  295. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/poverty_by_demographics_fixtures.py +0 -0
  296. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/region_fixtures.py +0 -0
  297. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/release_tros/README.md +0 -0
  298. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/release_tros/country-models.lock.toml +0 -0
  299. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/release_tros/manifest.json +0 -0
  300. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/release_tros/us-release_manifest.json +0 -0
  301. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/release_tros/us.trace.tro.jsonld +0 -0
  302. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/README.md +0 -0
  303. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/main_policy_metadata.json +0 -0
  304. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/main_replay_policy.py.txt +0 -0
  305. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/replay_receipt_uk2.134.7_failed.json +0 -0
  306. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.json +0 -0
  307. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/uk2.134.7_budget_inputs.result.json +0 -0
  308. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/replay_exceptions/uk2.134.7_qualification_receipt.json +0 -0
  309. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/spm_development.py +0 -0
  310. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_contract/README.md +0 -0
  311. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_contract/evaluate_case_rows.json +0 -0
  312. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_contract/full_released_uk_2.135.0.json +0 -0
  313. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_contract/pinned_uk_2.125.1_defects.json +0 -0
  314. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_contract/population_pass_max_examples_0.json +0 -0
  315. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_metrics/README.md +0 -0
  316. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_metrics/budget_metrics_report.json +0 -0
  317. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_metrics/standard_reforms.yaml +0 -0
  318. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_qualification/microcosm_routed_bundle.json +0 -0
  319. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_qualification/uk_data_line_bundle.json +0 -0
  320. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/DIGESTS.json +0 -0
  321. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/README.md +0 -0
  322. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/qualification_request_golden.jcs +0 -0
  323. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/qualification_request_golden.json +0 -0
  324. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REPLAY_RECEIPT.json +0 -0
  325. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/receipt_6.4.1_attempt1/REQUEST.json +0 -0
  326. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/receipt_6.5.0/REPLAY_RECEIPT.json +0 -0
  327. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/receipt_6.5.0/REQUEST.json +0 -0
  328. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/receipt_6.5.0/STATUS.json +0 -0
  329. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/replay_receipt_golden.jcs +0 -0
  330. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/uk_replay/replay_receipt_golden.json +0 -0
  331. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/us_reform_fixtures.py +0 -0
  332. {policyengine-6.16.1 → policyengine-6.16.2}/tests/fixtures/variable_label_fixtures.py +0 -0
  333. {policyengine-6.16.1 → policyengine-6.16.2}/tests/qualification_fixtures.py +0 -0
  334. {policyengine-6.16.1 → policyengine-6.16.2}/tests/receipt_modifiers.py +0 -0
  335. {policyengine-6.16.1 → policyengine-6.16.2}/tests/receipt_unbindable_modifiers.py +0 -0
  336. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_aggregate.py +0 -0
  337. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_be_axiom_pilot.py +0 -0
  338. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_budgetary_impact.py +0 -0
  339. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_bump_version.py +0 -0
  340. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_bundle.py +0 -0
  341. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_bundle_metadata.py +0 -0
  342. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_cache.py +0 -0
  343. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_canonical_json.py +0 -0
  344. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_certify_data_release.py +0 -0
  345. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_change_aggregate.py +0 -0
  346. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_check_agent_notes.py +0 -0
  347. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_ci_runner_variables.py +0 -0
  348. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_cliff_impact.py +0 -0
  349. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_cliff_impact_analysis.py +0 -0
  350. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_congressional_district_impact.py +0 -0
  351. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_constituency_impact.py +0 -0
  352. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_dataset_materialization.py +0 -0
  353. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_dataset_persistence.py +0 -0
  354. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_dataset_runtime.py +0 -0
  355. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_dataset_source.py +0 -0
  356. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_decile_grouping.py +0 -0
  357. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_derivations.py +0 -0
  358. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_dict_reforms_on_simulation.py +0 -0
  359. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_areas.py +0 -0
  360. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_estimate.py +0 -0
  361. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_noise.py +0 -0
  362. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_release.py +0 -0
  363. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_schema.py +0 -0
  364. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_support.py +0 -0
  365. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_disclosure_validate.py +0 -0
  366. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_entity_mapping.py +0 -0
  367. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_entity_utils.py +0 -0
  368. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_entity_utils_characterization.py +0 -0
  369. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_errors.py +0 -0
  370. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_execution_receipt.py +0 -0
  371. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_extra_variables.py +0 -0
  372. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_filtering.py +0 -0
  373. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_generate_trace_tros.py +0 -0
  374. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_graph/__init__.py +0 -0
  375. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_graph/conftest.py +0 -0
  376. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_graph/test_extractor.py +0 -0
  377. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_household_calculator_snapshot.py +0 -0
  378. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_household_impact.py +0 -0
  379. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_inequality.py +0 -0
  380. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_intra_decile_impact.py +0 -0
  381. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_labor_supply_response.py +0 -0
  382. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_local_authority_impact.py +0 -0
  383. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_local_data_manifest.py +0 -0
  384. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_local_manifest_receipt.py +0 -0
  385. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_local_manifest_tro_pins.py +0 -0
  386. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_manifest_version_mismatch.py +0 -0
  387. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_measure_regional_inputs.py +0 -0
  388. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_model_entities.py +0 -0
  389. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_pandas3_compatibility.py +0 -0
  390. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_parameter_labels.py +0 -0
  391. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_parameter_metadata.py +0 -0
  392. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_parameter_nodes.py +0 -0
  393. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_parameter_values.py +0 -0
  394. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_parametric_reforms.py +0 -0
  395. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_poverty.py +0 -0
  396. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_poverty_by_demographics.py +0 -0
  397. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_poverty_run.py +0 -0
  398. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_preservation_mirror.py +0 -0
  399. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_program_statistics.py +0 -0
  400. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_pyproject_pins.py +0 -0
  401. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_qualification_contracts.py +0 -0
  402. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_qualification_ledger_concurrency.py +0 -0
  403. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_qualification_ledger_script.py +0 -0
  404. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_qualified_pair_certification.py +0 -0
  405. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_region.py +0 -0
  406. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_region_group_strategy.py +0 -0
  407. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_regional_input_evidence.py +0 -0
  408. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_release_build_folders.py +0 -0
  409. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_release_credentials.py +0 -0
  410. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_release_lock.py +0 -0
  411. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_release_tro_generation.py +0 -0
  412. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_coherence_round3.py +0 -0
  413. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_finalize_review.py +0 -0
  414. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_hardening_round3.py +0 -0
  415. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_lineage.py +0 -0
  416. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_lineage_round3.py +0 -0
  417. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_policy_review.py +0 -0
  418. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_probe.py +0 -0
  419. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exception_probe_round3.py +0 -0
  420. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_replay_exceptions.py +0 -0
  421. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_results.py +0 -0
  422. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_run_record.py +0 -0
  423. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_scoping_strategy.py +0 -0
  424. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_small_follow_ups.py +0 -0
  425. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_bundle_bootstrap.py +0 -0
  426. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_bundle_tooling.py +0 -0
  427. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_decile.py +0 -0
  428. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_development_authentication.py +0 -0
  429. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_household.py +0 -0
  430. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_model.py +0 -0
  431. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_selection.py +0 -0
  432. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_spm_selection_schema.py +0 -0
  433. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_trace_tro.py +0 -0
  434. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_trace_tro_verify.py +0 -0
  435. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_analysis.py +0 -0
  436. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_area_lists.py +0 -0
  437. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_budget_reform_contract.py +0 -0
  438. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_candidate_gates.py +0 -0
  439. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_candidate_metric_baselines.py +0 -0
  440. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_cgt_default.py +0 -0
  441. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_cgt_response_records.py +0 -0
  442. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_cgt_responses.py +0 -0
  443. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_dated_reforms.py +0 -0
  444. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_geography_assets.py +0 -0
  445. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_geography_disclosure.py +0 -0
  446. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_modifier_cache.py +0 -0
  447. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_program_statistics.py +0 -0
  448. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_qualification_pipeline.py +0 -0
  449. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_qualification_replay_inputs.py +0 -0
  450. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_qualification_workflow.py +0 -0
  451. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_uc_floor.py +0 -0
  452. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_uk_year_file_data_year.py +0 -0
  453. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_legacy_inputs.py +0 -0
  454. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_legacy_inputs_integration.py +0 -0
  455. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_legacy_spm.py +0 -0
  456. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_legacy_spm_integration.py +0 -0
  457. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_legacy_spm_model_contract.py +0 -0
  458. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_long_term_datasets.py +0 -0
  459. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_microsim_structural_reforms.py +0 -0
  460. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_native_alignment.py +0 -0
  461. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_native_hdf_weights.py +0 -0
  462. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_program_statistics.py +0 -0
  463. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_reform_application.py +0 -0
  464. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_regions.py +0 -0
  465. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_us_year_file_stamp.py +0 -0
  466. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_variable_labels.py +0 -0
  467. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_variable_metadata.py +0 -0
  468. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_wheels.py +0 -0
  469. {policyengine-6.16.1 → policyengine-6.16.2}/tests/test_zenodo_mirror.py +0 -0
  470. {policyengine-6.16.1 → policyengine-6.16.2}/tests/uk_contract_row_scenarios.py +0 -0
@@ -1,5 +1,11 @@
1
1
  # Unified workflow for pushes to main.
2
2
  #
3
+ # MAINTENANCE BRANCH COPY (release/uk-autumn-budget-2026): this branch publishes the Autumn
4
+ # Budget 2026 dashboard's certified UK bundle (policyengine-uk 2.165.1) under a
5
+ # version below main's line. Here the workflow runs on pushes to this branch,
6
+ # never deploys docs or bumps the version (both are main-only), does not mark
7
+ # the GitHub release as latest, and notifies only the Budget dashboard.
8
+ #
3
9
  # Phase 1 (normal push): Lint + Test → Docs + Versioning
4
10
  # Versioning commits with message "Update package version".
5
11
  # The commit pushes to main, re-triggering this workflow for Phase 2.
@@ -18,7 +24,7 @@ name: Push to main
18
24
  on:
19
25
  push:
20
26
  branches:
21
- - main
27
+ - release/uk-autumn-budget-2026
22
28
  workflow_dispatch:
23
29
 
24
30
  permissions:
@@ -85,7 +91,7 @@ jobs:
85
91
  name: Deploy documentation
86
92
  runs-on: ubuntu-latest
87
93
  needs: [Lint, Test]
88
- if: github.event.head_commit.message != 'Update package version'
94
+ if: github.ref_name == 'main' && github.event.head_commit.message != 'Update package version'
89
95
  concurrency:
90
96
  group: 'pages'
91
97
  cancel-in-progress: false
@@ -116,7 +122,7 @@ jobs:
116
122
  Versioning:
117
123
  runs-on: ubuntu-latest
118
124
  needs: [Lint, Test]
119
- if: github.event.head_commit.message != 'Update package version'
125
+ if: github.ref_name == 'main' && github.event.head_commit.message != 'Update package version'
120
126
  steps:
121
127
  - name: Generate GitHub App token
122
128
  id: app-token
@@ -236,8 +242,8 @@ jobs:
236
242
  VERSION=$(python .github/fetch_version.py)
237
243
  gh release create "$VERSION" \
238
244
  --title "v$VERSION" \
239
- --notes "See [CHANGELOG.md](https://github.com/PolicyEngine/policyengine.py/blob/main/CHANGELOG.md) for details." \
240
- --latest \
245
+ --notes "See [CHANGELOG.md](https://github.com/PolicyEngine/policyengine.py/blob/release/uk-autumn-budget-2026/CHANGELOG.md) for details." \
246
+ --latest=false \
241
247
  "release-assets/policyengine-bundle-$VERSION.json" \
242
248
  "release-assets/policyengine-bundle-$VERSION.constraints.txt" \
243
249
  "release-assets/policyengine-bundle-$VERSION.citation.txt" \
@@ -275,6 +281,7 @@ jobs:
275
281
  VERSION: ${{ needs.Publish.outputs.version }}
276
282
  run: python scripts/release_consumers.py payload --version "$VERSION" > "$RUNNER_TEMP/release-payload.json"
277
283
  - name: Generate GitHub App token
284
+ if: github.ref_name == 'main'
278
285
  id: app-token
279
286
  uses: actions/create-github-app-token@v1
280
287
  with:
@@ -283,6 +290,7 @@ jobs:
283
290
  owner: PolicyEngine
284
291
  repositories: policyengine-api,policyengine-sim-api
285
292
  - name: Dispatch policyengine-release to consumer repos
293
+ if: github.ref_name == 'main'
286
294
  env:
287
295
  GH_TOKEN: ${{ steps.app-token.outputs.token }}
288
296
  VERSION: ${{ needs.Publish.outputs.version }}
@@ -309,6 +317,7 @@ jobs:
309
317
  CONSUMER_REPOS: uk-autumn-budget-dashboard-2026
310
318
  run: bash .github/dispatch-policyengine-release.sh
311
319
  - name: Install the released bundle for the replay request
320
+ if: github.ref_name == 'main'
312
321
  continue-on-error: true
313
322
  id: released
314
323
  env:
@@ -1,3 +1,29 @@
1
+ ## [6.16.2] - 2026-11-11
2
+
3
+ ### Changed
4
+
5
+ - Certify Microcosm UK for policyengine-uk 2.165.1: the national `microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7` (`microcosm_uk_2024_25`), built with 2.165.1 from PolicyEngine/microcosm#1491 at `dd99a1dcd`, and the local-area cut `microcosm-uk-2024-25-dense-20261104T093024Z-83802786` (`microcosm_uk_2024_25_dense`), which constituency and local-authority regions route to. The national binds HMRC's 2024-25 company car holders, taxable value and fuel counts, and bands SPI records on total income net of expenses. The local-area cut is built from the same commit and spine with its gate-only sign-off (`5293966d4`), also on 2.165.1, so both certify on their own build: area runs read every input the engine takes, company cars and ISA payments included. They replace the national `microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e` and the local-area cut `microcosm-uk-2024-25-dense-20261107T173210Z-38605444`, so the national no longer carries the FRS full-time education flag or the bound single years of age 16 to 24. The UK model pin moves from policyengine-uk 2.174.1 back to 2.165.1 (policyengine-core stays 3.33.3), so UK results change with both the model and the data. policyengine-uk 2.165.1 predates 2.170.0 (PolicyEngine/policyengine-uk#2719), so UK current law no longer includes the Autumn Budget 2026 measures: the Household Energy Payment, the Pension Tax Allowance, the Carer's Allowance taper, the higher savings and property income rates, the £3,000 trading allowance, and the fuel duty and domestic electricity VAT extensions.
6
+ - This maintenance release serves the UK Autumn Budget 2026 dashboard, which scores each Budget measure against pre-Budget law. It carries release 6.17.1's code with the UK record above. The 6.17 line keeps policyengine-uk 2.174.1, where current law includes the Budget measures.
7
+
8
+
9
+ ## [6.17.1] - 2026-11-10
10
+
11
+ ### Fixed
12
+
13
+ - `Simulation.ensure()` now runs and saves the simulation after leaving the handler for its saved-output lookup, so an exception raised by `run()` or `save()` no longer carries the handled `FileNotFoundError`, `StaleOutputError` or unexpected load error as its implicit context, and its traceback no longer begins with the lookup's. What `ensure()` loads, runs, saves, caches and logs is unchanged.
14
+
15
+
16
+ ## [6.17.0] - 2026-11-09
17
+
18
+ ### Added
19
+
20
+ - `pe.us.calculate_household` accepts a list of groups for `marital_unit`, `family`, `spm_unit` and `tax_unit`. Each group is a mapping with `members`, a list of indexes into `people`, plus its own inputs, and each person belongs to exactly one group of the entity. An entity passed as a list comes back as a list of results in the same order, with one axis series per group under axes. A mapping still puts every person in one group, so existing calls return the same results. Callers can now give children and other adults their own marital units. With one marital unit for everyone, Medicaid's optional pathway for seniors and people with disabilities gave a single parent with one child the couple's income limit, and SSI added a child's earnings to the income of aged parents.
21
+
22
+ ### Changed
23
+
24
+ - `calculate_household` now reads a list passed as `marital_unit`, `family`, `spm_unit` or `tax_unit` as a list of groups, so an empty list or a list of key-value pairs, which it used to turn into a mapping of inputs, now raises.
25
+
26
+
1
27
  ## [6.16.1] - 2026-11-09
2
28
 
3
29
  ### Changed
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.4
2
2
  Name: policyengine
3
- Version: 6.16.1
3
+ Version: 6.16.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
@@ -687,11 +687,11 @@ Requires-Dist: networkx>=3.0; extra == "graph"
687
687
  Provides-Extra: models
688
688
  Requires-Dist: policyengine-core==3.33.3; extra == "models"
689
689
  Requires-Dist: policyengine-us==2.2.1; extra == "models"
690
- Requires-Dist: policyengine-uk==2.174.1; extra == "models"
690
+ Requires-Dist: policyengine-uk==2.165.1; extra == "models"
691
691
  Requires-Dist: spm-calculator==1.0.0; extra == "models"
692
692
  Provides-Extra: uk
693
693
  Requires-Dist: policyengine-core==3.33.3; extra == "uk"
694
- Requires-Dist: policyengine-uk==2.174.1; extra == "uk"
694
+ Requires-Dist: policyengine-uk==2.165.1; extra == "uk"
695
695
  Provides-Extra: us
696
696
  Requires-Dist: policyengine-core==3.33.3; extra == "us"
697
697
  Requires-Dist: policyengine-us==2.2.1; extra == "us"
@@ -714,7 +714,7 @@ Requires-Dist: hypothesis>=6.100.0; extra == "dev"
714
714
  Requires-Dist: rfc8785>=0.1.4; extra == "dev"
715
715
  Requires-Dist: policyengine-core==3.33.3; extra == "dev"
716
716
  Requires-Dist: policyengine-us==2.2.1; extra == "dev"
717
- Requires-Dist: policyengine-uk==2.174.1; extra == "dev"
717
+ Requires-Dist: policyengine-uk==2.165.1; extra == "dev"
718
718
  Requires-Dist: spm-calculator==1.0.0; extra == "dev"
719
719
  Dynamic: license-file
720
720
 
@@ -14,6 +14,8 @@ result = pe.us.calculate_household(
14
14
  {"age": 8},
15
15
  {"age": 5},
16
16
  ],
17
+ # The married couple, then each child: see "Several groups of one entity".
18
+ marital_unit=[{"members": [0, 1]}, {"members": [2]}, {"members": [3]}],
17
19
  tax_unit={"filing_status": "JOINT"},
18
20
  household={"state_code": "TX", "county_fips": "48201"},
19
21
  year=2026,
@@ -25,13 +27,63 @@ result = pe.us.calculate_household(
25
27
  | Argument | Purpose |
26
28
  |---|---|
27
29
  | `people` | List of person dicts. Keys are any person-level variable on the model. |
28
- | `tax_unit` | Tax-unit inputs (e.g. `filing_status`). |
29
- | `spm_unit` | SPM-unit inputs. |
30
+ | `tax_unit` | Tax-unit inputs (e.g. `filing_status`), or a list of tax units. |
31
+ | `spm_unit` | SPM-unit inputs, or a list of SPM units. |
30
32
  | `household` | Household inputs, including `state_code` and observed five-digit `county_fips` for the default SPM geography selection. |
31
- | `family` | Family-level inputs. |
32
- | `marital_unit` | Marital-unit inputs. |
33
+ | `family` | Family-level inputs, or a list of families. |
34
+ | `marital_unit` | Marital-unit inputs, or a list of marital units. |
33
35
 
34
- All adults default to one shared tax unit and household. For separate tax units (e.g. two adult roommates), construct the `Simulation` directly and set the entity-membership arrays.
36
+ A mapping puts every person in one group of that entity, and the household always holds everyone.
37
+
38
+ ### Several groups of one entity
39
+
40
+ To split people into several marital units, families, SPM units or tax units, pass a list of groups. Each group is a mapping with `members`, a list of indexes into `people`, plus that group's own inputs. Each person belongs to exactly one group of the entity: `calculate_household` raises if a list leaves someone out, names someone twice or names an index outside `people`.
41
+
42
+ policyengine-us defines a marital unit as one unmarried person or one married couple, and two of its rules depend on that. Medicaid's optional pathway for seniors and people with disabilities applies the couple income limit to a marital unit of exactly two people. SSI treats two aged, blind or disabled heads or spouses in one marital unit as a joint claim and, unless exactly one member counts as living in a medical treatment facility, adds up countable income across the whole unit. So pass marital units whenever the household holds anyone besides one person or one couple:
43
+
44
+ ```python
45
+ result = pe.us.calculate_household(
46
+ people=[
47
+ {"age": 68},
48
+ {"age": 66},
49
+ {"age": 17, "employment_income": 6_000},
50
+ ],
51
+ marital_unit=[{"members": [0, 1]}, {"members": [2]}],
52
+ tax_unit={"filing_status": "JOINT"},
53
+ household={"state_code": "CA"},
54
+ year=2026,
55
+ spm={"geography_kind": "national"},
56
+ extra_variables=["ssi"],
57
+ )
58
+ result.marital_unit[1] # the 17-year-old's marital unit
59
+ ```
60
+
61
+ With one marital unit for all three, SSI would add the 17-year-old's earnings to the couple's income, and Medicaid's optional senior-or-disabled pathway would hold the couple to the individual income limit.
62
+
63
+ A list of tax units covers, for example, an adult child who files their own return:
64
+
65
+ ```python
66
+ result = pe.us.calculate_household(
67
+ people=[
68
+ {"age": 52, "employment_income": 60_000},
69
+ {"age": 22, "employment_income": 18_000},
70
+ ],
71
+ marital_unit=[{"members": [0]}, {"members": [1]}],
72
+ tax_unit=[
73
+ {"members": [0], "filing_status": "SINGLE"},
74
+ {"members": [1], "filing_status": "SINGLE"},
75
+ ],
76
+ household={"state_code": "NY", "county_fips": "36061"},
77
+ year=2026,
78
+ )
79
+ result.tax_unit[1].income_tax # the adult child's return
80
+ ```
81
+
82
+ An entity passed as a list comes back as a list of results in the same order. Under axes, each group's variables are axis series, as each person's are.
83
+
84
+ Each group needs the people its rules expect. policyengine-us makes the oldest person aged 18 or over in each tax unit its head, so a tax unit of children has no head. SPM measurement needs an adult in each SPM unit: a unit of children raises `SPM_COMPOSITION_REQUIRED` when its poverty status computes, as it does among the default outputs.
85
+
86
+ Group ids such as `tax_unit_id` keep the values you pass, 0 by default. To see each person's group in `result.person`, pass ids as group inputs, for example `tax_unit=[{"members": [0], "tax_unit_id": 1}, {"members": [1], "tax_unit_id": 2}]`.
35
87
 
36
88
  ### SPM geography and measurement selection
37
89
 
@@ -229,13 +281,14 @@ each variable on that person is its own axis series.
229
281
  ## Accessing the result
230
282
 
231
283
  ```python
232
- result.person[0].income_tax # first person
284
+ result.person[0].medicaid # first person
233
285
  result.person[2].age # third person
234
286
  result.tax_unit.income_tax # single tax unit
287
+ result.marital_unit[1] # second marital unit, when passed as a list
235
288
  result.household.household_net_income # single household
236
289
  ```
237
290
 
238
- The result is a Pydantic model — `.model_dump()` gives you a dict, individual sections are regular attribute lookups.
291
+ The result is a `dict` with attribute access: `.to_dict()` gives a plain dict, `.write(path)` writes it as JSON, and individual sections are regular attribute lookups.
239
292
 
240
293
  ## Errors
241
294
 
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
 
5
5
  [project]
6
6
  name = "policyengine"
7
- version = "6.16.1"
7
+ version = "6.16.2"
8
8
  description = "A package to conduct policy analysis using PolicyEngine tax-benefit models."
9
9
  readme = "README.md"
10
10
  authors = [
@@ -42,12 +42,12 @@ graph = [
42
42
  models = [
43
43
  "policyengine-core==3.33.3",
44
44
  "policyengine-us==2.2.1",
45
- "policyengine-uk==2.174.1",
45
+ "policyengine-uk==2.165.1",
46
46
  "spm-calculator==1.0.0",
47
47
  ]
48
48
  uk = [
49
49
  "policyengine-core==3.33.3",
50
- "policyengine-uk==2.174.1",
50
+ "policyengine-uk==2.165.1",
51
51
  ]
52
52
  us = [
53
53
  "policyengine-core==3.33.3",
@@ -72,7 +72,7 @@ dev = [
72
72
  "rfc8785>=0.1.4",
73
73
  "policyengine-core==3.33.3",
74
74
  "policyengine-us==2.2.1",
75
- "policyengine-uk==2.174.1",
75
+ "policyengine-uk==2.165.1",
76
76
  "spm-calculator==1.0.0",
77
77
  ]
78
78
 
@@ -203,23 +203,28 @@ class Simulation(BaseModel):
203
203
  else None
204
204
  )
205
205
  return
206
+ # Run after leaving the except blocks. An error raised inside one
207
+ # would carry the handled load error as its context, and Python
208
+ # would print the load error's traceback before its own.
206
209
  try:
207
210
  self.tax_benefit_model_version.load(self)
208
211
  except FileNotFoundError:
209
- self.run()
210
- self.save()
212
+ needs_run = True
211
213
  except StaleOutputError as error:
212
214
  # An expected rerun, such as the first after an upgrade that
213
215
  # changes what saved outputs record.
214
216
  logger.info("Running simulation %s again: %s", self.id, error)
215
- self.run()
216
- self.save()
217
+ needs_run = True
217
218
  except Exception:
218
219
  logger.warning(
219
220
  "Unexpected error loading simulation %s; falling back to run()",
220
221
  self.id,
221
222
  exc_info=True,
222
223
  )
224
+ needs_run = True
225
+ else:
226
+ needs_run = False
227
+ if needs_run:
223
228
  self.run()
224
229
  self.save()
225
230
 
@@ -1,10 +1,10 @@
1
1
  {
2
- "bundle_version": "6.16.1",
2
+ "bundle_version": "6.16.2",
3
3
  "citation": {
4
4
  "publisher": "PolicyEngine",
5
- "title": "PolicyEngine bundle 6.16.1",
5
+ "title": "PolicyEngine bundle 6.16.2",
6
6
  "type": "software-bundle",
7
- "version": "6.16.1"
7
+ "version": "6.16.2"
8
8
  },
9
9
  "countries": {
10
10
  "uk": {
@@ -16,31 +16,31 @@
16
16
  },
17
17
  "data_releases": {
18
18
  "uk": {
19
- "build_id": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
20
- "bundle_id": "uk-6.16.1",
19
+ "build_id": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
20
+ "bundle_id": "uk-6.16.2",
21
21
  "certification": {
22
- "built_with_model_version": "2.174.1",
22
+ "built_with_model_version": "2.165.1",
23
23
  "certified_by": "policyengine.py bundle certification",
24
- "certified_for_model_version": "2.174.1",
24
+ "certified_for_model_version": "2.165.1",
25
25
  "compatibility_basis": "built_with_model_package",
26
26
  "core_binding": "bundle_pin",
27
- "data_build_id": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e"
27
+ "data_build_id": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7"
28
28
  },
29
29
  "certified_data_artifact": {
30
- "build_id": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
30
+ "build_id": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
31
31
  "data_package": {
32
32
  "name": "microcosm-data",
33
33
  "version": "0.1.0"
34
34
  },
35
35
  "dataset": "microcosm_uk_2024_25",
36
- "sha256": "0a9b77db1c0dee2693cb2d47bad68da34cb662916eee4829942bcd45de581f25",
37
- "uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e"
36
+ "sha256": "b35b336242caef97892efdc475d35a55160ef22388f42ebf2a610b410dd60837",
37
+ "uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7"
38
38
  },
39
39
  "country_id": "uk",
40
40
  "data_package": {
41
41
  "name": "microcosm-data",
42
42
  "release_manifest_path": "releases/microcosm-uk-2024-25-national/release_manifest.json",
43
- "release_manifest_revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
43
+ "release_manifest_revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
44
44
  "repo_id": "policyengine/populace-uk-private",
45
45
  "repo_type": "dataset",
46
46
  "version": "0.1.0"
@@ -50,68 +50,68 @@
50
50
  "calibration_diagnostics": {
51
51
  "path": "releases/microcosm-uk-2024-25-national/calibration_diagnostics.json",
52
52
  "repo_id": "policyengine/populace-uk-private",
53
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
54
- "sha256": "7b9685d835db96ad1f687a9407333bdb35c6bc8d1053cbdff12276c7bc5b6a65"
53
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
54
+ "sha256": "851969f7398fef4a72c78ce81e3d5532944ee2359ec16cbc63cbe2c6d33b6341"
55
55
  },
56
56
  "microcosm_uk_2024_25": {
57
57
  "path": "microcosm_uk_2024_25.h5",
58
58
  "repo_id": "policyengine/populace-uk-private",
59
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
60
- "sha256": "0a9b77db1c0dee2693cb2d47bad68da34cb662916eee4829942bcd45de581f25"
59
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
60
+ "sha256": "b35b336242caef97892efdc475d35a55160ef22388f42ebf2a610b410dd60837"
61
61
  },
62
62
  "microcosm_uk_2024_25_calibration": {
63
63
  "path": "microcosm_uk_2024_25_calibration.npz",
64
64
  "repo_id": "policyengine/populace-uk-private",
65
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
66
- "sha256": "e94ce3f42a5e35d112320b9413545e32c584cb1b302b050e461bf2dfe679f4fb"
65
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
66
+ "sha256": "7c2ec377c67c716463ea858e61556bd1dda5c899c269f2c9bc5f1ac15bf1983b"
67
67
  },
68
68
  "microcosm_uk_2024_25_dense": {
69
69
  "path": "microcosm_uk_2024_25_dense.h5",
70
70
  "repo_id": "policyengine/populace-uk-private",
71
71
  "repo_type": "dataset",
72
- "revision": "microcosm-uk-2024-25-dense-20261107T173210Z-38605444",
73
- "sha256": "1b71c5c93f47f497b25ec106d3e13017af6e0c41d808cc7db74f4e0a0dff4bf4"
72
+ "revision": "microcosm-uk-2024-25-dense-20261104T093024Z-83802786",
73
+ "sha256": "51a370ffee1414a39ffe192f9031b5b4a7e8970ebd8cc98c4049ebceaea6a323"
74
74
  },
75
75
  "release_certification": {
76
76
  "path": "releases/microcosm-uk-2024-25-national/release_certification.json",
77
77
  "repo_id": "policyengine/populace-uk-private",
78
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
79
- "sha256": "9bab3aef310183665adb1c7d1ae4a61ef41d21868059535b0c5801fcc6f87dee"
78
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
79
+ "sha256": "d5a78e22bb23223ddc58444e894df5e76bbb5cbfea1c953ee9b6dcb4910e634c"
80
80
  },
81
81
  "release_cut_gates": {
82
82
  "path": "releases/microcosm-uk-2024-25-national/release_cut_gates.json",
83
83
  "repo_id": "policyengine/populace-uk-private",
84
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
85
- "sha256": "ba6f2efd7c391453eebd48fc02be936dd9d78dbf165f57bc2d52de70846ae000"
84
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
85
+ "sha256": "26083c43c6da41318b584293bee0055d859cfe578a2ebad43aaf6441d126a718"
86
86
  },
87
87
  "score_vs_enhanced_frs": {
88
88
  "path": "releases/microcosm-uk-2024-25-national/score_vs_enhanced_frs.json",
89
89
  "repo_id": "policyengine/populace-uk-private",
90
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
91
- "sha256": "2b0564603174cc3aeb45b1dc02fd4dcb14dacbf414a5980ae719cd9cafb2d73c"
90
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
91
+ "sha256": "59711c83849bb7b2d975484eca15f3669d33e59f9a2b2853ff01f97d429040f3"
92
92
  },
93
93
  "spine_gates": {
94
94
  "path": "releases/microcosm-uk-2024-25-national/spine_gates.json",
95
95
  "repo_id": "policyengine/populace-uk-private",
96
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
97
- "sha256": "3708c3314f7ca975b76d9edf96a8dc0777624945cbc7c04e6680aa6d0253a6c7"
96
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
97
+ "sha256": "40163889bbd38d005e1b4175d42265b6e4b2b2cc8d2278d1cd6ba51fc1d06905"
98
98
  },
99
99
  "terminal_gates": {
100
100
  "path": "releases/microcosm-uk-2024-25-national/terminal_gates.json",
101
101
  "repo_id": "policyengine/populace-uk-private",
102
- "revision": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
103
- "sha256": "a647f8c0ee510044acd962377d71a16f917e4bf7ae66ca63946aac332a0806a0"
102
+ "revision": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
103
+ "sha256": "3150839a2c658402387ff94c5ca6baefaac81e8f196fc9d286d7f7af24a2b34c"
104
104
  }
105
105
  },
106
106
  "default_dataset": "microcosm_uk_2024_25",
107
- "default_dataset_uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
107
+ "default_dataset_uri": "hf://policyengine/populace-uk-private/microcosm_uk_2024_25.h5@microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
108
108
  "model_package": {
109
109
  "name": "policyengine-uk",
110
- "sha256": "1d4d17c74bd5b853a148e9c44b080490dd0393725fe18b2b82ec55eecdb9bb58",
111
- "version": "2.174.1",
112
- "wheel_url": "https://files.pythonhosted.org/packages/35/ed/5ea303be2fd38da4e5f9b9a3fd012a5f9454fd5ef66a1df26c3267fb57a8/policyengine_uk-2.174.1-py3-none-any.whl"
110
+ "sha256": "e8327ffe22393d468f7c4bb0e1e18b8b8ed7241b1a5fcec447917196e8a1b4fa",
111
+ "version": "2.165.1",
112
+ "wheel_url": "https://files.pythonhosted.org/packages/eb/3c/4db973ea84deb97e32a4a67a832babbade2475f2df9edc7a2494dae86d69/policyengine_uk-2.165.1-py3-none-any.whl"
113
113
  },
114
- "policyengine_version": "6.16.1",
114
+ "policyengine_version": "6.16.2",
115
115
  "region_datasets": {
116
116
  "constituency": {
117
117
  "path_template": "microcosm_uk_2024_25_dense.h5"
@@ -124,17 +124,17 @@
124
124
  }
125
125
  },
126
126
  "regional_release_kind": "local_area",
127
- "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-dense-20261107T173210Z-38605444/releases/microcosm-uk-2024-25-dense/release_manifest.json",
128
- "regional_source_manifest_sha256": "99d9afb3799cab9df845fef8fb187f6b19241ab6c61711ed298ca365dd4f71c7",
129
- "regional_source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-dense-20261107T173210Z-38605444/releases/microcosm-uk-2024-25-dense/release_manifest.json",
130
- "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e/releases/microcosm-uk-2024-25-national/release_manifest.json",
127
+ "regional_release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-dense-20261104T093024Z-83802786/releases/microcosm-uk-2024-25-dense/release_manifest.json",
128
+ "regional_source_manifest_sha256": "cb56e4072b41bc757bcdc48acbe7840fa1262ab18bc600e89cf0f97ba8ec475a",
129
+ "regional_source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-dense-20261104T093024Z-83802786/releases/microcosm-uk-2024-25-dense/release_manifest.json",
130
+ "release_manifest_uri": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7/releases/microcosm-uk-2024-25-national/release_manifest.json",
131
131
  "schema_version": 1,
132
- "source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e/releases/microcosm-uk-2024-25-national/release_manifest.json",
133
- "version": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e"
132
+ "source_manifest_uri": "hf://dataset/policyengine/populace-uk-private@microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7/releases/microcosm-uk-2024-25-national/release_manifest.json",
133
+ "version": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7"
134
134
  },
135
135
  "us": {
136
136
  "build_id": "populace-us-2024-spm-20260915",
137
- "bundle_id": "us-6.16.1",
137
+ "bundle_id": "us-6.16.2",
138
138
  "certification": {
139
139
  "built_with_model_version": "2.2.1",
140
140
  "certified_by": "policyengine.py bundle certification",
@@ -239,7 +239,7 @@
239
239
  "version": "2.2.1",
240
240
  "wheel_url": "https://files.pythonhosted.org/packages/5e/09/86ac3968d2a18e28fce3ba1186fc21728e9f299b96a806d6f204f1e0aaed/policyengine_us-2.2.1-py3-none-any.whl"
241
241
  },
242
- "policyengine_version": "6.16.1",
242
+ "policyengine_version": "6.16.2",
243
243
  "region_datasets": {
244
244
  "congressional_district": {
245
245
  "path_template": "populace_us_2024_acs_local.h5"
@@ -349,10 +349,10 @@
349
349
  "packages": {
350
350
  "policyengine": {
351
351
  "import_name": "policyengine",
352
- "install_requirement": "policyengine==6.16.1",
352
+ "install_requirement": "policyengine==6.16.2",
353
353
  "name": "policyengine",
354
354
  "role": "bundle_carrier",
355
- "version": "6.16.1"
355
+ "version": "6.16.2"
356
356
  },
357
357
  "policyengine-core": {
358
358
  "import_name": "policyengine_core",
@@ -364,10 +364,10 @@
364
364
  "policyengine-uk": {
365
365
  "country": "uk",
366
366
  "import_name": "policyengine_uk",
367
- "install_requirement": "policyengine-uk==2.174.1",
367
+ "install_requirement": "policyengine-uk==2.165.1",
368
368
  "name": "policyengine-uk",
369
369
  "role": "country_model",
370
- "version": "2.174.1"
370
+ "version": "2.165.1"
371
371
  },
372
372
  "policyengine-us": {
373
373
  "country": "us",
@@ -388,6 +388,6 @@
388
388
  "wheel_url": "https://files.pythonhosted.org/packages/19/a0/c484f69a0ebf88a9b9fd0ac28176f8df66550f46714f1b0c5ec0b360824e/spm_calculator-1.0.0-py3-none-any.whl"
389
389
  }
390
390
  },
391
- "policyengine_version": "6.16.1",
391
+ "policyengine_version": "6.16.2",
392
392
  "schema_version": 2
393
393
  }
@@ -17,19 +17,19 @@
17
17
  "schema:name": "PolicyEngine",
18
18
  "schema:url": "https://policyengine.org"
19
19
  },
20
- "schema:dateCreated": "2026-11-07T03:22:40.126887+00:00",
21
- "schema:description": "TRACE TRO for certified runtime bundle uk-6.16.1 covering the bundle manifest, the certified dataset artifact, the country model wheel, and the country data release manifest when it is available.",
20
+ "schema:dateCreated": "2026-11-03T17:07:52.460115+00:00",
21
+ "schema:description": "TRACE TRO for certified runtime bundle uk-6.16.2 covering the bundle manifest, the certified dataset artifact, the country model wheel, and the country data release manifest when it is available.",
22
22
  "schema:name": "policyengine uk certified bundle TRO",
23
23
  "trov:createdWith": {
24
24
  "@type": "schema:SoftwareApplication",
25
25
  "schema:name": "policyengine",
26
- "schema:softwareVersion": "6.16.1"
26
+ "schema:softwareVersion": "6.16.2"
27
27
  },
28
28
  "trov:hasArrangement": [
29
29
  {
30
30
  "@id": "arrangement/1",
31
31
  "@type": "trov:ArtifactArrangement",
32
- "rdfs:comment": "Certified arrangement for bundle uk-6.16.1.",
32
+ "rdfs:comment": "Certified arrangement for bundle uk-6.16.2.",
33
33
  "trov:hasArtifactLocation": [
34
34
  {
35
35
  "@id": "arrangement/1/location/bundle_manifest",
@@ -45,7 +45,7 @@
45
45
  "trov:hasArtifact": {
46
46
  "@id": "composition/1/artifact/data_release_manifest"
47
47
  },
48
- "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e/releases/microcosm-uk-2024-25-national/release_manifest.json"
48
+ "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7/releases/microcosm-uk-2024-25-national/release_manifest.json"
49
49
  },
50
50
  {
51
51
  "@id": "arrangement/1/location/dataset",
@@ -53,7 +53,7 @@
53
53
  "trov:hasArtifact": {
54
54
  "@id": "composition/1/artifact/dataset"
55
55
  },
56
- "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e/microcosm_uk_2024_25.h5"
56
+ "trov:hasLocation": "https://huggingface.co/datasets/policyengine/populace-uk-private/resolve/microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7/microcosm_uk_2024_25.h5"
57
57
  },
58
58
  {
59
59
  "@id": "arrangement/1/location/model_wheel",
@@ -61,7 +61,7 @@
61
61
  "trov:hasArtifact": {
62
62
  "@id": "composition/1/artifact/model_wheel"
63
63
  },
64
- "trov:hasLocation": "https://files.pythonhosted.org/packages/35/ed/5ea303be2fd38da4e5f9b9a3fd012a5f9454fd5ef66a1df26c3267fb57a8/policyengine_uk-2.174.1-py3-none-any.whl"
64
+ "trov:hasLocation": "https://files.pythonhosted.org/packages/eb/3c/4db973ea84deb97e32a4a67a832babbade2475f2df9edc7a2494dae86d69/policyengine_uk-2.165.1-py3-none-any.whl"
65
65
  }
66
66
  ]
67
67
  }
@@ -75,51 +75,51 @@
75
75
  "@type": "trov:ResearchArtifact",
76
76
  "schema:name": "policyengine.py bundle manifest for uk",
77
77
  "trov:mimeType": "application/json",
78
- "trov:sha256": "ba83367bafc24d784ec92498f7f829c33aa4c11d26615eec2b239b257ea42796"
78
+ "trov:sha256": "aa1b5b5ddde72aafbfd42835985d79df65498a088dbd622ed64ce440345923d8"
79
79
  },
80
80
  {
81
81
  "@id": "composition/1/artifact/data_release_manifest",
82
82
  "@type": "trov:ResearchArtifact",
83
83
  "schema:name": "microcosm-data release manifest 0.1.0",
84
84
  "trov:mimeType": "application/json",
85
- "trov:sha256": "58b47e8d1b1c2e53a93a59380a7b3ba2a50774226e814eaa9a1e536f43eb4946"
85
+ "trov:sha256": "021330461f8bce485ac74c00198a621d9f38658044be0be2454e0c422bd48c0f"
86
86
  },
87
87
  {
88
88
  "@id": "composition/1/artifact/dataset",
89
89
  "@type": "trov:ResearchArtifact",
90
90
  "schema:name": "microcosm_uk_2024_25",
91
91
  "trov:mimeType": "application/x-hdf5",
92
- "trov:sha256": "0a9b77db1c0dee2693cb2d47bad68da34cb662916eee4829942bcd45de581f25"
92
+ "trov:sha256": "b35b336242caef97892efdc475d35a55160ef22388f42ebf2a610b410dd60837"
93
93
  },
94
94
  {
95
95
  "@id": "composition/1/artifact/model_wheel",
96
96
  "@type": "trov:ResearchArtifact",
97
- "schema:name": "policyengine-uk==2.174.1 wheel",
97
+ "schema:name": "policyengine-uk==2.165.1 wheel",
98
98
  "trov:mimeType": "application/zip",
99
- "trov:sha256": "1d4d17c74bd5b853a148e9c44b080490dd0393725fe18b2b82ec55eecdb9bb58"
99
+ "trov:sha256": "e8327ffe22393d468f7c4bb0e1e18b8b8ed7241b1a5fcec447917196e8a1b4fa"
100
100
  }
101
101
  ],
102
102
  "trov:hasFingerprint": {
103
103
  "@id": "composition/1/fingerprint",
104
104
  "@type": "trov:CompositionFingerprint",
105
- "trov:sha256": "fa2bb0d1bf0161aa958c63a96f3e74a26374db5d48fa74bec6826937968b10e3"
105
+ "trov:sha256": "f58c712b5839d02289048ab1f0dfdccba9bcf8a016706f5006ca51dbd1f286ca"
106
106
  }
107
107
  },
108
108
  "trov:hasPerformance": {
109
109
  "@id": "trp/1",
110
110
  "@type": "trov:TransparentResearchPerformance",
111
- "pe:builtWithModelVersion": "2.174.1",
111
+ "pe:builtWithModelVersion": "2.165.1",
112
112
  "pe:certifiedBy": "policyengine.py bundle certification",
113
- "pe:certifiedForModelVersion": "2.174.1",
113
+ "pe:certifiedForModelVersion": "2.165.1",
114
114
  "pe:compatibilityBasis": "built_with_model_package",
115
115
  "pe:coreBinding": "bundle_pin",
116
- "pe:dataBuildId": "microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e",
116
+ "pe:dataBuildId": "microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7",
117
117
  "pe:emittedIn": "repository-bundle",
118
- "rdfs:comment": "Certification of build microcosm-uk-2024-25-national-20261107T020434Z-eeb6093e for policyengine-uk 2.174.1.",
118
+ "rdfs:comment": "Certification of build microcosm-uk-2024-25-national-20261103T154302Z-0639b9c7 for policyengine-uk 2.165.1.",
119
119
  "trov:accessedArrangement": {
120
120
  "@id": "arrangement/1"
121
121
  },
122
- "trov:startedAtTime": "2026-11-07T03:22:40.126887+00:00",
122
+ "trov:startedAtTime": "2026-11-03T17:07:52.460115+00:00",
123
123
  "trov:wasConductedBy": {
124
124
  "@id": "trs"
125
125
  }