Skip to content

Instantly share code, notes, and snippets.

@vahid-ahmadi
vahid-ahmadi / energy_shock_analysis.ipynb
Created March 5, 2026 12:03
Energy Price Shock: Budget Impact Analysis using PolicyEngine UK
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / reintroduce_two_child_limit.py
Created February 18, 2026 16:21
Reform UK two-child benefit cap reintroduction: impact analysis with headcounts (PolicyEngine)
"""
Reintroducing the two-child benefit cap in 2029: impact analysis
Reform UK's Robert Jenrick announced that a Reform government would
"restore the cap in full". This script calculates the impact of
reintroducing the two-child limit on Universal Credit from 2029-30.
Baseline: Current law (two-child limit removed from April 2026,
as per Autumn Budget 2025 / policyengine-uk 2.63+)
Reform: Reintroduce two-child limit (child_count = 2) from 2029
@vahid-ahmadi
vahid-ahmadi / reintroduce_two_child_limit.py
Last active February 18, 2026 16:19
Reform UK two-child benefit cap reintroduction: impact analysis (PolicyEngine)
"""
Reintroducing the two-child benefit cap in 2029: impact analysis
Reform UK's Robert Jenrick announced that a Reform government would
"restore the cap in full". This script calculates the impact of
reintroducing the two-child limit on Universal Credit from 2029-30.
Baseline: Current law (two-child limit removed from April 2026,
as per Autumn Budget 2025 / policyengine-uk 2.63+)
Reform: Reintroduce two-child limit (child_count = 2) from 2029
@vahid-ahmadi
vahid-ahmadi / obr_comparison_executed.ipynb
Last active February 12, 2026 14:26
OBR Comparison: Salary Sacrifice Cap Analysis — PolicyEngine vs OBR supplementary forecast (5 Feb 2026)
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / scotland_statistics.ipynb
Created February 10, 2026 12:38
Scotland population statistics and calibration reference for policyengine-uk-data
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / salary_sacrifice_5000_total_income.ipynb
Created February 3, 2026 19:01
Salary Sacrifice Cap Analysis: £5,000 vs £2,000 - PolicyEngine UK
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / salary_sacrifice_5000.ipynb
Last active February 3, 2026 16:41
Salary Sacrifice Cap Analysis: £5,000 vs £2,000 - House of Commons Library
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / salary_sacrifice_5000_unified.ipynb
Created February 3, 2026 16:13
Salary Sacrifice Cap Analysis: £5,000 vs £2,000 - House of Commons Library
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / salary_sacrifice_5000_analysis.ipynb
Created February 3, 2026 14:45
Salary Sacrifice Cap Analysis: £5,000 vs £2,000 (with charts) - House of Commons Library
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
@vahid-ahmadi
vahid-ahmadi / salary_sacrifice_5000_analysis.ipynb
Created February 3, 2026 14:39
Salary Sacrifice Cap Analysis: £5,000 vs £2,000 (Executed Notebook) - House of Commons Library
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.