Khalim Conn-Kowlessar
883028c89e
P6.1 follow-on: unbox BuildingPartIdentifier at backend boundaries
...
Threads the strict BuildingPartIdentifier type (introduced in a8b443f6 )
through the two remaining backend touchpoints:
- EpcBuildingPartModel.from_*: SQLModel column expects a string, so
unbox the enum with .identifier.value before binding to the DB.
- documents_parser end-to-end tests: swap bare-string equality
("main" / "extension_1") for identity checks against the enum
members (BuildingPartIdentifier.MAIN / EXTENSION_1).
Documents_parser test pack passes (105/105). No dedicated SQLModel test
covers EpcBuildingPartModel.from_*; the .value line is exercised
transitively via db_writer.py / local_runner.py in production.
Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-05-20 09:58:23 +00:00
Daniel Roth
78da2f88b6
Handle wall thickness "Unmeasurable" 🟩
2026-04-30 16:41:16 +00:00
Daniel Roth
6c70c5a535
Extract address when Property photo element is missing from PDF 🟩
2026-04-30 16:25:41 +00:00
Daniel Roth
51bd18e0d7
Rename window frame material column 🟩
2026-04-27 16:11:32 +00:00
Daniel Roth
8f94bb5435
extract window frame details from elmhurst site notes 🟥
2026-04-27 15:50:25 +00:00
Daniel Roth
9571ed608c
map elmhurst window transmission details to epc property data class 🟥
2026-04-27 14:13:02 +00:00
Daniel Roth
00821c5c23
map elmhurst energy fields to epc property data class 🟥
2026-04-27 12:15:28 +00:00
Daniel Roth
444eaa0c06
extract energy fields from elmhurst site notes 🟥
2026-04-27 12:10:40 +00:00
Daniel Roth
b36c8b884c
map remaining Elmhurst fields to EpcPropertyData 🟩
2026-04-24 15:33:59 +00:00
Daniel Roth
15ae46ec92
Map Elmhurst site notes to EpcPropertyData 🟥
2026-04-24 13:37:21 +00:00
Daniel Roth
f61add9544
Extract Elmhurst site notes to dataclass 🟩
2026-04-24 13:32:08 +00:00
Daniel Roth
1a53a8d83e
Extract Elmhurst site notes to dataclass 🟥
2026-04-24 13:13:24 +00:00
Daniel Roth
a8579db4d9
elmhurst site notes fixture
2026-04-24 13:09:30 +00:00
Daniel Roth
e15646c341
rename example site notes to PasHub_ and add Elmhurst example
2026-04-24 13:01:51 +00:00
Daniel Roth
691d6f04a8
extend EpcPropertyData domain model with site-notes-only fields 🟩
2026-04-23 14:50:41 +00:00
Daniel Roth
146b5999dc
additional fields mapped from pdf 6 🟩
2026-04-23 11:23:29 +00:00
Daniel Roth
2bf8bc6d5e
additional fields mapped from pdf 5 🟩
2026-04-23 11:12:25 +00:00
Daniel Roth
c5c3f3fc83
additional fields mapped from pdf 4 🟥
2026-04-23 10:36:15 +00:00
Daniel Roth
0a1ba404ad
map electric storage heater fuel type 🟥
2026-04-21 15:34:34 +00:00
Daniel Roth
5bd4e22886
map pv connection 🟥
2026-04-21 15:31:01 +00:00
Daniel Roth
0e69f8e7a5
extract cylinder thermostat 🟥
2026-04-21 15:16:49 +00:00
Daniel Roth
22893e8645
map heating immersion type 🟥
2026-04-21 15:11:31 +00:00
Daniel Roth
691efcad72
extracy heating immersion type 🟥
2026-04-21 15:07:18 +00:00
Daniel Roth
7700aac5bb
extract cylinder thermostat 🟥
2026-04-21 15:03:12 +00:00
Daniel Roth
f43a4d20eb
map secondary heating system to secondary_heating_type 🟥
2026-04-21 11:51:14 +00:00
Daniel Roth
1e0d72a805
extract secondary heating system 🟥
2026-04-21 11:47:35 +00:00
Daniel Roth
c558b79b68
map water heating cylinder size 🟥
2026-04-21 11:13:04 +00:00
Daniel Roth
b64c9d275f
Rename cylinder_insulation_thickness to cylinder_insulation_thickness_mm
2026-04-21 11:06:21 +00:00
Daniel Roth
0e30d81fe1
map water heating cylinder thickness 🟥
2026-04-21 11:01:01 +00:00
Daniel Roth
da26e4a4cb
extract no extensions 🟥
2026-04-21 10:53:14 +00:00
Daniel Roth
6b4a8dfef1
extract water heating cylinder thickness alternative field name 🟩
2026-04-21 10:45:56 +00:00
Daniel Roth
ac854f161a
extract water heating cylinder thickness 🟥
2026-04-21 10:40:07 +00:00
Daniel Roth
5945c31de5
Popualte shower outlets 🟥
2026-04-20 13:15:24 +00:00
Daniel Roth
b9bb580ebd
Get building part roof insulation information from Roof Space section 🟥
2026-04-20 12:58:19 +00:00
Daniel Roth
78773ca633
Get floor number from floor name 🟥
2026-04-20 12:50:30 +00:00
Daniel Roth
0a8b9e0767
Include inspection metadata in output
2026-04-20 09:04:54 +00:00
Daniel Roth
968f025bc3
inspection date is date not str
2026-04-20 08:17:01 +00:00
Daniel Roth
c271caf378
refactor full extract test
2026-04-20 08:11:58 +00:00
Daniel Roth
1ef6af6bab
pdf json to RdSapSiteNotes full extract 🟥
2026-04-20 08:08:37 +00:00
Daniel Roth
bc527a039f
site notes pdf to json 🟥
2026-04-16 14:45:28 +00:00
Daniel Roth
47cae167c8
Load Conservatories, Renewables, RoomCountElements, WaterUse, CustomerReponse, SurveyAddendum from SiteNotes JSON 🟥
2026-04-16 14:30:15 +00:00
Daniel Roth
4bcdb4823b
Load Ventilation from SiteNotes JSON 🟥
2026-04-16 14:24:11 +00:00
Daniel Roth
29f9a664a5
Load HeatingAndHotWater from SiteNotes JSON 🟥
2026-04-16 14:19:01 +00:00
Daniel Roth
4a415ab4a2
Load Windows from SiteNotes JSON 🟥
2026-04-16 14:15:11 +00:00
Daniel Roth
3960998fee
Load RoofSpace from SiteNotes JSON 🟥
2026-04-16 14:11:44 +00:00
Daniel Roth
2ed741df5c
Load BuildingMeasurements from SiteNotes JSON 🟥
2026-04-16 14:08:20 +00:00
Daniel Roth
101860fac1
Load BuildingConstruction from SiteNotes JSON 🟥
2026-04-16 14:01:05 +00:00
Daniel Roth
1db9c68878
Map to RdSapSiteNotes from site notes JSON: additional General test 🟩
2026-04-16 13:57:49 +00:00
Daniel Roth
bb648b8223
Map to RdSapSiteNotes from site notes JSON 🟩
2026-04-16 13:56:27 +00:00
Daniel Roth
4f3c7894ae
Map to RdSapSiteNotes from site notes JSON 🟥
2026-04-16 13:54:03 +00:00