mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
15 new features wired through schema -> domain -> mapper -> transform:
Main Dwelling fabric (11):
- wall_insulation_type, wall_insulation_thickness_mm, wall_dry_lined,
wall_thickness_mm, party_wall_construction
- roof_insulation_location, roof_insulation_thickness_mm
- floor_construction, floor_insulation, floor_insulation_thickness_mm,
floor_heat_loss
Dwelling-level scalars (4):
- multiple_glazed_proportion, number_baths, number_baths_wwhrs,
extract_fans_count
Thickness strings like '50mm'/'NI'/'ND' parsed via _parse_thickness_mm; NI
(no insulation) lands as 0mm so the model sees the physical zero rather than
a missing value. Categorical sentinels ('NA'/'NI'/'ND') become None.
Also fixed long-standing typo `multiple_glazed_propertion` -> `_proportion`
in domain dataclass + its lone DB-model usage.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
|
||
|---|---|---|
| .. | ||
| tests | ||
| addresses.py | ||
| bulk_address_uploads.py | ||
| condition.py | ||
| energy_assessments.py | ||
| epc.py | ||
| epc_property.py | ||
| funding.py | ||
| hubspot_deal_data.py | ||
| hubspot_user.py | ||
| inspections.py | ||
| magic_plan.py | ||
| materials.py | ||
| non_intrusive_surveys.py | ||
| organisation.py | ||
| portfolio.py | ||
| postcode_search.py | ||
| recommendations.py | ||
| solar.py | ||
| tasks.py | ||
| uploaded_file.py | ||
| users.py | ||
| whlg.py | ||