Various changes
This commit is contained in:
parent
a42591c701
commit
c388059f68
19 changed files with 1373 additions and 87 deletions
|
|
@ -598,9 +598,114 @@ pub static FEATURE_GROUPS: &[FeatureGroup] = &[
|
|||
},
|
||||
],
|
||||
},
|
||||
FeatureGroup {
|
||||
name: "Council Tax",
|
||||
features: &[
|
||||
FeatureConfig {
|
||||
name: "Council tax (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Exact annual council tax based on the property's actual band",
|
||||
detail: "Annual council tax for this property based on its actual VOA council tax band and the local authority's 2025-26 rates. Only available where the property's band was successfully matched from the VOA valuation list. For a dwelling occupied by two adults, including adult social care and parish precepts.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band A (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band A property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band A dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band A covers properties valued up to £40,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 6/9.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band B (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band B property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band B dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band B covers properties valued £40,001-£52,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 7/9.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band C (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band C property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band C dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band C covers properties valued £52,001-£68,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 8/9.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band D (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band D property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band D dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band D covers properties valued £68,001-£88,000 at 1 April 1991 and is the standard reference band used for national comparisons. Includes adult social care and parish precepts.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band E (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band E property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band E dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band E covers properties valued £88,001-£120,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 11/9.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band F (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band F property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band F dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band F covers properties valued £120,001-£160,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 13/9.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band G (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band G property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band G dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band G covers properties valued £160,001-£320,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 15/9.",
|
||||
source: "council-tax",
|
||||
},
|
||||
FeatureConfig {
|
||||
name: "Council tax Band H (£/yr)",
|
||||
bounds: Bounds::Percentile {
|
||||
low: 2.0,
|
||||
high: 98.0,
|
||||
},
|
||||
step: 10.0,
|
||||
description: "Annual council tax for a Band H property (2-adult dwelling)",
|
||||
detail: "Council tax for a Band H dwelling occupied by two adults in the local authority area, for financial year 2025-26. Band H covers properties valued above £320,000 at 1 April 1991. Includes adult social care and parish precepts. The ratio to Band D is 18/9 (double Band D).",
|
||||
source: "council-tax",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
pub static ENUM_FEATURE_GROUPS: &[EnumFeatureGroup] = &[EnumFeatureGroup {
|
||||
pub static ENUM_FEATURE_GROUPS: &[EnumFeatureGroup] = &[
|
||||
EnumFeatureGroup {
|
||||
name: "Property",
|
||||
features: &[
|
||||
EnumFeatureConfig {
|
||||
|
|
@ -639,7 +744,20 @@ pub static ENUM_FEATURE_GROUPS: &[EnumFeatureGroup] = &[EnumFeatureGroup {
|
|||
source: "epc",
|
||||
},
|
||||
],
|
||||
}];
|
||||
},
|
||||
EnumFeatureGroup {
|
||||
name: "Council Tax",
|
||||
features: &[
|
||||
EnumFeatureConfig {
|
||||
name: "Council tax band",
|
||||
order: Some(&["A", "B", "C", "D", "E", "F", "G", "H"]),
|
||||
description: "VOA council tax valuation band (A-H)",
|
||||
detail: "The council tax band assigned by the Valuation Office Agency based on the estimated open market value of the property at 1 April 1991. Band A (up to £40k) to Band H (over £320k). Matched from the VOA valuation list by address within postcode.",
|
||||
source: "council-tax",
|
||||
},
|
||||
],
|
||||
},
|
||||
];
|
||||
|
||||
/// Flat ordered list of all numeric feature names (follows group order).
|
||||
pub fn all_numeric_feature_names() -> Vec<&'static str> {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue