Skip to content

Replace modelled_policies.yaml with structured programs.yaml#1516

Merged
MaxGhenis merged 3 commits intomainfrom
extend-modelled-policies
Mar 6, 2026
Merged

Replace modelled_policies.yaml with structured programs.yaml#1516
MaxGhenis merged 3 commits intomainfrom
extend-modelled-policies

Conversation

@MaxGhenis
Copy link
Collaborator

Summary

  • Replaces modelled_policies.yaml (plain string lists) with programs.yaml containing structured program objects
  • Each of the 37 programs now has: id, name, full_name, category, agency, status, coverage, variable, parameter_prefix, verified_years, and notes
  • Covers HMRC, DWP, DfE, DCMS, Treasury, Ofgem, Revenue Scotland, and Social Security Scotland
  • Renames the file from modelled_policies.yaml to programs.yaml

Context

Companion to PolicyEngine/policyengine-us#7712 which does the same for the US model. The /uk/metadata API already serves this file's contents as modelled_policies, so downstream consumers (like the model page at policyengine.org/uk/model) can read it directly.

Test plan

  • YAML validates and loads 37 programs
  • CI passes (no code logic changes, just YAML data + file path update)
  • Verify /uk/metadata API returns new structure after deploy

MaxGhenis and others added 3 commits March 6, 2026 08:32
Replaces plain string lists with structured program objects containing
id, name, category, agency, status, variable, parameter_prefix,
verified_years, and notes. Covers 37 UK programs across HMRC, DWP,
DfE, DCMS, Treasury, Ofgem, Revenue Scotland, and Social Security
Scotland. Renames from modelled_policies.yaml to programs.yaml.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
@MaxGhenis MaxGhenis merged commit d22d267 into main Mar 6, 2026
2 checks passed
@MaxGhenis MaxGhenis deleted the extend-modelled-policies branch March 6, 2026 13:51
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.

1 participant