Skip to content

Upgrade policyengine-uk-compiled to 0.65 (adds CGT support)#198

Merged
vahid-ahmadi merged 1 commit into
mainfrom
upgrade/policyengine-uk-compiled-0.65
Jul 16, 2026
Merged

Upgrade policyengine-uk-compiled to 0.65 (adds CGT support)#198
vahid-ahmadi merged 1 commit into
mainfrom
upgrade/policyengine-uk-compiled-0.65

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Collaborator

Summary

  • Bump policyengine-uk-compiled pin from >=0.44,<0.45 to >=0.65,<0.66 — 0.44 predates capital gains support, so CGT reforms simulated to £0 in the chat.
  • Adapt to the 0.65 breaking change: Simulation no longer has a default dataset. Pass dataset="frs" explicitly in get_baseline_parameters, lookup_parameter, the Modal image preload, and tests.
  • Update the run_python tool schema example and docs/engineering/skills/uk-chat-runtime.md (minimum contract now 0.65).

Testing

  • Full backend suite on 0.65.0: 204 passed, 10 skipped.
  • Verified locally that FRS microdata still carries zero capital_gains inputs; CGT analysis is expected to run via EFRS/SPI datasets on the deployed backend.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Jul 16, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
policyengine-uk-chat Ready Ready Preview, Comment Jul 16, 2026 11:56am

Request Review

The chat was pinned to 0.44, which predates capital gains data support —
CGT reforms simulated to £0. Bump the pin to >=0.65,<0.66 and adapt to
the breaking change that Simulation no longer has a default dataset:
pass dataset="frs" explicitly in get_baseline_parameters,
lookup_parameter, the Modal image preload, and tests. Update the
run_python tool schema example and the runtime skill doc accordingly.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@vahid-ahmadi
vahid-ahmadi force-pushed the upgrade/policyengine-uk-compiled-0.65 branch from 8c9a9c6 to 6303148 Compare July 16, 2026 11:55
@vahid-ahmadi
vahid-ahmadi merged commit 73bed4f into main Jul 16, 2026
5 of 6 checks passed
@vahid-ahmadi
vahid-ahmadi deleted the upgrade/policyengine-uk-compiled-0.65 branch July 16, 2026 11:59
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.

1 participant