Commit graph

44 commits

Author SHA1 Message Date
Daniel Roth
476c9f9c7a fix broken tests 2026-02-04 14:59:16 +00:00
Daniel Roth
62906f6023 get file type from request body 2026-02-04 14:29:43 +00:00
Daniel Roth
cd24804ca2 Optionally inject uprn lookup into parser 🟩 2026-02-04 12:14:42 +00:00
Daniel Roth
2a908491b3 tweak classes and test 2026-02-04 11:51:40 +00:00
Daniel Roth
03a0ad238c Generate property reference to uprn map from csv bytes 🟩 2026-02-04 11:28:41 +00:00
Daniel Roth
b143169659 Generate property reference to uprn map from csv bytes 🟥 2026-02-04 11:23:30 +00:00
Daniel Roth
f253bbbf8b optionally inject uprn lookup into parser method, for testing purposes 🟩 2026-01-30 09:32:34 +00:00
Daniel Roth
c1d480b87d map survey to model 🟩 2026-01-29 09:33:34 +00:00
Daniel Roth
47b416e5cb map survey to model 🟥 2026-01-28 18:06:18 +00:00
Daniel Roth
803484defd Map lbwf data to new structure 🟩 2026-01-27 15:59:06 +00:00
Daniel Roth
d6112f3dc8 Map lbwf data to new structure 🟥 2026-01-27 15:20:13 +00:00
Daniel Roth
a0fa676230 Map peabody data to new structure 🟥 2026-01-27 13:53:09 +00:00
Daniel Roth
6a2bb26bae Redefine conditions data structures. Mapping tests broken 2026-01-27 13:29:06 +00:00
Daniel Roth
9509306e3d Add aspect instance to asset condition and modify how peabody walls are mapped 🟥 2026-01-27 13:08:35 +00:00
Daniel Roth
cfc73d8f90 fix broken test 2026-01-26 17:07:22 +00:00
Daniel Roth
2d77511650 Map remaining Peabody EXTERNAL elements 2026-01-23 17:11:11 +00:00
Daniel Roth
42cfcf604c Extra test case, and note unhandled elements 2026-01-23 14:52:52 +00:00
Daniel Roth
d480339ba6 Map to dataclasses from Peabody objects 🟥 2026-01-23 12:09:19 +00:00
Daniel Roth
212d62e835 Map to new dataclasses from LBWF objects 🟩 2026-01-22 16:28:10 +00:00
Daniel Roth
fa72d16239 small tidies 2026-01-22 15:21:31 +00:00
Daniel Roth
03fb727994 Remodel dataclasses map from LBWF objects 🟥 2026-01-22 15:00:58 +00:00
Daniel Roth
3289dc226d Rename Element to LbwfElement 2026-01-22 13:28:51 +00:00
Daniel Roth
a7201b0dc4 Start writing peabody mapper. Now rethink model before continuing 2026-01-22 12:20:17 +00:00
Daniel Roth
3cdc871aae Detect block-level asset conditions - additional test cases 🟥 2026-01-22 09:23:01 +00:00
Daniel Roth
f8db0cadba Ignore block level assets during parsing 2026-01-22 09:15:37 +00:00
Daniel Roth
187d7fbadd Detect block-level asset conditions - additional test cases 🟥 2026-01-22 09:06:05 +00:00
Daniel Roth
a07020d085 Detect block-level asset conditions 🟥 2026-01-21 17:33:14 +00:00
Daniel Roth
d43d9d9069 Parse Peabody condition data xlsx 🟥 2026-01-21 15:13:17 +00:00
Daniel Roth
7bd70ae001 include install_date on AssetCondition 🟥 2026-01-21 12:36:35 +00:00
Daniel Roth
dfe0460155 Pass survey year to mapper rather than using today's year 2026-01-21 12:14:16 +00:00
Daniel Roth
fc08a7df4f Map LbwfHouse to AssetCondition list 🟩 2026-01-21 11:01:25 +00:00
Daniel Roth
c8abc19e59 Map LbwfHouse to AssetCondition list 🟥 2026-01-20 17:18:51 +00:00
Daniel Roth
7846f9c949 Adjust EPC column name to correctly include trailing space 2026-01-20 10:34:09 +00:00
Daniel Roth
e11f59a732 Parse Houses sheet as well 🟩 2026-01-20 09:53:01 +00:00
Daniel Roth
dce8442fff Parse Houses sheet as well 🟥 2026-01-20 09:34:23 +00:00
Daniel Roth
13daa62bdf map correct uprn when parsing asset conditions 🟩 2026-01-19 16:51:18 +00:00
Daniel Roth
330580c775 map correct uprn when parsing asset conditions 🟥 2026-01-19 16:32:16 +00:00
Daniel Roth
6ff652ff34 parse lbwf houses 🟩 2026-01-19 16:23:11 +00:00
Daniel Roth
ee54ca648e Merge branch 'feature/condition-data' of github.com:Hestia-Homes/Model into feature/condition-data 2026-01-19 14:51:49 +00:00
Daniel Roth
60f3f0c222 parse lbwf houses 🟥 2026-01-19 14:50:05 +00:00
Daniel Roth
00a707500e parse lbwf houses 🟥 2026-01-19 14:40:35 +00:00
Daniel Roth
049a93fa26 Create FileType enum 🟪 2026-01-19 11:47:32 +00:00
Daniel Roth
9244689e76 Parser factory raises value error on unknown file path 🟥 2026-01-19 11:17:15 +00:00
Daniel Roth
c073a4cb43 Parser factory chooses parser class based on filepath 🟥 2026-01-19 11:08:30 +00:00