mirror of
https://github.com/Hestia-Homes/Model.git
synced 2026-06-08 11:17:27 +00:00
The first cut of elmhurst_input_sheet.py introspected the `schema` dataclasses (rdsap_schema_*.py) but the mapper emits the `epc_property_data` domain types, whose fields differ (wall_thickness_mm not wall_thickness; total_floor_area_m2 not total_floor_area; frame_material not pvc_frame; cylinder_insulation_thickness_mm; SapRoomInRoof has gable_*_length_m not insulation/roof_room_connected). Worse, the getattr-with-None-default helper printed None over real data, nearly sending a debug session chasing a non-existent "dimensions dropped" mapper bug on cert 2100 (the dims map fine; that cert's error is elsewhere). Switched to direct attribute access so a future rename fails loudly, fixed every field name against the live domain objects, and added roof_construction_type / floor_type for context. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| analyse_api_sap_clusters.py | ||
| download_cotality_evidence.py | ||
| elmhurst_input_sheet.py | ||
| eval_api_sap_accuracy.py | ||
| fetch_2026_epc_sample.py | ||
| fetch_cohort2_api_jsons.py | ||
| historic_epc_demo.py | ||
| init_db.py | ||
| rename_sharepoint_files.py | ||
| sero_address_list.csv | ||