Skip to content

Update PolicyEngine bundle to 6.3.4 - #3918

Merged
anth-volk merged 3 commits into
masterfrom
auto/update-policyengine-bundle-6.3.4
Oct 14, 2026
Merged

anth-volk merged 3 commits into
masterfrom
auto/update-policyengine-bundle-6.3.4

Conversation

@policyengine

@policyengine policyengine Bot commented Oct 13, 2026 •

Copy link
Copy Markdown
Contributor

Fixes #3921
Fixes #3922

Refs #3864: state reports still use the national dataset under PolicyEngine/policyengine.py#604, so that issue stays open.

Summary

Update PolicyEngine .py bundle from 6.2.1 to 6.3.4.

Bundled versions

  • policyengine: 6.3.4
  • policyengine-core: 3.33.0
  • policyengine-us: 2.2.1
  • policyengine-uk: 2.126.12
  • spm-calculator: 1.0.0

Certified data releases

  • US: populace-us-2024-spm-20260915
  • UK: policyengine-uk-data-1.58.0

Additional changes for 6.3.4

Added in 16e3c74, carried over from #3868, which this PR replaces:

Locally on the locked 6.3.4 install: mypy passes, the extraction unit tests pass (36), and the installed-catalog test passes with RUN_V2_CATALOG_COMPATIBILITY=1.


Generated automatically by GitHub Actions; the "Additional changes" section was added by hand.

Catalog extraction failed on PolicyEngine 6.3.4 because the England
region's filter names all nine English regions as a list. Store such
flat lists as a JSON array in the existing filter text column; scalar
filters keep their current form, and nested, empty, non-finite or
over-255-character values are still refused.

Update the installed-catalog expectations to the 6.3.4 bundle: the
counts for US 2.2.1 and UK 2.126.12, the England filter, and every US
region defaulting to the national dataset, since 6.3.4 points state and
congressional-district regions at it (PolicyEngine/policyengine.py#604).

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@codecov

codecov Bot commented Oct 14, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 87.58%. Comparing base (83da680) to head (07108a4).
⚠️ Report is 10 commits behind head on master.

Additional details and impacted files
@@             Coverage Diff             @@
##           master    #3918       +/-   ##
===========================================
+ Coverage   45.22%   87.58%   +42.36%     
===========================================
  Files         183      198       +15     
  Lines       11073    12223     +1150     
  Branches     1905     2161      +256     
===========================================
+ Hits         5008    10706     +5698     
+ Misses       5644      921     -4723     
- Partials      421      596      +175     

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

The fixtures fixed retention_expires_at at NOW + 30 days (2026-10-14)
but left created_at on the real clock, so from 2026-10-14 every insert
failed the retention_expires_at > created_at check. Set created_at and
updated_at to NOW, as test_stage12_comparison_service.py already does.
Two tests that expect other constraint failures were passing on the
retention check instead; they now hit the constraints they test.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
(cherry picked from commit 77b44b3)
@anth-volk
anth-volk merged commit 757eacd into master Oct 14, 2026
15 checks passed
@anth-volk
anth-volk deleted the auto/update-policyengine-bundle-6.3.4 branch October 14, 2026 17:33

This branch was successfully deployed

1 active deployment
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Catalog extraction fails on the UK England region's list-valued filter Update the PolicyEngine bundle to 6.3.4

1 participant