Remove SCP inflation policy from dashboard#28
Merged
vahid-ahmadi merged 6 commits intomainfrom Jan 23, 2026
Merged
Conversation
SCP inflation adjustment is already in the PolicyEngine baseline (and SFC baseline), so showing it as a budget reform is misleading. This removes it from the UI while keeping the backend calculation for reference. Changes: - Remove scp_inflation from policy configs and reform definitions - Remove from App.jsx policy list and default selections - Remove from Dashboard.jsx POLICY_INFO and explanations - Remove from HouseholdCalculator.jsx charts and tooltips - Remove from ScotlandMap.jsx and LocalAreaSection.jsx - Update SFCComparisonTable.jsx note text - Delete unused StackedBudgetBarChart.jsx and StackedDecileChart.jsx Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
|
The latest updates on your projects. Learn more about Vercel for GitHub.
|
- Reorder stacked bars: largest first (at base), smaller on top - Custom tooltips showing policies in order with Net impact last - SFC comparison table defaults to Static instead of Post-behavioural - Local area map legend: symmetric with round numbers and both colors - Fix number formatting: -£48.49 instead of £-48.49 Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
- Change d3 curve from curveMonotoneX to curveLinear to show sharp cliffs - Increase API data points from 51 to 201 (£1k steps) for better resolution - This properly shows SCP eligibility cliff and other policy thresholds Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
SCP inflation is now in baseline (current £28.20 rate), so we should not calculate it as a separate reform impact. This fixes the mismatch where total included hidden scp_inflation value not shown in UI. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Test plan
🤖 Generated with Claude Code