Skip to content

Start Scottish Government presentation for 9 October 2026 - #70

Draft
juaristi22 wants to merge 9 commits into
mainfrom
scottish-government-october-2026
Draft

juaristi22 wants to merge 9 commits into
mainfrom
scottish-government-october-2026

Conversation

@juaristi22

@juaristi22 juaristi22 commented Oct 8, 2026 •

Copy link
Copy Markdown
Collaborator

Open the public Scottish Government deck preview. This public deployment follows the branch. The Vercel bot also links a deployment in the policy-engine team that requires Vercel sign-in; use this public link to present or share the deck. Public deployment roots redirect from / to /slides.

Adds an 18-slide presentation for the Scottish Government meeting on 9 October 2026, in five parts. Each part opens with a section slide.

  1. How we build Scotland's microdata. A pipeline graph in the style of l0-ima-2026 shows five stages, each with the sources that feed it: the FRS, the SPI, the surveys used to fill gaps, NRS Output Areas, and the official statistics we match. A table lists Scotland's 1,915 target rows by target type, source and level. The live UK diagnostics dashboard is embedded.
  2. Modelling property income. One bar of HMRC's rent received for individual landlords in 2024-25 shows what each source measures: HMRC's rental statistics, the SPI and the FRS. A grid shows which data informs each piece of landlords' income, for tax-record and survey landlords, following Microcosm #1145.
  3. An analysis example. The Resolution Foundation's targeted energy bill discount (flat £175 option, 2026-27), from uk-energy-reforms. One chart shows the share of households eligible by region, split by route. A second shows the average gain across Scotland's income deciles. The slide links the dashboard.
  4. Published work since April. UK analysis and tools, with links.
  5. Plan for the Autumn Budget. Side-by-side previews of the 2025 dashboard and Autumn Budget 2025 in review, each a link, then how Budget day will run.

The figures are drawn in HTML and CSS in slides/figures.tsx, with no chart library. Presenter details, pinned sources, cover images and speaker notes accompany the deck.

The earlier demo source was recovered from policyengine-demo PR #1 and PR #2. The new presentation follows those meetings. The 2026 Budget part describes a plan, since its development repository still contains inherited 2025 measures.

The Vercel routing configuration redirects only the deployment root to the existing slide library. This fixes the automatic PR preview button, which otherwise returns 404 because Next.js is mounted at /slides.

Sources and figures

  • Scottish targets: counted from Microcosm 75167a68: 58 Scotland-wide rows, 831 rows across 32 council areas and 1,026 across 57 Westminster constituencies. The slide labels these as target definitions; the local-area release is still being validated.
  • Property income bar: HMRC Property Rental Income Statistics 2026. HMRC publishes individuals' rent received (£49.81bn) and total expenses (£30.03bn). Finance costs are published only for all landlords (£12.82bn of £34.75bn), so the slide pro-rates them to individuals by their share of expenses.
  • Property income grid: keeps HMRC's rental statistics as a check rather than a calibration target, as the #1145 measurements recommend. The slide notes that the data changes are still in draft.
  • Energy discount, by region: the published results at uk-energy-reforms 14bf3b0: 2026-27, Microcosm UK national release, policyengine-uk 2.102.3.
  • Energy discount, Scotland's deciles: computed from the same run, after checking that it reproduces the published GB deciles and Scotland's region results. Deciles rank Scotland's people by household income after housing costs, adjusted for household size. Each decile's effective sample is 38 to 102 households; the speaker notes say so.

Validation

  • TypeScript, ESLint (zero warnings on the deck) and all 130 tests pass, and the production build succeeds.
  • Every slide was checked at 1280×720, 1366×768, 1440×900 and 1920×1080 for content running into the sources line or past the slide edge; none does.
  • The diagnostics page permits embedding, but its UK release and summary API endpoints returned HTTP 502 during verification on 8 October. The deck includes a separate dashboard link and the static Scottish target table, and the speaker notes explain the limitation.

This remains a draft for presentation edits.

🤖 Generated with Claude Code

@vercel

vercel Bot commented Oct 8, 2026 •

Copy link
Copy Markdown

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

Project Deployment Actions Updated
policyengine-slides Ready Ready Preview Oct 8, 2026 8:53pm UTC

Request Review

vahid-ahmadi and others added 2 commits October 8, 2026 15:42
Rebuild the 9 October deck as a follow-up to the February and March
presentations, without repeating their material:

1. New data pipeline and property income: what changed since the Enhanced
   FRS, Scotland in the new build, release checks with two validation
   comparisons, the property income concept problem and the model and data
   fixes (policyengine-uk #2172 merged, Microcosm #1145 in progress).
2. Published work, April to October 2026: eight linked cards with cover
   images, plus the latest Scotland-specific dashboard and the research
   library.
3. Plan for the Autumn Budget: what is new this year, how Budget day will
   run, and where the Scottish Government's input would help.

Sources are pinned to microcosm 75167a68 and policyengine-uk f1a9a3cc.
Every slide link was checked. Drops the unused 2025 dashboard screenshot.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…Government deck

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

Copy link
Copy Markdown

Preview: https://policyengine-slides-git-scottish-governmen-df5f3a-policy-engine.vercel.app/slides/scottish-government-2026

This branch link redeploys automatically on every push to this PR. It sits behind Vercel login until the preview is made public or the PR merges; after merging, the deck is at https://policyengine.org/slides/scottish-government-2026.

juaristi22 and others added 2 commits October 8, 2026 21:41
Open each part with a section slide: Scotland's microdata, property
income, an analysis example, published work and the Autumn Budget.

- Replace the overview, imputation and calibration diagrams with one
  pipeline graph that names the sources feeding each stage, and the
  three target cards with a table of Scotland's 1,915 target rows by
  family, source and level.
- Show what each source measures as one bar of HMRC's rent received,
  and which data informs each piece of landlords' income as a grid,
  following Microcosm #1145.
- Fill the energy placeholder with the targeted energy bill discount
  (uk-energy-reforms 14bf3b0): eligibility by region and the average
  gain across Scotland's income deciles, linked to the dashboard. Move
  it before the published work.
- Fit every slide at 1280x720, 1366x768, 1440x900 and 1920x1080.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The starting-point slide shows the 2025 dashboard and the 2025 in
review dashboard as two equal cards, each with a screenshot and a link,
so it is clear both open. The review's repository moves to the sources
line. Section slides use the plain white background.

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

This branch was successfully deployed

1 active deployment
Preview – policyengine-slides — 76484f35 Deployed Oct 8, 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.

2 participants