This commit is contained in:
Andras Schmelczer 2026-05-06 22:40:46 +01:00
parent 28323f145e
commit 94f9c0d594
76 changed files with 3238 additions and 1230 deletions

View file

@ -412,7 +412,7 @@ pub static FEATURE_GROUPS: &[FeatureGroup] = &[
name: "Deprivation",
features: &[
Feature::Numeric(FeatureConfig {
name: "Income Score (rate)",
name: "Income Score",
bounds: Bounds::Fixed { min: 0.0, max: 1.0 },
step: 0.01,
description: "Income deprivation rate, inverted (higher = less deprived)",
@ -424,7 +424,7 @@ pub static FEATURE_GROUPS: &[FeatureGroup] = &[
absolute: false,
}),
Feature::Numeric(FeatureConfig {
name: "Employment Score (rate)",
name: "Employment Score",
bounds: Bounds::Fixed { min: 0.0, max: 1.0 },
step: 0.01,
description: "Employment deprivation rate, inverted (higher = less deprived)",
@ -451,22 +451,7 @@ pub static FEATURE_GROUPS: &[FeatureGroup] = &[
absolute: false,
}),
Feature::Numeric(FeatureConfig {
name: "Living Environment Score",
bounds: Bounds::Percentile {
low: 2.0,
high: 98.0,
},
step: 0.1,
description: "Quality of the local indoor and outdoor environment (higher = better)",
detail: "From the English Indices of Deprivation (inverted so higher = better). Combines housing quality (condition, central heating) and outdoor environment (air quality, road safety). Higher scores indicate better living environments.",
source: "iod",
prefix: "",
suffix: "",
raw: false,
absolute: false,
}),
Feature::Numeric(FeatureConfig {
name: "Indoors Sub-domain Score",
name: "Housing Conditions Score",
bounds: Bounds::Percentile {
low: 2.0,
high: 98.0,
@ -481,7 +466,7 @@ pub static FEATURE_GROUPS: &[FeatureGroup] = &[
absolute: false,
}),
Feature::Numeric(FeatureConfig {
name: "Outdoors Sub-domain Score",
name: "Air Quality and Road Safety Score",
bounds: Bounds::Percentile {
low: 2.0,
high: 98.0,