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

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>
@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 13, 2026 6:32pm
policyengine-calculator Ready Ready Preview, Comment Jan 13, 2026 6:32pm
policyengine-website Ready Ready Preview, Comment Jan 13, 2026 6:32pm

@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 and others added 2 commits January 13, 2026 16:34
- 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>
vahid-ahmadi and others added 2 commits January 13, 2026 17:51
- 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>
vahid-ahmadi and others added 2 commits January 13, 2026 17:56
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>
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