Skip to content

Update recent SDLT purchase schedules and inclusive first-time-buyer cap - #2477

Merged
juaristi22 merged 4 commits into
mainfrom
fix-2245-sdlt-purchase-history
Oct 21, 2026
Merged

juaristi22 merged 4 commits into
mainfrom
fix-2245-sdlt-purchase-history

Conversation

@juaristi22

@juaristi22 juaristi22 commented Oct 17, 2026 •

Copy link
Copy Markdown
Collaborator

Refs #2245.

Adds recent ordinary residential SDLT purchase schedules for England and Northern Ireland: the temporary standard/first-time-buyer thresholds from 23 September 2022, the additional-dwelling surcharge increase from 31 October 2024, and the threshold reversion from 1 April 2025. First-time-buyer relief now includes the exact maximum price. For example, a £300,000 main-home purchase in the annual 2023 simulation falls from £5,000 to £2,500 SDLT.

Reproducer: policyengine_uk/tests/policy/baseline/gov/hmrc/stamp_duty/stamp_duty_land_tax_history.yaml::Annual 2023 main-home purchase uses temporary standard bands

Sources: SDLT (Temporary Relief) Act 2023, section 1, Finance Act 2025, sections 50 and 51, and Finance Act 2003, Schedule 6ZA. The cached packet contains eight originals and eight extracts.

Annual simulations retain the existing 30 April parameter sampling: 2022 uses the pre-September schedule; 2023/2024 use temporary thresholds and the three-point surcharge; 2025 uses restored thresholds and the five-point surcharge. Separate raw-scale tests cover the legal date boundaries. Existing purchase inputs cannot select protected pre-31 October contracts, substantial-performance exceptions or a transaction day within a year. This partial change leaves earlier 2020/2021 holidays and older history open; it does not certify ownership classification, rental/lease, corporate/nonresident or SDLT-return rounding rules, or estimate population impacts.

Validation:

  • Unchanged production: 10 genuine final-tax failures and 15 controls passed; the original nominally over-cap fixture first passed and its exact bytes/result are retained.
  • Final evidence covers 63 unique accepted cases: 28 new and 35 existing. The initial 63-case batch had 58 passes and five new exact-float assertion failures; only those five were corrected to rtol=0/atol=1e-8 and rerun successfully, with all cash expectations and production bytes unchanged. Existing property-test domains/settings are retained.
  • Native notebook HTML conversion passed in 2.74 seconds; notebook code was not executed by the converter. The inherited Plotly MIME warning is retained.
  • Offline Python 3.13.14, Core 3.32.27 and Hypothesis 6.168.2 were used; the lock specifies Core 3.33.2/Hypothesis 6.169.0. No dependency sync, private population run or encoder was performed.

Review follow-up: the missing rate-chart and cash-table outputs are now saved from genuine execution of the current notebook code. After integration with main at 8b12bce, the two current cells executed successfully in 16.71 seconds on Core 3.33.2/microdf 1.5.11, with six chart traces and the 2023 cash-table values verified. Code, Markdown, metadata and the retained statistics-chart output are unchanged. Changed-notebook HTML export and independent captured-head code/policy review passed. The 63-case model evidence above remains historical; the output check is not a fresh full model suite or full-site build. Hosted CI on the unchanged code head 13a4442f96629e28499f9c97b98616713429efa5 passed at 2026-10-20T08:30:41.338655+00:00 (16 effective checks, including Lint and Test / Result). This observation predates this description-only correction; fresh Fix evidence is still required after the body update.

axiom: TheAxiomFoundation/rulespec-uk#471 queued

@juaristi22 juaristi22 self-assigned this Oct 17, 2026

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fine once the SDLT docs page gets its chart outputs back. The law and the code look right.

@juaristi22, the schedules match the legislation. The only real problem is on the docs page.

  1. should: docs/book/programs/gov/hmrc/stamp-duty.ipynb, cells 2 and 4. Almost all of the -6,300 lines are stored outputs being removed. Both myst.yml:58 and docs/book/_config.yml:7 set execute_notebooks: off, so the published page shows stored outputs only. On this branch the rate chart (cell 2) and the old marginal-rate chart are gone, and the new £625,000/£625,020 cash table (cell 4) has no output either. Only the statistics chart in cell 6 still renders. Please run the notebook and commit the outputs, or the page will lose its illustrations.
  2. nit: stamp-duty.ipynb, cells 1 to 3. The page now uses the 2023 temporary schedule as its worked illustration. Most readers will expect current law (from 1 April 2025). A 2025 chart, with the temporary period in the table, would read better.
  3. nit: issue #2245 also flags the 2021 holiday dates (£500,000 nil band to 30 June 2021, £250,000 to 30 September 2021, while the scale returns to £125,000 on 2021-03-31). The PR body says this is left open, and it uses "Refs" rather than "Fixes", so the issue should stay open for that part. It is worth saying so on the issue.
  4. nit: annual sampling on 30 April means FY2024-25 uses the 3-point surcharge for the whole year, although 5 points applied from 31 October 2024. This is documented, and it is the sampling the issue asked for. I am noting it only so the FY2024 numbers are read in that light.

What I checked

  • Rates and thresholds against primary sources on legislation.gov.uk:
    • SDLT (Temporary Relief) Act 2023 s.1: £250,000 nil band; 5/10/12%; 3/8/13/15% for additional dwellings; first-time buyers' nil band £425,000; maximum £625,000.
    • FA 2025 s.50: 5/10/15/17% from 31 October 2024 to 31 March 2025.
    • FA 2025 s.51 and FA 2003 Sch 4ZA: 5/7/10/15/17% from 1 April 2025.
    • FA 2003 Sch 6ZA para 1: "not more than £500,000", so <= is correct.
    • The £40,000 floor for additional dwellings applies at exactly £40,000 under the existing < min test.
  • All the YAML parameter values and dates match these sources. The null brackets correctly drop the 2% band and the 5% additional band during the temporary period.
  • Hand-computed expectations:
    • NI 2024: £925,000 main plus £400,000 additional = £33,750 + £19,500 = £53,250.
    • 2027: £300,000 main plus £400,000 additional = £5,000 + £30,000 = £35,000.
    • £625,020 first-time buyer = £18,751.
  • Tests:
    • policyengine-core test on stamp_duty_land_tax_history.yaml, stamp_duty_land_tax.yaml and property_purchased_default.yaml: 29 passed.
    • pytest on test_sdlt_purchase_schedules.py and test_property_transaction_tax_purchase_properties.py: 15 passed.
    • With the parameter and variable changes reverted, 10 YAML cases and 9 pytest cases fail.
  • ruff check and ruff format --check are clean on the changed Python files.
  • Repo process:
    • The fixed changelog fragment, Reproducer: and axiom: lines are present.
    • All CI checks are green on the current head.
  • Overlaps:
    • The branch includes the 2.134.1 purchase-input fix, and its tests use those input semantics. It does not duplicate that fix.
    • No file overlap with the other open SDLT PRs. Their 2026 expectations (£15,000 on a £500,000 non-first purchase) are unchanged by this PR.
    • No overlap with any other open PR on these paths.
  • Not checked: protected pre-31 October 2024 contracts, population impact, and a run of the notebook code.

🤖 Generated with Claude Code

@juaristi22
juaristi22 force-pushed the fix-2245-sdlt-purchase-history branch from 3716fcd to 07ce4c5 Compare October 19, 2026 12:34
@juaristi22

Copy link
Copy Markdown
Collaborator Author

Regenerated the current notebook’s rate-chart and cash-table outputs and committed their execution results. The 2023 table gives £10,000 SDLT at £625,000 and £18,751 at £625,020. Notebook code, Markdown, metadata and the retained statistics-chart output are unchanged. HTML conversion passed without executing notebook code; the inherited statistics MIME warning remains recorded. The earlier 2020/2021 holiday scope remains open.

The current cells also passed fresh execution after integration with main (16.71 seconds, Core 3.33.2/microdf 1.5.11), and independent captured-head code/policy review verified the output fix. Axiom-needed follow-up remains open; current-head hosted CI and your review are pending.

@github-actions

github-actions Bot commented Oct 19, 2026 •

Copy link
Copy Markdown
Contributor

Aggregate impact on certified data: pass

Base 0b8af54cac against head 383023ed62, both on enhanced_frs_2024_25.h5 (policyengine-uk-data 1.58.1, sha256 056e80fd8e91), fiscal years 2025-26 to 2031-32. Each year is a full microsimulation run on each side.

Checks: 0 broken by this change, 1 failing on both sides, 0 fixed. Moves flagged for review: 0 (thresholds in report_spec.yaml; a flag does not fail the job).

Workflow run and full report

Notes

  • In the years a figure from fewer than 10 records is suppressed (spending.disabled_students_allowance), every total containing it, and the decile incomes, are rebuilt from their other components, so no published total includes it. Those totals are marked †. A change is withheld where the two sides leave out different figures and can't be lined up.

Moves flagged for review

None.

Spending by benefit and service

Measure 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Disabled Students' Allowance suppressed suppressed suppressed suppressed suppressed suppressed suppressed

Caseloads

Measure 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Disabled Students' Allowance suppressed suppressed suppressed suppressed suppressed suppressed suppressed

Household net income by decile

No household's net income changes in any year.

No change in any year: receipts by tax head; government balance, each component counted once; model totals; components the model counts twice; household income totals; population; poverty rates; people in poverty; inequality; mean household net income in each side's own deciles; standard reform costings (change in gov_balance); standard reforms: change in each reform's target.

Checks failing on both base and head (1)
  • VAT is never negative (sign:vat): 2025-26: 76 units below zero, a weighted £-54,797,972 in total; 2026-27: 76 units below zero, a weighted £-56,271,349 in total; 2027-28: 76 units below zero, a weighted £-57,609,146 in total
Counted-once check

Each of 84 components was raised by £1 per unit in 2026-27, and every head of its totals was read household by household: its own head must rise by exactly £1, no other tax head may move, no other benefit may rise, and the model's own total must move by what its heads moved. A head that breaks a rule is measured again twice: with every other head held at its baseline value, and with every other head held at its value after the first £1 while the component rises again. It fails where either still shows the response. 0 failed; 0 were skipped.

  • incapacity_benefit: pension_credit responds only through other heads in fewer than 10 households (other heads that moved there: carers_allowance; gov_spending; not a failure)
  • incapacity_benefit: pension_credit responds only through other heads in fewer than 10 households (other heads that moved there: carers_allowance; household_benefits; not a failure)
  • incapacity_benefit: universal_credit responds only through other heads in 72 households (other heads that moved there: carers_allowance, carer_support_payment; gov_spending; not a failure)
  • incapacity_benefit: universal_credit responds only through other heads in 72 households (other heads that moved there: carers_allowance, carer_support_payment; household_benefits; not a failure)
  • maternity_allowance: pension_credit responds only through other heads in fewer than 10 households (other heads that moved there: carers_allowance; gov_spending; not a failure)
  • maternity_allowance: pension_credit responds only through other heads in fewer than 10 households (other heads that moved there: carers_allowance; household_benefits; not a failure)
  • declared double count corporate_sdlt is still contained in expected_sdlt (coefficient 1.000; Corporate SDLT is counted twice in household and government tax totals #2159)
Provenance
Side Commit Runtime Environment hash Partition hash Time
base main 0b8af54cac uk 2.139.1 (files 5e42a8d5f9cb), core 3.33.2, py 3.13.16 aarch64 f9a95986f001 0d0426ee9e38 947.49s
head #2477 merged into main 383023ed62 uk 2.139.1 (files e00630f16c59), core 3.33.2, py 3.13.16 aarch64 f9a95986f001 0d0426ee9e38 945.84s

Dataset: hf://policyengine/policyengine-uk-data-private/enhanced_frs_2024_25.h5@2526edbbb687a3b54dbb11272e5389e4b62d2ac2, sha256 056e80fd8e9151d78f432a25cde863340baee81304c6216a37fb575ce8563784 (verified on both sides), policyengine-uk-data 1.58.1.

Receipts by tax head: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Income tax £298.30bn £318.11bn £335.36bn £350.32bn £365.75bn £383.77bn £402.05bn
National Insurance (employee and self-employed) £52.58bn £54.94bn £56.75bn £58.48bn £60.51bn £62.45bn £64.90bn
National Insurance (employer) £152.64bn £159.18bn £164.14bn £168.73bn £175.57bn £181.08bn £188.22bn
Employer NI change borne by capital £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Employer NI change borne by consumers £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Capital gains tax £12.62bn £13.06bn £13.55bn £14.04bn £14.54bn £15.09bn £15.65bn
Student loan repayments £7.83bn £8.12bn £8.35bn £8.56bn £8.79bn £9.04bn £9.38bn
VAT £253.71bn £260.53bn £266.72bn £273.14bn £279.83bn £286.71bn £293.71bn
Change in VAT from its baseline £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
VAT on private school fees £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Fuel duties £24.53bn £24.64bn £26.64bn £26.69bn £26.42bn £25.76bn £26.35bn
Alcohol duties £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Tobacco duties £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Vehicle excise duties £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
TV licence fee £4.28bn £4.43bn £4.44bn £4.46bn £4.49bn £4.51bn £4.53bn
Council tax £49.56bn £52.45bn £55.78bn £59.39bn £62.98bn £66.74bn £70.70bn
High value council tax surcharge £0.00bn £0.00bn £0.00bn £0.48bn £0.49bn £0.51bn £0.52bn
Northern Ireland domestic rates £0.55bn £0.58bn £0.61bn £0.63bn £0.67bn £0.70bn £0.73bn
Business rates £31.73bn £31.73bn £31.73bn £31.73bn £31.73bn £31.73bn £31.73bn
Stamp duty land tax (own purchases, and corporate until the £10.06bn £10.56bn £10.98bn £11.40bn £11.81bn £12.23bn £12.64bn
Land transaction tax (Wales) £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Land and buildings transaction tax (Scotland) £0.01bn £0.01bn £0.02bn £0.02bn £0.02bn £0.02bn £0.02bn
Unspecified tax change borne by capital £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Unspecified tax change borne by consumers £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Wealth tax £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Wealth tax excluding the main residence £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Land value tax £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Carbon tax £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Spending by benefit and service: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
State Pension £122.50bn £127.12bn £128.28bn £130.21bn £134.05bn £138.02bn £142.08bn
Pension Credit £6.68bn £7.06bn £7.04bn £7.11bn £7.23bn £7.37bn £7.46bn
Winter Fuel Payment £1.70bn £1.68bn £1.59bn £1.57bn £1.57bn £1.55bn £1.52bn
Pension Age Winter Heating Payment (Scotland) £0.19bn £0.20bn £0.20bn £0.21bn £0.21bn £0.22bn £0.22bn
Universal Credit £79.17bn £83.50bn £85.32bn £87.08bn £88.02bn £89.45bn £90.80bn
Housing Benefit £8.60bn £8.93bn £9.20bn £9.34bn £9.62bn £9.88bn £10.17bn
Council Tax Reduction £1.99bn £2.03bn £2.08bn £2.13bn £2.18bn £2.24bn £2.29bn
Employment and Support Allowance (income-related) £2.12bn £2.18bn £2.23bn £2.28bn £2.33bn £2.39bn £2.45bn
Employment and Support Allowance (contribution-based) £5.22bn £5.36bn £5.49bn £5.62bn £5.76bn £5.90bn £6.04bn
Jobseeker's Allowance (income-based) £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Jobseeker's Allowance (contribution-based) £0.29bn £0.30bn £0.30bn £0.31bn £0.32bn £0.33bn £0.33bn
Income Support £0.12bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Working Tax Credit £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Child Tax Credit £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Incapacity Benefit £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Personal Independence Payment £27.05bn £28.19bn £28.94bn £29.64bn £30.37bn £31.11bn £31.87bn
Disability Living Allowance £7.52bn £7.83bn £8.04bn £8.24bn £8.44bn £8.65bn £8.86bn
Attendance Allowance £8.71bn £9.08bn £9.32bn £9.55bn £9.78bn £10.02bn £10.26bn
Carer's Allowance £4.50bn £4.69bn £4.81bn £4.93bn £5.05bn £5.17bn £5.29bn
Carer Support Payment (Scotland) £0.35bn £0.37bn £0.38bn £0.39bn £0.40bn £0.41bn £0.41bn
Carer's Allowance Supplement (Scotland) £0.00bn £0.05bn £0.05bn £0.05bn £0.05bn £0.05bn £0.05bn
Severe Disablement Allowance £0.03bn £0.03bn £0.03bn £0.03bn £0.03bn £0.03bn £0.03bn
Industrial Injuries Disablement Benefit £0.51bn £0.52bn £0.53bn £0.54bn £0.56bn £0.57bn £0.59bn
Armed Forces Compensation Scheme £0.61bn £0.62bn £0.64bn £0.65bn £0.67bn £0.69bn £0.70bn
War Widow's or Widower's Pension £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Child Benefit £16.23bn £16.91bn £17.32bn £17.73bn £18.16bn £18.60bn £19.04bn
Scottish Child Payment £0.50bn £0.52bn £0.53bn £0.55bn £0.56bn £0.57bn £0.58bn
Two Child Limit Payment (Scotland, counterfactual) £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Healthy Start vouchers £0.05bn £0.05bn £0.05bn £0.05bn £0.05bn £0.05bn £0.05bn
Maternity Allowance £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Statutory Maternity Pay £3.32bn £3.41bn £3.49bn £3.57bn £3.66bn £3.75bn £3.84bn
Statutory Paternity Pay £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Statutory Sick Pay £1.13bn £1.16bn £1.19bn £1.22bn £1.25bn £1.28bn £1.31bn
Sure Start Maternity Grant £0.01bn £0.01bn £0.01bn £0.01bn £0.01bn £0.01bn £0.01bn
Bereavement Support Payment £0.67bn £0.69bn £0.70bn £0.72bn £0.74bn £0.76bn £0.78bn
Tax-Free Childcare £0.55bn £0.56bn £0.57bn £0.58bn £0.60bn £0.61bn £0.59bn
Extended childcare entitlement £2.66bn £3.14bn £3.23bn £3.30bn £3.38bn £3.47bn £3.55bn
Universal childcare entitlement £3.32bn £3.59bn £3.69bn £3.78bn £3.88bn £3.99bn £4.08bn
Targeted childcare entitlement £0.57bn £0.60bn £0.62bn £0.63bn £0.65bn £0.66bn £0.67bn
Care to Learn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Childcare Grant £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Parents' Learning Allowance £0.20bn £0.20bn £0.20bn £0.20bn £0.20bn £0.20bn £0.20bn
Adult Dependants' Grant £0.06bn £0.06bn £0.04bn £0.04bn £0.04bn £0.04bn £0.04bn
Travel Grant £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Disabled Students' Allowance suppressed suppressed suppressed suppressed suppressed suppressed suppressed
16 to 19 Bursary Fund £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
NHS spending £204.68bn £205.46bn £206.22bn £207.04bn £207.96bn £208.89bn £209.79bn
State education spending £0.02bn £0.02bn £0.02bn £0.02bn £0.02bn £0.02bn £0.02bn
Transport subsidy spending £25.15bn £25.25bn £25.34bn £25.44bn £25.55bn £25.67bn £25.78bn
Cost-of-living support payment £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Energy Bills Rebate £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Energy Price Guarantee subsidy £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Basic income £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Disability basic income £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Other public spending budget change £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Caseloads: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
State Pension 11,308k 11,208k 10,906k 10,812k 10,860k 10,908k 10,955k
Pension Credit 1,491k 1,489k 1,477k 1,455k 1,457k 1,454k 1,451k
Winter Fuel Payment 7,091k 7,008k 6,593k 6,509k 6,491k 6,377k 6,242k
Pension Age Winter Heating Payment (Scotland) 806k 807k 807k 805k 809k 812k 816k
Universal Credit 6,372k 6,379k 6,409k 6,420k 6,395k 6,387k 6,371k
Housing Benefit 1,254k 1,253k 1,254k 1,240k 1,245k 1,247k 1,249k
Council Tax Reduction 3,187k 3,212k 3,225k 3,247k 3,263k 3,282k 3,296k
Employment and Support Allowance (income-related) 187k 188k 188k 189k 190k 190k 191k
Employment and Support Allowance (contribution-based) 722k 724k 727k 730k 733k 737k 740k
Jobseeker's Allowance (income-based) 0k 0k 0k 0k 0k 0k 0k
Jobseeker's Allowance (contribution-based) 67k 67k 68k 68k 68k 69k 69k
Income Support 25k 0k 0k 0k 0k 0k 0k
Working Tax Credit 0k 0k 0k 0k 0k 0k 0k
Child Tax Credit 0k 0k 0k 0k 0k 0k 0k
Incapacity Benefit 0k 0k 0k 0k 0k 0k 0k
Personal Independence Payment 3,581k 3,595k 3,608k 3,623k 3,639k 3,655k 3,671k
Disability Living Allowance 1,296k 1,301k 1,306k 1,311k 1,317k 1,323k 1,329k
Attendance Allowance 1,701k 1,708k 1,714k 1,721k 1,729k 1,736k 1,744k
Carer's Allowance 1,038k 1,042k 1,046k 1,050k 1,055k 1,059k 1,064k
Carer Support Payment (Scotland) 81k 82k 82k 82k 83k 83k 83k
Carer's Allowance Supplement (Scotland) 0k 82k 82k 82k 83k 83k 83k
Severe Disablement Allowance 4k 4k 4k 4k 4k 4k 4k
Industrial Injuries Disablement Benefit 137k 138k 139k 139k 140k 140k 141k
Armed Forces Compensation Scheme 94k 94k 94k 95k 95k 95k 96k
War Widow's or Widower's Pension 0k 0k 0k 0k 0k 0k 0k
Child Benefit 8,136k 8,165k 8,185k 8,215k 8,249k 8,282k 8,314k
Scottish Child Payment 352k 354k 355k 356k 357k 358k 357k
Two Child Limit Payment (Scotland, counterfactual) 0k 0k 0k 0k 0k 0k 0k
Healthy Start vouchers 200k 201k 202k 203k 204k 204k 205k
Maternity Allowance 0k 0k 0k 0k 0k 0k 0k
Statutory Maternity Pay 334k 335k 336k 338k 339k 341k 342k
Statutory Paternity Pay 0k 0k 0k 0k 0k 0k 0k
Statutory Sick Pay 182k 183k 183k 184k 185k 186k 186k
Sure Start Maternity Grant 26k 26k 26k 27k 27k 27k 27k
Bereavement Support Payment 98k 98k 99k 99k 100k 100k 101k
Tax-Free Childcare 1,017k 1,028k 1,028k 1,033k 1,034k 1,038k 1,023k
Extended childcare entitlement 665k 671k 675k 677k 682k 686k 687k
Universal childcare entitlement 986k 989k 992k 997k 1,002k 1,013k 1,015k
Targeted childcare entitlement 119k 120k 120k 121k 121k 122k 121k
Care to Learn 0k 0k 0k 0k 0k 0k 0k
Childcare Grant 0k 0k 0k 0k 0k 0k 0k
Parents' Learning Allowance 98k 99k 99k 100k 100k 100k 101k
Adult Dependants' Grant 18k 18k 12k 13k 13k 13k 13k
Travel Grant 0k 0k 0k 0k 0k 0k 0k
Disabled Students' Allowance suppressed suppressed suppressed suppressed suppressed suppressed suppressed
16 to 19 Bursary Fund 0k 0k 0k 0k 0k 0k 0k
Cost-of-living support payment 0k 0k 0k 0k 0k 0k 0k
Energy Bills Rebate 0k 0k 0k 0k 0k 0k 0k
Energy Price Guarantee subsidy 0k 0k 0k 0k 0k 0k 0k
Basic income 0k 0k 0k 0k 0k 0k 0k
Disability basic income 0k 0k 0k 0k 0k 0k 0k
Government balance, each component counted once: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Government receipts, each component once £898.40bn £938.34bn £975.07bn £1,008.08bn £1,043.60bn £1,080.32bn £1,121.13bn
Government spending £537.00bn † £551.36bn † £557.71bn † £564.79bn † £573.36bn † £582.62bn † £591.80bn †
Government balance, each receipt once £361.40bn † £386.97bn † £417.37bn † £443.30bn † £470.24bn † £497.70bn † £529.34bn †
Benefits in household_benefits but not in gov_spending £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn £0.00bn
Model totals: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
gov_tax £901.53bn £941.47bn £978.20bn £1,011.21bn £1,046.73bn £1,083.45bn £1,124.26bn
household_tax £495.18bn £521.76bn £547.34bn £569.34bn £591.33bn £615.65bn £642.33bn
pre_budget_change_household_tax £487.36bn £513.63bn £538.99bn £560.30bn £582.05bn £606.11bn £632.44bn
gov_spending £537.00bn † £551.36bn † £557.71bn † £564.79bn † £573.36bn † £582.62bn † £591.80bn †
household_benefits £537.00bn † £551.36bn † £557.71bn † £564.79bn † £573.36bn † £582.62bn † £591.80bn †
gov_balance £364.53bn † £390.10bn † £420.50bn † £446.43bn † £473.37bn † £500.83bn † £532.47bn †
Components the model counts twice: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
corporate_sdlt, counted again inside expected_sdlt £3.13bn £3.13bn £3.13bn £3.13bn £3.13bn £3.13bn £3.13bn
Household income totals: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Household market income £1,657.06bn £1,719.25bn £1,771.68bn £1,821.99bn £1,887.41bn £1,945.59bn £2,017.37bn
Household net income £1,659.61bn † £1,708.10bn † £1,740.16bn † £1,774.50bn † £1,810.83bn † £1,852.62bn † £1,904.40bn †
Household net income (HBAI definition) £1,468.17bn £1,514.88bn £1,547.36bn £1,580.55bn £1,614.82bn £1,654.01bn £1,704.49bn
Population: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
People 69,514k 69,778k 70,036k 70,316k 70,626k 70,944k 71,249k
Benefit units 35,247k 35,381k 35,512k 35,654k 35,811k 35,972k 36,127k
Households 31,167k 31,285k 31,401k 31,526k 31,665k 31,808k 31,944k
Poverty rates: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Absolute poverty, before housing costs: everyone 15.9% 14.9% 15.5% 15.6% 15.7% 15.8% 15.7%
Absolute poverty, before housing costs: children 23.7% 20.9% 21.6% 21.4% 21.6% 21.8% 21.7%
Absolute poverty, before housing costs: working-age adults 13.8% 13.4% 14.0% 14.1% 14.2% 14.3% 14.3%
Absolute poverty, before housing costs: pensioners 13.6% 13.1% 13.2% 13.4% 13.5% 13.6% 13.5%
Absolute poverty, after housing costs: everyone 20.9% 20.4% 21.0% 21.2% 21.4% 21.7% 21.8%
Absolute poverty, after housing costs: children 31.8% 30.0% 30.7% 31.0% 31.2% 31.6% 31.8%
Absolute poverty, after housing costs: working-age adults 19.4% 19.2% 20.0% 20.2% 20.5% 20.7% 20.8%
Absolute poverty, after housing costs: pensioners 12.5% 12.2% 12.0% 12.2% 12.2% 12.3% 12.3%
Relative poverty, before housing costs: everyone 17.0% 16.4% 16.5% 16.6% 16.8% 16.8% 16.9%
Relative poverty, before housing costs: children 25.7% 23.5% 23.3% 23.2% 23.4% 23.5% 23.7%
Relative poverty, before housing costs: working-age adults 14.5% 14.4% 14.7% 14.8% 15.1% 15.1% 15.2%
Relative poverty, before housing costs: pensioners 14.8% 14.9% 14.4% 14.4% 14.3% 14.4% 14.6%
Relative poverty, after housing costs: everyone 21.5% 21.1% 21.3% 21.4% 21.5% 21.6% 21.8%
Relative poverty, after housing costs: children 32.6% 31.3% 31.1% 31.1% 31.4% 31.4% 31.8%
Relative poverty, after housing costs: working-age adults 19.8% 19.8% 20.2% 20.3% 20.5% 20.7% 20.8%
Relative poverty, after housing costs: pensioners 13.3% 12.8% 12.6% 12.7% 12.3% 12.2% 12.3%
People in poverty: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Absolute poverty, before housing costs: everyone 11,050k 10,426k 10,847k 10,945k 11,075k 11,205k 11,215k
Absolute poverty, before housing costs: children 3,559k 3,140k 3,260k 3,252k 3,297k 3,333k 3,333k
Absolute poverty, before housing costs: working-age adults 5,864k 5,737k 6,070k 6,164k 6,236k 6,314k 6,319k
Absolute poverty, before housing costs: pensioners 1,627k 1,549k 1,517k 1,528k 1,542k 1,558k 1,563k
Absolute poverty, after housing costs: everyone 14,536k 14,210k 14,688k 14,922k 15,145k 15,380k 15,517k
Absolute poverty, after housing costs: children 4,765k 4,513k 4,641k 4,697k 4,753k 4,831k 4,894k
Absolute poverty, after housing costs: working-age adults 8,275k 8,251k 8,665k 8,836k 8,991k 9,138k 9,200k
Absolute poverty, after housing costs: pensioners 1,496k 1,445k 1,382k 1,389k 1,401k 1,411k 1,423k
Relative poverty, before housing costs: everyone 11,807k 11,456k 11,570k 11,652k 11,832k 11,919k 12,065k
Relative poverty, before housing costs: children 3,863k 3,538k 3,520k 3,528k 3,567k 3,592k 3,642k
Relative poverty, before housing costs: working-age adults 6,178k 6,160k 6,389k 6,483k 6,623k 6,674k 6,741k
Relative poverty, before housing costs: pensioners 1,767k 1,758k 1,661k 1,642k 1,642k 1,653k 1,682k
Relative poverty, after housing costs: everyone 14,918k 14,717k 14,897k 15,056k 15,215k 15,345k 15,518k
Relative poverty, after housing costs: children 4,886k 4,714k 4,695k 4,721k 4,789k 4,814k 4,894k
Relative poverty, after housing costs: working-age adults 8,442k 8,497k 8,756k 8,884k 9,018k 9,123k 9,201k
Relative poverty, after housing costs: pensioners 1,590k 1,507k 1,446k 1,451k 1,408k 1,408k 1,423k
Inequality: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Gini coefficient, equivalised HBAI income before housing costs 0.3076 0.3053 0.3067 0.3074 0.3079 0.3086 0.3096
Mean household net income in each side's own deciles: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Decile 1: mean household_net_income per household £17,705 † £17,995 † £17,940 † £18,016 † £18,324 † £18,521 † £18,684 †
Decile 2: mean household_net_income per household £28,366 † £29,042 † £28,685 † £29,006 † £29,351 † £29,731 † £30,339 †
Decile 3: mean household_net_income per household £34,601 † £35,853 † £36,523 † £37,007 † £37,364 † £38,081 † £38,733 †
Decile 4: mean household_net_income per household £39,352 † £41,004 † £41,901 † £42,637 † £43,196 † £43,797 † £44,935 †
Decile 5: mean household_net_income per household £44,548 † £46,034 † £46,967 † £47,597 † £48,355 † £49,307 † £49,936 †
Decile 6: mean household_net_income per household £48,359 † £49,459 † £50,389 † £51,218 † £52,339 † £53,145 † £54,604 †
Decile 7: mean household_net_income per household £56,424 † £57,593 † £58,498 † £59,466 † £60,091 † £61,497 † £63,118 †
Decile 8: mean household_net_income per household £69,297 † £70,504 † £71,721 † £73,047 † £74,368 † £75,842 † £77,624 †
Decile 9: mean household_net_income per household £79,712 † £82,071 † £83,320 † £84,470 † £86,272 † £87,827 † £90,056 †
Decile 10: mean household_net_income per household £117,848 † £120,673 † £122,598 † £124,754 † £127,246 † £129,887 † £133,040 †
Standard reform costings (change in gov_balance): head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Raise basic rate by 1pp £6.22bn £6.50bn £6.71bn £6.90bn £7.11bn £7.35bn £7.62bn
Raise higher rate by 1pp £3.54bn £3.82bn £4.05bn £4.27bn £4.49bn £4.76bn £4.96bn
Raise personal allowance by ~800GBP/year £-3.84bn £-3.98bn £-4.06bn £-4.11bn £-4.20bn £-4.32bn £-2.04bn
Raise child benefit by 25GBP/week per additional child £-2.00bn £-1.76bn £-1.64bn £-1.54bn £-1.44bn £-1.34bn £-1.24bn
Reduce Universal Credit taper rate to 20% £-20.54bn £-21.10bn £-21.45bn £-21.88bn £-21.96bn £-22.33bn £-22.81bn
Raise Class 1 main employee NICs rate to 10% £11.06bn £11.51bn £11.83bn £12.14bn £12.46bn £12.80bn £13.27bn
Raise VAT standard rate by 2pp £25.01bn £25.68bn £26.29bn £26.92bn £27.58bn £28.26bn £28.95bn
Raise additional rate by 3pp £2.83bn £3.07bn £3.26bn £3.46bn £3.66bn £3.89bn £4.21bn
Raise the Universal Credit standard allowance by 10% £-3.04bn £-3.17bn £-3.25bn £-3.32bn £-3.37bn £-3.43bn £-3.47bn
Raise the State Pension by 10% £-8.93bn £-9.14bn £-9.06bn £-9.12bn £-9.31bn £-9.55bn £-9.82bn
Standard reforms: change in each reform's target: head levels
Measure (head) 2025-26 2026-27 2027-28 2028-29 2029-30 2030-31 2031-32
Raise basic rate by 1pp: change in income_tax £6.36bn £6.65bn £6.87bn £7.07bn £7.29bn £7.53bn £7.81bn
Raise higher rate by 1pp: change in income_tax £3.54bn £3.83bn £4.06bn £4.28bn £4.50bn £4.77bn £4.97bn
Raise personal allowance by ~800GBP/year: change in income_tax £-3.97bn £-4.12bn £-4.22bn £-4.27bn £-4.36bn £-4.48bn £-1.79bn
Raise child benefit by 25GBP/week per additional child: change in child_benefit £2.34bn £2.15bn £2.03bn £1.92bn £1.82bn £1.71bn £1.59bn
Reduce Universal Credit taper rate to 20%: change in universal_credit £20.53bn £21.09bn £21.44bn £21.87bn £21.95bn £22.32bn £22.80bn
Raise Class 1 main employee NICs rate to 10%: change in national_insurance £11.33bn £11.79bn £12.13bn £12.44bn £12.77bn £13.12bn £13.61bn
Raise VAT standard rate by 2pp: change in vat £25.01bn £25.68bn £26.29bn £26.92bn £27.58bn £28.26bn £28.95bn
Raise additional rate by 3pp: change in income_tax £2.83bn £3.07bn £3.26bn £3.46bn £3.66bn £3.89bn £4.21bn
Raise the Universal Credit standard allowance by 10%: change in universal_credit £3.04bn £3.17bn £3.25bn £3.32bn £3.38bn £3.43bn £3.48bn
Raise the State Pension by 10%: change in state_pension £12.25bn £12.71bn £12.83bn £13.02bn £13.41bn £13.80bn £14.21bn

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The notebook outputs are back, so my earlier should is fixed. One should is left, on the axiom: line. I missed it in my first review.

@juaristi22, status of my earlier points:

  1. should, missing notebook outputs: Fixed. stamp-duty.ipynb cell 2 now stores the rate chart (6 traces) and cell 4 stores the cash table. I re-ran the cell 4 code on this head and got £10,000 at £625,000 and £18,751 at £625,020, the same as the stored output.
  2. nit, use a 2025 illustration: Not done. The page still uses the 2023 temporary schedule. Fine to leave.
  3. nit, 2021 holiday dates in #2245: Partly done. The PR body says this is left open, but there is no note on #2245 yet. A short comment there would stop the issue being closed by mistake.
  4. nit, FY2024-25 sampling: no action needed.

New findings

  1. should, PR body: axiom: needed. In the shared guide this option is for external contributors who can't do the Axiom work, so a maintainer can follow up. Here it leaves the parity step with no owner. Please use one of the three standard options instead. rulespec-uk has no SDLT module on main (it has LBTT and LTT under uk/policies/govuk/), and its umbrella issue TheAxiomFoundation/rulespec-uk#63 says SDLT is not encoded, so encoded-correct isn't open to you. That leaves <rulespec-uk PR> encoded if you can run the encoder, or <issue> queued if it is blocked. CONTRIBUTING.md asks for the blocker to be recorded in the issue and the pe-parity label. The legislation-sourced values in stamp_duty_land_tax_history.yaml would do as companion cases.
  2. nit, stamp-duty.ipynb cell 2 outputs. The first stored output inlines the whole plotly.js bundle, so the file grows from 175 KB on main to 4.7 MB. The cell also stores a tqdm stderr warning that shows your local path (/Users/mariajuaristi/Documents/Codex/...). The PIP, Pension Credit and LBTT pages also inline plotly.js, so the size follows existing practice. The stderr output with your path is worth removing, though. Dropping the bundle too may be worth a try if the chart still renders in a docs build.

What I checked

  • The only new commit is 07ce4c589, which touches only the notebook. git range-diff shows the two earlier commits unchanged after the rebase onto main. Code, Markdown and the cell 6 output are unchanged.
  • policyengine-core test policyengine_uk/tests/policy/baseline/gov/hmrc/stamp_duty: 30 passed.
  • pytest on test_sdlt_purchase_schedules.py and test_property_transaction_tax_purchase_properties.py: 15 passed.
  • Overlaps: no conflict with main. No conflict in this PR's files with the other open SDLT PRs (#2235, #2315, #2322, #2363). Those branches conflict with current main in fiscal_partition.yaml, which this PR doesn't touch.
  • All 16 CI checks pass on 07ce4c589. The aggregate-impact report shows no change for 2025-26 to 2031-32.

🤖 Generated with Claude Code

@juaristi22
juaristi22 force-pushed the fix-2245-sdlt-purchase-history branch from 07ce4c5 to 13a4442 Compare October 19, 2026 18:06
@juaristi22

Copy link
Copy Markdown
Collaborator Author

Removed the stored stderr warning containing my local path. All notebook code, Markdown, metadata, the Plotly bundle and six chart traces, the cash table and every other output are preserved.

The Axiom process request is recorded in rulespec-uk#471, OPEN with pe-parity, the sources and companion cases, and the corpus prerequisites. The PR body links that queued ticket; no encoding or parity result is claimed. Earlier 2020/2021 holidays remain open under #2245, as documented.

All 16 applicable current-head checks passed on 13a4442f96629e28499f9c97b98616713429efa5, including Lint, Test / Result, Fix evidence, documentation and smoke-import checks.

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juaristi22 round 3, at 13a4442f9.

Nearly there. The local path is gone and the notebook still runs. One should is left, and it sits in rulespec-uk#471, not in this PR: the operative tables for the two surcharge changes are paraphrased rather than quoted. With those added to #471, this is ready to approve.

Round-2 points

  1. should 5, axiom: line: partly fixed. The body now reads axiom: TheAxiomFoundation/rulespec-uk#471 queued, the same format as merged #2458, and Fix evidence passes. #471 is open with pe-parity, module paths and corpus selectors, required outputs, companion cases and the blocker (no approved billed encoder run). The gap is point 7 below.
  2. nit 6, stderr output with your local path: fixed. 13a4442f9 deletes only those five lines. No /Users/ path is left in the notebook. The plotly bundle is still inlined, which is fine.
  3. nit 3, note on #2245: not done. There is no new comment on #2245 since 18 Oct. Still optional.
  4. nit 2, 2025 illustration: unchanged, fine to leave.

New findings

  1. should, rulespec-uk#471: quote the operative tables verbatim. The issue paraphrases FA 2025 s.50 ("the table is 5%, 10%, 15%, 17% at the temporary bands") and s.51, and does not quote TRA 2023 s.1(3) or s.1(5)(a) at all. Those four provisions drive the additional-dwelling rows and the £625,000 cap in the companion table, so the encoder needs their text. The figures in the paraphrase are right; only the form is short of the queued standard, and #472 already does it this way. A comment on #471 with the following would close it (text taken from the enacted versions on legislation.gov.uk):

    TRA 2023 s.1(3):

    Schedule 4ZA (higher rates of stamp duty land tax for additional dwellings etc) has effect as if for the Table A in section 55(1B) mentioned in paragraph 1(2) there were substituted—
    So much as does not exceed £250,000 | 3%
    So much as exceeds £250,000 but does not exceed £925,000 | 8%
    So much as exceeds £925,000 but does not exceed £1,500,000 | 13%
    The remainder (if any) | 15%

    TRA 2023 s.1(5)(a):

    in paragraph 1(3), for “£500,000” there were substituted “£625,000”, and

    FA 2025 s.50(2):

    In subsection (3) (which deals with purchases of additional dwellings), for the Table A mentioned there substitute—
    So much as does not exceed £250,000 | 5%
    So much as exceeds £250,000 but does not exceed £925,000 | 10%
    So much as exceeds £925,000 but does not exceed £1,500,000 | 15%
    The remainder (if any) | 17%

    FA 2025 s.51(1):

    In Schedule 4ZA to FA 2003 (higher rates of stamp duty land tax for additional dwellings etc), for the Table A in section 55(1B) mentioned in paragraph 1(2) substitute—
    So much as does not exceed £125,000 | 5%
    So much as exceeds £125,000 but does not exceed £250,000 | 7%
    So much as exceeds £250,000 but does not exceed £925,000 | 10%
    So much as exceeds £925,000 but does not exceed £1,500,000 | 15%
    The remainder (if any) | 17%

  2. nit, #471 companion arithmetic. The table gives values with no working. I re-derived all six vectors and the first-buyer cases and they hold, e.g. 2024-10-31 additional at £925,000: 250,000 × 5% + 675,000 × 10% = 80,000; 2023 first buyer at £625,020, above the cap so ordinary rates: 375,020 × 5% = 18,751. One worked line per regime would let the encoder check them quickly. The other quotes I checked (s.55(1B) at 2022-09-22, Sch 6ZA paras 1, 4 and 6 at 2025-04-01) match the source. The closing "retain the Axiom-needed follow-up" wording predates the switch to queued and could go.

  3. nit, the stderr line comes back on a fresh run. I re-executed the notebook at this head: cell 2 regenerates the tqdm warning with whatever path runs it. A warnings.filterwarnings("ignore", message="IProgress not found") before the imports in cell 2 (or clearing stderr before committing) would stop it returning next time.

  4. nit, stale PR body. It still ends "Current-head hosted CI remains to be checked". All 16 checks pass at 13a4442f9.

What I checked

  • git range-diff: the three earlier commits are identical after the rebase onto 0b8af54ca; the only new commit is 13a4442f9, notebook only.
  • Fresh worktree and uv venv at the head; executed stamp-duty.ipynb with nbconvert. It ran cleanly: cell 2 gives 6 chart traces, cell 4 gives £10,000 at £625,000 and £18,751 at £625,020, cell 6 gives 27 traces, the same as the stored outputs.
  • Fetched TRA 2023 s.1, FA 2025 ss.50 and 51, FA 2003 s.55 (2022-09-22) and Sch 6ZA (2025-04-01) from legislation.gov.uk and compared them with #471.
  • Overlaps: merges cleanly with current main (47642d1ee). #2235, #2315, #2322 and #2363 are still open and share no files with this PR. Nothing merged to main since 0b8af54ca touches stamp duty.
  • CI at the head: all 16 checks pass, including Fix evidence and the aggregate-impact report.

🤖 Generated with Claude Code

@juaristi22

Copy link
Copy Markdown
Collaborator Author

Added the four operative source excerpts requested in item 7 to rulespec-uk#471. The PR description now records the captured current-head CI result and requires fresh Fix evidence after this description update. Optional worked-arithmetic and warning-filter nits remain deferred. No billed encoder run is approved or executed; the underlying Axiom-needed follow-up remains open.

@vahid-ahmadi vahid-ahmadi left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@juaristi22 round 4, at 13a4442f9 (no code change since round 3).

Approving. The one open should, the verbatim law in rulespec-uk#471, is fixed, and CI is green.

Round-3 points

  1. should, quote the operative tables verbatim in #471: fixed. Your #471 comment quotes TRA 2023 s.1(3), TRA 2023 s.1(5)(a), FA 2025 s.50(2) and FA 2025 s.51(1). I fetched the enacted XML for all three sections from legislation.gov.uk again today. The SHA-256 of each file matches the one in your comment. Every quoted line matches the source word for word, including the curly quotes around “£500,000” and “£625,000”. I also checked all 16 table rows whole, band and rate together, so each rate sits against the right band.
  2. nit, worked arithmetic in #471: deferred, fine. I re-derived the values in round 3 and they hold.
  3. nit, the tqdm stderr comes back on a fresh run: deferred, fine.
  4. nit, stale "remains to be checked" line in the body: fixed. The body now records the hosted CI result at 13a4442f9. One new stale clause: it ends "fresh Fix evidence is still required after the body update", but Fix evidence has rerun since and passed. Drop it next time you edit the body.

The PR body still reads axiom: TheAxiomFoundation/rulespec-uk#471 queued. You last edited the body at 08:56:18Z, and Fix evidence ran again at 08:56:22Z on 13a4442f9 and passed.

What I checked

  • Head is still 13a4442f9, so round 3's notebook run and tests still apply.
  • CI at the head: all 16 checks pass, including Fix evidence (rerun after the body edit), Test / Result and Aggregate impact.
  • Merges cleanly with current main (42c01db91). No stamp duty file has changed on main since round 3.

🤖 Generated with Claude Code

@juaristi22
juaristi22 added this pull request to the merge queue Oct 20, 2026
Merged via the queue into main with commit e6ca569 Oct 21, 2026
17 of 18 checks passed
@juaristi22
juaristi22 deleted the fix-2245-sdlt-purchase-history branch October 21, 2026 04:09
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.

2 participants