Skip to content

Conversation

@vahid-ahmadi
Copy link
Contributor

Summary

  • Adds blog post analyzing Scotland's new Scottish Child Payment "baby boost" (£40/week for children under 1)
  • Announced by Finance Secretary Shona Robison in the Scottish Budget 2026
  • Uses data from the post-scottish-budget-dashboard analysis

Key findings covered

Metric Value
Annual cost £80 million (2026-27)
Payment increase £27.15 → £40/week (+47%)
Population affected 0.12%
Child poverty reduction 0.01 percentage points

Content includes

  • Budgetary impact projections (2026-2030)
  • Distributional analysis by income decile (bottom 4 deciles only benefit)
  • Winners/losers breakdown
  • Constituency-level impact map (57 Scottish constituencies)
  • 3 interactive Plotly charts

Test plan

  • Verify blog post renders correctly at /uk/research/scottish-budget-2026-scp-baby-boost
  • Check all Plotly charts display properly
  • Confirm post appears in research listing with correct metadata

🤖 Generated with Claude Code

@vercel
Copy link

vercel bot commented Jan 13, 2026

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

Project Deployment Review Updated (UTC)
policyengine-app-v2 Ready Ready Preview, Comment Jan 16, 2026 9:49pm
policyengine-calculator Ready Ready Preview, Comment Jan 16, 2026 9:49pm
policyengine-website Ready Ready Preview, Comment Jan 16, 2026 9:49pm

Request Review

@vahid-ahmadi
Copy link
Contributor Author

@PolicyEngine review this

@policyengine
Copy link

policyengine bot commented Jan 13, 2026

Review Complete ✅

I've reviewed the Scottish Budget 2026 blog post. The content is well-structured and comprehensive, but there's one critical issue that needs to be fixed:

🔴 Critical Issue: Incorrect Chart Colors

The blog post uses the old blue color (#2C6496) instead of the current teal brand color (#319795). According to the design standards in .claude/skills/chart-standards.md, charts should use:

  • Positive/gains: colors.primary[500] = #319795 (teal)
  • Neutral/gray: colors.gray[600] = #4B5563 (not #BDBDBD)

Lines affected:

  • Line 39: Bar chart colors (Figure 1)
  • Line 130: Bar chart colors (Figure 2)
  • Line 243: Bar chart color (Figure 3)

The hardcoded colors should be updated from:

  • #2C6496#319795 (teal for positive bars)
  • #BDBDBD#4B5563 (proper gray for neutral/zero bars)

✅ What Looks Good

  1. Content quality: Well-researched analysis with clear findings
  2. Metadata: Properly configured in posts.json with correct tags and authors
  3. Image asset: scottish-budget-2026-27.webp exists in the correct location
  4. Sentence case: All headings properly use sentence case
  5. Chart structure: Proper use of Plotly layouts, watermarks, and figure titles
  6. Logo path: Correctly uses /assets/logos/policyengine/teal-square.png for watermarks

Recommendation

Fix the chart colors to match the current brand guidelines before merging. Would you like me to make these changes?

@vahid-ahmadi vahid-ahmadi changed the title feat: add Scottish Budget 2026 blog post on SCP baby boost Add Scottish Budget 2026 blog post on SCP baby boost Jan 16, 2026
vahid-ahmadi and others added 16 commits January 16, 2026 13:46
Add analysis of Scotland's new £40/week Scottish Child Payment for
babies under one year old, announced in the 2026 Budget. Includes:
- Budgetary impact (£80m in 2026-27)
- Distributional analysis by income decile
- Constituency-level breakdown
- Poverty impact estimates

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Add year slider animations to distributional impact charts (2026-2030)
- Add winners/losers stacked bar chart
- Add poverty impact table across years
- Add constituency bar chart and full 57-constituency table
- Update chart styling to match uk-two-child-limit post

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change #2C6496 → #319795 (teal brand color for positive bars)
- Change #DCDCDC → #4B5563 (proper gray for no-change bars)
- Change #809ac2 → #66B2B2 (lighter teal for gain categories)

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove "Winners and losers" section (Figure 3 and Table 2)
- Replace Table 4 with interactive D3.js constituency map
- Add constituency_map_scp_baby_boost.html with search, zoom, tooltips

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…slider

- Updated Table 1 with real cost data from budgetary_impact.csv
- Fixed Figure 1 and Figure 2 to use dropdown menus for year selection
- Updated distributional data from distributional_impact.csv
- Added year animation slider to constituency map with play/pause
- Added poverty reduction data to map tooltips
- Added hyperlink to STV policy announcement article

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Replaced static Plotly charts with animated HTML charts for Figure 1 and 2
- Added play/pause year animation slider matching the map style
- Added poverty rate definition (absolute poverty before housing costs)
- Removed promotional footer paragraph

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Remove "highly targeted", "highly progressive", "narrow targeting"
- Remove cost variation explanation
- Use neutral factual language throughout
- Fix chart fonts to use system sans-serif stack
- Correct constituency data with real values from dashboard
- Specify year (2026-27) for constituency impacts

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
…er-ones'

Updated blog post terminology from 'baby boost' to 'SCP Premium for under-ones'
to match the official reform name used in the post-scottish-budget-dashboard
repository.

Changes:
- Renamed blog post file and assets folder
- Updated title and description in posts.json
- Replaced all 'baby boost' references with 'SCP Premium for under-ones' or 'premium'
- Updated iframe paths to match new folder structure
- Renamed constituency_map_scp_baby_boost.html to constituency_map.html

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Changed title to "How SCP Premium for under-ones affects Scotland"
- Added clear definition of SCP (Scottish Child Payment) in opening paragraph
- Explained that SCP Premium for under-ones increases payment from £27.15 to £40/week

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>
- Update budgetary impact: £14.2m (2026) to £16.3m (2030)
- Update distributional text: 2nd decile highest gain at 8.77%
- Update constituency findings: Orkney/Shetland highest, Argyll/Bute lowest
- Correct decile coverage: bottom 5 deciles (not 4)
- Update posts.json description

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change "announced today" to "In December 2024"
- Remove Robison quote about "strongest package"
- Update "bottom five" to "bottom four" deciles throughout
- Swap figures: absolute change now Figure 1, relative Figure 2
- Fix decile values to match chart data (£2.84, not £25)
- Replace specific constituency stats with hover instruction
- Add HBAI publication link

Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
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.

3 participants