Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
26 commits
Select commit Hold shift + click to select a range
c1ebc4d
Merge remote-tracking branch 'origin/wealth-share-components' into sa…
MaxGhenis Oct 4, 2026
b1a6600
Exempt unit trusts and stocks and shares ISAs from the sale-expense d…
MaxGhenis Oct 4, 2026
62c6139
Merge remote-tracking branch 'origin/uc-capital-sale-expenses' into s…
MaxGhenis Oct 12, 2026
8204fb1
Merge remote-tracking branch 'origin/wealth-share-components' into sa…
MaxGhenis Oct 12, 2026
b7e6bc5
Split share-like capital by expenses of sale on #1974's block design
MaxGhenis Oct 12, 2026
10c54a5
Start the exempt list in 1996, sum it from zero, and test float32 gro…
MaxGhenis Oct 13, 2026
7409ab4
Merge remote-tracking branch 'origin/uc-capital-sale-expenses' into s…
MaxGhenis Oct 13, 2026
33c71a7
Merge remote-tracking branch 'origin/wealth-share-components' into sa…
MaxGhenis Oct 13, 2026
183c7b1
Merge remote-tracking branch 'origin/uc-capital-sale-expenses' into s…
MaxGhenis Oct 13, 2026
6a5a13a
Merge remote-tracking branch 'origin/wealth-share-components' into sa…
MaxGhenis Oct 13, 2026
fab2993
Merge remote-tracking branch 'origin/uc-capital-sale-expenses' into s…
MaxGhenis Oct 22, 2026
e78257a
Merge #1974 (660047702) into sale-expense-share-split on #1969's b3f6…
MaxGhenis Oct 22, 2026
c3fe7af
Merge #1969 (3a3241cf6) into sale-expense-share-split
MaxGhenis Oct 31, 2026
90e52b4
Count an itemised stocks-and-shares ISA in full in every means test
MaxGhenis Oct 31, 2026
ce36094
Test that every means test values itemised holdings by type
MaxGhenis Oct 31, 2026
2f1051e
Rename the shard-duration lines for the share-components tests this P…
MaxGhenis Oct 31, 2026
6a0d26d
Test that the part with sale expenses stops at nil
MaxGhenis Oct 31, 2026
ee325c5
Merge #1969 at b4e872273 into sale-expense-share-split
claude Nov 3, 2026
ce91e92
Expect the stocks-and-shares ISA at face value in the stored-totals test
claude Nov 3, 2026
2a1725e
Merge #1969's head a418a0040 (with main 83c2554b2) into #2131's branch
MaxGhenis Nov 12, 2026
65cebd3
Count person stocks and shares ISAs at face value in main's ISA tests
MaxGhenis Nov 12, 2026
df8c1ea
Value the share-like parts separately in main's ISA property tests
MaxGhenis Nov 12, 2026
3fe76ee
Allow float32's step in the itemised-holdings means-test property
MaxGhenis Nov 13, 2026
690a562
Say the full ISA value rests on ADM H1656's silence on costs of sale
MaxGhenis Nov 16, 2026
d6cf325
Check that every sale-expense name is a counted capital source
MaxGhenis Nov 16, 2026
8f755b9
Describe the share split in #1969's fragment, the ISA docs and test c…
MaxGhenis Nov 16, 2026
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions changelog.d/sale-expense-share-split.fixed.md
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
Value share-like capital by asset type in every means test. Directly held shares, and any `corporate_wealth` a dataset does not itemise, take the 10% sale-expense deduction. Unit trusts count at full value (ADM H1673-H1674), as does the survey's combined unit and investment trust bucket, an approximation for its investment trusts. Stocks and shares ISAs count at their full withdrawal value, a reading that rests on ADM H1656 saying nothing about costs of sale.
2 changes: 1 addition & 1 deletion changelog.d/uc-capital-sale-expenses.fixed.md
Original file line number Diff line number Diff line change
@@ -1 +1 @@
Value Universal Credit, Housing Benefit, Income Support, income-based JSA, income-related ESA and Pension Credit capital at market value less 10% where a sale would incur expenses and less any debt secured on the asset, as UC Regs 2013 reg. 49(1) and its legacy equivalents require. The 10% applies to land, property and share-like capital (share_like_capital), not to cash savings; share-like capital also holds unit trusts, which have no costs of sale, and in datasets built before the private pension split it holds pension wealth, so the deduction reaches those too until the data separate them. Adds secured-debt inputs for other residential property, non-residential property and land, and the council tax reduction formula deducts the debt secured on land from the land on its own household route. Each programme rounds a fraction of a penny in its capital calculations as its regulations require: to the nearest penny for Universal Credit (UC Regs 2013 reg. 6(1)) and Housing Benefit, and down for the legacy benefits and Pension Credit. The model works out a Lifetime ISA's surrender value from its balance and rounds it under the same rule, and keeps explicit Lifetime ISA capital inputs and reformed valuation formulas.
Value Universal Credit, Housing Benefit, Income Support, income-based JSA, income-related ESA and Pension Credit capital at market value less 10% where a sale would incur expenses and less any debt secured on the asset, as UC Regs 2013 reg. 49(1) and its legacy equivalents require. The 10% applies to land, property, directly held shares and all of a `corporate_wealth` that the dataset does not itemise, not to cash savings. Unitemised `corporate_wealth` can still fold in unit trusts, ISAs and, on datasets built before private pension wealth was split out, non-defined-benefit pension wealth. Adds secured-debt inputs for other residential property, non-residential property and land, and the council tax reduction formula deducts the debt secured on land from the land on its own household route. Each programme rounds a fraction of a penny in its capital calculations as its regulations require: to the nearest penny for Universal Credit (UC Regs 2013 reg. 6(1)) and Housing Benefit, and down for the legacy benefits and Pension Credit. The model works out a Lifetime ISA's surrender value from its balance and rounds it under the same rule, and keeps explicit Lifetime ISA capital inputs and reformed valuation formulas.
40 changes: 21 additions & 19 deletions docs/book/assumptions/isa-inputs-and-capital-flows.md
Original file line number Diff line number Diff line change
Expand Up @@ -114,21 +114,22 @@ shares ISA balances in their own benefit unit, through
`cash_isa_countable_capital` and `stocks_and_shares_isa_countable_capital` in
its `person_sources`, and excludes a dependant's balance, a child's junior ISA
among them. The formulas subtract a household's counted balances from `cash_isa`
and `share_like_capital` before they allocate the remainder between benefit
units. Where the balances sum to less than the total the model holds for the
year, the remainder stays in the pool. Where their stored sum exceeds the total,
the model scales them to sum to the total exactly: it rounds each proportional
share down to a whole step of the total's float32 spacing and gives the steps
left over, one each, to the members whose shares lost most in rounding. The pool
then keeps nothing of that total; for totals under £268 million, each holding
passes a capital limit only where its proportional share does; and a sole holder
whose balance reaches the total counts exactly the total. For stocks and shares
ISAs the model takes the smaller of `stocks_and_shares_isa` and
`share_like_capital` as the total. Data that store only household totals hold no
balances, so the pool keeps the whole total. The formulas count a balance only
while the programme's `sources` lists the household source that includes it, so
a reform that drops `cash_isa` or `share_like_capital` from `sources` drops the
balances with it. For a Universal Credit unit that reports its capital
and `share_like_capital_without_sale_expenses` before they allocate the
remainder between benefit units. Where the balances sum to less than the total
the model holds for the year, the remainder stays in the pool. Where their
stored sum exceeds the total, the model scales them to sum to the total exactly:
it rounds each proportional share down to a whole step of the total's float32
spacing and gives the steps left over, one each, to the members whose shares
lost most in rounding. The pool then keeps nothing of that total; for totals
under £268 million, each holding passes a capital limit only where its
proportional share does; and a sole holder whose balance reaches the total
counts exactly the total. For stocks and shares ISAs the model takes the smaller
of `stocks_and_shares_isa` and `share_like_capital` as the total. Data that
store only household totals hold no balances, so the pool keeps the whole total.
The formulas count a balance only while the programme's `sources` lists the
household source that includes it, so a reform that drops `cash_isa` or
`share_like_capital_without_sale_expenses` from `sources` drops the balances
with it. For a Universal Credit unit that reports its capital
(`benunit_reported_capital` or `uc_reported_capital`, zero or more), the formula
leaves the unit's claimant's and partner's ISAs in the pool and subtracts the
report, as it does for their company holdings. A nonnegative
Expand All @@ -146,10 +147,11 @@ replaces covered components rather than adding them again.
For example, £5,000 savings and a £3,000 ordinary cash ISA give £8,000 UC
capital. [UC regulation 72](https://www.legislation.gov.uk/uksi/2013/376/regulation/72)
then gives eight £4.35 monthly tariff units, or £34.80 a month. Stocks-and-shares
ISA holdings remain within `share_like_capital`. The separate existing
`lifetime_isa_countable_capital` valuation is unchanged. It does not gain
transaction-level first-home or terminal-illness valuation from the new flow
inputs.
ISA holdings remain within `share_like_capital`, in its part without sale
expenses, which every means test counts at withdrawal value. The separate
existing `lifetime_isa_countable_capital` valuation is unchanged. It does not
gain transaction-level first-home or terminal-illness valuation from the new
flow inputs.

Population estimates depend on the input balances, reported-capital
overrides, benefit take-up and calibrated weights as well as the capital
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,8 @@ description: >
investments, and the named child owns a junior ISA's investments (Individual
Savings Account Regulations 1998 reg. 4(6)(a) and reg. 2B(c)). The formulas
subtract each bounded ISA balance from its household source (`cash_isa`,
`share_like_capital`) and count it in the holder's unit. When a household's
`share_like_capital_without_sale_expenses`) and count it in the holder's
unit. When a household's
balances exceed its total, the model scales them to sum to the total
exactly, rounding each share down or up to a whole float32 step of the
total. When a reform removes a household source from `sources`, the formulas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ description: >
`other_residential_property_value` and `non_residential_property_value` are
listed. `savings` is not listed: a bank or building society account is
valued at its balance, and the costs of withdrawing money are not costs of
sale (DMG 52620-52623 and 52685). `share_like_capital` (`corporate_wealth`,
or its itemised components where they exceed it) is listed because shares
are valued less 10% for the costs of selling them (DMG 52671). It is a mixed
variable, though: it also holds unit trusts, which have no costs of sale
(DMG 52681), stocks and shares ISAs and employee share options, and datasets
built before private pension wealth was split out also fold
non-defined-benefit pension wealth into it, which is not capital at all. The
deduction reaches all of these until the data separate them. Sources not
counted as income-related ESA capital are ignored.
sale (DMG 52620-52623 and 52685). `share_like_capital_with_sale_expenses` is
listed: the part of share-like capital whose sale incurs expenses, namely
directly held shares, valued less 10% for selling costs (DMG 52671), and all
of `corporate_wealth` on datasets that do not itemise it (which then still
folds in unit trusts, ISAs and, on datasets built before private pension
wealth was split out, non-defined-benefit pension wealth). Unit and
investment trusts and stocks and shares ISAs are valued without the
deduction; `gov.dwp.share_like_capital.without_sale_expenses` lists them,
with the guidance and the approximation for investment trusts, which the
survey cannot separate from unit trusts. Sources not counted as
income-related ESA capital are ignored.
metadata:
label: Income-related ESA capital sources with sale expenses
period: year
Expand All @@ -28,13 +30,15 @@ metadata:
href: https://assets.publishing.service.gov.uk/media/69d8f30ad3e08b8871b665ac/dmg-Ch-52.pdf#page=115
- title: Decision Makers' Guide chapter 52, para. 52623
href: https://assets.publishing.service.gov.uk/media/69d8f30ad3e08b8871b665ac/dmg-Ch-52.pdf#page=116
- title: Decision Makers' Guide chapter 52, paras. 52662-52664
href: https://assets.publishing.service.gov.uk/media/69d8f30ad3e08b8871b665ac/dmg-Ch-52.pdf#page=124
- title: Decision Makers' Guide chapter 52, para. 52671
href: https://assets.publishing.service.gov.uk/media/69d8f30ad3e08b8871b665ac/dmg-Ch-52.pdf#page=126
- title: Decision Makers' Guide chapter 52, paras. 52681 and 52685
href: https://assets.publishing.service.gov.uk/media/69d8f30ad3e08b8871b665ac/dmg-Ch-52.pdf#page=128
- title: Decision Makers' Guide chapter 52, paras. 52680-52681 and 52685
href: https://assets.publishing.service.gov.uk/media/69d8f30ad3e08b8871b665ac/dmg-Ch-52.pdf#page=127
values:
2008-10-27:
- owned_land
- other_residential_property_value
- non_residential_property_value
- share_like_capital
- share_like_capital_with_sale_expenses
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ description: >
at their cash value, without a generic cash sale-cost deduction.
Where the data tie a cash ISA or stocks and shares ISA balance to a member,
the formulas count it through `person_sources` in the holder's own benefit
unit and subtract it from `cash_isa` or `share_like_capital` before they
unit and subtract it from `cash_isa` or
`share_like_capital_without_sale_expenses` before they
allocate the rest.
Model variables currently mapped to countable income-related Employment and
Support Allowance capital. The Employment and Support Allowance Regulations
Expand All @@ -12,7 +13,9 @@ description: >
held directly, the share-like sources, `other_residential_property_value`
for residential property other than the home, and
`non_residential_property_value` for other land and premises.
`share_like_capital` is `corporate_wealth` as supplied, or the sum of its
`share_like_capital_with_sale_expenses` and
`share_like_capital_without_sale_expenses` split `share_like_capital`, which
is `corporate_wealth` as supplied, or the sum of its
itemised components (`directly_held_shares`, `unit_and_investment_trusts`,
`stocks_and_shares_isa`) where they exceed it beyond float32 rounding (see
`share_like_capital`), so a household given only the components has them
Expand Down Expand Up @@ -45,6 +48,7 @@ values:
- savings
- cash_isa
- owned_land
- share_like_capital
- share_like_capital_with_sale_expenses
- share_like_capital_without_sale_expenses
- other_residential_property_value
- non_residential_property_value
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,8 @@ description: >
child owns a junior ISA's investments (Individual Savings Account
Regulations 1998 reg. 4(6)(a) and reg. 2B(c)). The formulas subtract each
bounded ISA balance from its household source (`cash_isa`,
`share_like_capital`) and count it in the holder's unit. When a household's
`share_like_capital_without_sale_expenses`) and count it in the holder's
unit. When a household's
balances exceed its total, the model scales them to sum to the total
exactly, rounding each share down or up to a whole float32 step of the
total. When a reform removes a household source from `sources`, the formulas
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,15 +6,17 @@ description: >
`other_residential_property_value` and `non_residential_property_value` are
listed. `savings` is not listed: a bank or building society account is
valued at its balance, and the costs of withdrawing money are not costs of
sale (DMG 29620-29623 and 29685). `share_like_capital` (`corporate_wealth`,
or its itemised components where they exceed it) is listed because shares
are valued less 10% for the costs of selling them (DMG 29671). It is a mixed
variable, though: it also holds unit trusts, which have no costs of sale
(DMG 29681), stocks and shares ISAs and employee share options, and datasets
built before private pension wealth was split out also fold non-
defined-benefit pension wealth into it, which is not capital at all. The
deduction reaches all of these until the data separate them. Sources not
counted as income-based JSA capital are ignored.
sale (DMG 29620-29623 and 29685). `share_like_capital_with_sale_expenses` is
listed: the part of share-like capital whose sale incurs expenses, namely
directly held shares, valued less 10% for selling costs (DMG 29671), and all
of `corporate_wealth` on datasets that do not itemise it (which then still
folds in unit trusts, ISAs and, on datasets built before private pension
wealth was split out, non-defined-benefit pension wealth). Unit and
investment trusts and stocks and shares ISAs are valued without the
deduction; `gov.dwp.share_like_capital.without_sale_expenses` lists them,
with the guidance and the approximation for investment trusts, which the
survey cannot separate from unit trusts. Sources not counted as income-based
JSA capital are ignored.
metadata:
label: Income-based JSA capital sources with sale expenses
period: year
Expand All @@ -26,13 +28,15 @@ metadata:
href: https://www.legislation.gov.uk/nisr/2007/396/regulation/7
- title: Decision Makers' Guide chapter 29, paras. 29620-29623
href: https://assets.publishing.service.gov.uk/media/69d8f3a496c86b751317022c/dmg-Ch-29.pdf#page=124
- title: Decision Makers' Guide chapter 29, paras. 29662-29664
href: https://assets.publishing.service.gov.uk/media/69d8f3a496c86b751317022c/dmg-Ch-29.pdf#page=135
- title: Decision Makers' Guide chapter 29, para. 29671
href: https://assets.publishing.service.gov.uk/media/69d8f3a496c86b751317022c/dmg-Ch-29.pdf#page=137
- title: Decision Makers' Guide chapter 29, paras. 29681 and 29685
- title: Decision Makers' Guide chapter 29, paras. 29680-29681 and 29685
href: https://assets.publishing.service.gov.uk/media/69d8f3a496c86b751317022c/dmg-Ch-29.pdf#page=139
values:
1996-10-07:
- owned_land
- other_residential_property_value
- non_residential_property_value
- share_like_capital
- share_like_capital_with_sale_expenses
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ description: >
at their cash value, without a generic cash sale-cost deduction.
Where the data tie a cash ISA or stocks and shares ISA balance to a member,
the formulas count it through `person_sources` in the holder's own benefit
unit and subtract it from `cash_isa` or `share_like_capital` before they
unit and subtract it from `cash_isa` or
`share_like_capital_without_sale_expenses` before they
allocate the rest.
Model variables currently mapped to countable income-based Jobseeker's
Allowance capital. The Jobseeker's Allowance Regulations 1996 treat capital
Expand All @@ -12,7 +13,9 @@ description: >
directly, the share-like sources, `other_residential_property_value` for
residential property other than the home, and
`non_residential_property_value` for other land and premises.
`share_like_capital` is `corporate_wealth` as supplied, or the sum of its
`share_like_capital_with_sale_expenses` and
`share_like_capital_without_sale_expenses` split `share_like_capital`, which
is `corporate_wealth` as supplied, or the sum of its
itemised components (`directly_held_shares`, `unit_and_investment_trusts`,
`stocks_and_shares_isa`) where they exceed it beyond float32 rounding (see
`share_like_capital`), so a household given only the components has them
Expand Down Expand Up @@ -45,6 +48,7 @@ values:
- savings
- cash_isa
- owned_land
- share_like_capital
- share_like_capital_with_sale_expenses
- share_like_capital_without_sale_expenses
- other_residential_property_value
- non_residential_property_value
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@ description: >
child owns a junior ISA's investments (Individual Savings Account
Regulations 1998 reg. 4(6)(a) and reg. 2B(c)). In the ordinary calculation,
the formula subtracts each bounded ISA balance from its household source
(`cash_isa`, `share_like_capital`) and counts it in the holder's unit. For a
(`cash_isa`, `share_like_capital_without_sale_expenses`) and counts it in the holder's
unit. For a
family on a passporting benefit, or at pension age on a guarantee credit,
the formula returns zero capital, and for a savings-credit-only award it
uses the Pension Credit capital assessment. When a household's balances
Expand Down
Loading
Loading