Skip to content

Restructure minimum wage as age-based scale parameter#1612

Open
vahid-ahmadi wants to merge 2 commits intomainfrom
fix/minimum-wage-scale-param-1015
Open

Restructure minimum wage as age-based scale parameter#1612
vahid-ahmadi wants to merge 2 commits intomainfrom
fix/minimum-wage-scale-param-1015

Conversation

@vahid-ahmadi
Copy link
Copy Markdown
Collaborator

Summary

  • Splits minimum_wage.yaml into minimum_wage/apprentice.yaml (scalar) and minimum_wage/non_apprentice.yaml (age-based single_amount scale parameter)
  • Updates the minimum_wage variable formula to look up the rate by age instead of enum category indexing
  • All existing rates preserved exactly; verified against known values

Fixes #1015

Test plan

  • Verified age 30 @ 2025 = £12.21, age 30 @ 2021 = £8.91, age 19 @ 2025 = £10.00, apprentice @ 2025 = £7.55
  • Run full test suite to confirm no regressions

🤖 Generated with Claude Code

vahid-ahmadi and others added 2 commits April 16, 2026 11:03
Split minimum_wage.yaml into minimum_wage/apprentice.yaml (scalar)
and minimum_wage/non_apprentice.yaml (single_amount scale keyed by
age). Update the minimum_wage variable formula to use age-based
lookup instead of enum indexing. Fixes #1015.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@vahid-ahmadi vahid-ahmadi requested a review from MaxGhenis April 16, 2026 12:42
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.

Make minimum wage for non-apprentices a scale parameter based on age

1 participant