mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-07-12 13:29:04 +00:00
A landlord glazing split like "4% Double glazing 2002 or later, 96% Single Glazing" is a near-uniform *single*-glazing dwelling, but the LLM classifier latched onto the 4% minority and wrote a "Double glazing…" override — over- crediting the dwelling. glazing_mix_guard rescued genuine mixes (no type >= 90%) to MIXED but returned None for near-uniform splits, trusting the LLM to have applied the dominant type. It hadn't. Single glazing is era-free, so a dominant-single split is fully determined: the guard now returns SINGLE for it (dominant double/triple still carry era ambiguity, so they stay the LLM's job — the existing "96% double" case still defers). Adds a portfolio-scoped backfill (reuses the same guard, so it can't drift from the live path) and applied it to portfolio 796 (Hyde): 115 glazing overrides corrected from a spurious Double back to Single. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| addresses | ||
| billing | ||
| data_transformation | ||
| elmhurst | ||
| epc | ||
| epc_prediction | ||
| fuel_rates | ||
| geospatial | ||
| magicplan | ||
| modelling | ||
| property | ||
| property_baseline | ||
| sap10_calculator | ||
| sap10_ml | ||
| tasks | ||
| building_geometry.py | ||
| postcode.py | ||