Commit 28c3f6c
Adds `policyengine_uk/tests/test_parameter_descriptions.py` which asserts
every parameter `description` ends with a period — and brings the existing
178 parameter files into compliance. Multi-line descriptions are handled
by appending the period to the last continuation line so the sentence ends
correctly when YAML joins them.
Per #339, these descriptions surface in the UI and were inconsistent;
locking the convention in CI prevents drift going forward.
Co-authored-by: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
1 parent fb34a52 commit 28c3f6c
180 files changed
Lines changed: 224 additions & 178 deletions
File tree
- changelog.d
- policyengine_uk
- parameters
- gov
- boe
- dfe/adult_dependants_grant
- dwp
- ESA
- eligibility
- income
- IIDB
- JSA
- contrib
- eligibility
- hours
- income
- LHA
- means_test
- constant_attendance_allowance
- disability_premia
- income_support
- amounts
- means_test
- pension_credit
- guarantee_credit
- savings_credit
- state_pension/age
- tax_credits
- child_tax_credit
- elements
- limit
- means_test
- working_tax_credit
- elements
- min_hours
- universal_credit
- means_test
- hmrc
- child_benefit
- amount
- takeup
- income_tax
- allowances
- annual_allowance
- marriage_allowance
- married_couples_allowance
- personal_allowance
- personal_savings_allowance
- bases
- charges/CB_HITC
- rates
- savings_starter_rate
- scotland
- reliefs/pension_contribution
- minimum_wage
- national_insurance
- class_1
- rates
- employee
- thresholds
- class_2
- class_4
- rates
- thresholds
- pensions
- stamp_duty
- non_residential
- residential
- purchase
- additional
- main
- first
- student_loans/interest_rates
- plan_1
- plan_2
- revenue_scotland/lbtt
- residential
- simulation
- private_school_vat
- wra/land_transaction_tax
- residential
- household
- consumption/carbon
- demographic/equiv
- ahc
- bhc
- poverty
- wealth
- land
- tests
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | | - | |
| 2 | + | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
| |||
0 commit comments