Skip to content

Quote the basic-rate costing the hosted microsim gives under policyengine 6.11.1 - #261

Open
vahid-ahmadi wants to merge 1 commit into
mainfrom
vahid/pe-costing-6-11-1
Open

vahid-ahmadi wants to merge 1 commit into
mainfrom
vahid/pe-costing-6-11-1

Conversation

@vahid-ahmadi

Copy link
Copy Markdown
Contributor

Found in the demo-readiness pass. A demo call to population_reform_impact for 1p on the basic rate returns £6.55bn, while /pe, /pe/validation and list_model_capabilities say £6.46bn. The site figures predate the 30 Oct move to policyengine 6.11.1.

Evidence (hosted runs, policyengine 6.11.1, policyengine-uk 2.151.0)

Year Was quoted Hosted now Source
2026 6.46 6.546 score_reform job fc-01M79WBA… (13 Nov) and pe_population_impact job fc-01M7FNV3… (15 Nov), identical
2028 6.92 (interpolated) 7.006 (scored) 13 Nov job
2030 7.38 7.48 13 Nov job

Both runs are recorded, with job ids, in the new papers/pe-microsim/figures/basic_rate_costing.json. The page used to say "no scored run is committed for either"; now there is one.

Change

  • validation/figures/chart_data.json obr_reform: ours 6.55 (2026–27) and 7.01 (2028–29, now scored, not interpolated). The /pe and /obr/validation costing charts are regenerated.
  • /pe/validation: −6.4% → −5.1% vs HMRC's £6.9bn; adds 2028–29 £7.01bn vs £8.2bn (−14.6%) and 2030 £7.48bn; notes the 4.x figures for continuity.
  • /pe worked example and kv: £6.55bn. capabilities.py policy_counterfactual_validity says the same, and list_model_capabilities returns it.
  • test_population_impact_uk_real_basic_rate (skipped without microdata): published value 6.55, ±5%.

Decisions (mine, logged)

  • Use the hosted figure, since that is what a demo audience will get. The working papers' .tex/PDF (obr-macro panel B, pe-microsim) still say 6.46 and need a LaTeX rebuild, so they are not edited here.
  • The OBR canary obr_household_ratio_q12 holds an explicit £1,615.75m/q shock (6.463/4), so its ratio doesn't depend on this figure. It is left as is; the OBR pin PR re-measures it.

Tests

make_charts.py --check and site_contract.py OK; pytest tests 3257 passed; integration 453 passed. integration/ changed (capabilities text, test), so merging redeploys Modal.

🤖 Generated with Claude Code

…gine 6.11.1

The site and capabilities quoted £6.46bn (2026) and £7.38bn (2030),
measured under policyengine 4.x, with 2028-29 interpolated. Since the
30 Oct move to policyengine 6.11.1 the hosted microsim gives £6.546bn in
2026 (two jobs, 13 and 15 Nov), £7.006bn in 2028 and £7.48bn in 2030.

- papers/pe-microsim/figures/basic_rate_costing.json records both runs
  with job ids, so the figures finally have a run behind them.
- chart_data.json: ours 6.55 (2026-27) and 7.01 (2028-29, now scored,
  not interpolated); /pe and /obr/validation charts regenerated.
- /pe, /pe/validation: -5.1% vs HMRC (was -6.4%), 2028-29 -14.6%, 2030
  £7.48bn; capabilities and the population test band say the same.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@vercel

vercel Bot commented Nov 15, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
macromod Building Building Preview Nov 15, 2026 1:28pm UTC

Request Review

This branch was successfully deployed

1 active deployment
Preview — ade156d0 Deployed Nov 15, 2026 by vercel[bot]
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