Khalim Conn-Kowlessar
0ffda529ec
slice 15a: add wall/floor/roof + demand scalar features for retrofit simulation
...
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>
2026-05-16 22:08:27 +00:00
Jun-te Kim
27b5602608
remove pandas
2026-05-13 15:08:06 +00:00
Jun-te Kim
51460d1cd3
route at th ebeginnign
2026-05-13 14:47:24 +00:00
Jun-te Kim
54864bf102
resolve merge conflict
2026-05-13 14:22:04 +00:00
Jun-te Kim
2fb6a99956
throttle added
2026-05-13 14:02:36 +00:00
Jun-te Kim
ff4ad07a2b
retry
2026-05-13 11:41:21 +00:00
Jun-te Kim
c347865b9e
retry
2026-05-13 09:34:51 +00:00
Khalim Conn-Kowlessar
566c70077a
removing redundant code
2026-05-13 08:40:51 +00:00
Khalim Conn-Kowlessar
3fd7321337
remove comment
2026-05-13 08:40:51 +00:00
Jun-te Kim
3bcb94f9e5
Merge branch 'main' into feature/integrate_new_epc_with_historical_epc
2026-05-13 08:38:50 +00:00
Jun-te Kim
09dbfe2106
fix dependency issue
2026-05-12 17:03:16 +00:00
Jun-te Kim
e458f0a2b7
task and sub tasks imrpvoed
2026-05-12 16:24:11 +00:00
Jun-te Kim
dfc100f78b
rank address similiarity
2026-05-12 16:02:01 +00:00
Daniel Roth
5f77fbf4e4
Fetch all pages in get_plans pagination loop 🟪
2026-05-12 14:54:14 +00:00
Daniel Roth
0d324f99b2
Fetch all pages in get_plans pagination loop 🟩
2026-05-12 14:52:46 +00:00
Daniel Roth
6dfca082f8
Fetch all pages in get_plans pagination loop 🟥
2026-05-12 14:52:31 +00:00
Daniel Roth
f83ddd05a8
Paginate get_plans to return flat list[PlanSummary] 🟩
2026-05-12 14:46:00 +00:00
Daniel Roth
62acc3ce98
Paginate get_plans to return flat list[PlanSummary] 🟥
2026-05-12 14:45:09 +00:00
Daniel Roth
8727a78f8b
correct magic plan url paths 🟩
2026-05-12 14:33:58 +00:00
Daniel Roth
beaf21fdcc
correct magic plan url paths
2026-05-12 14:32:37 +00:00
Daniel Roth
75d0313934
fix broken magicplan handler tests
2026-05-12 14:14:37 +00:00
Daniel Roth
04df924146
fix local invoker
2026-05-12 14:13:12 +00:00
Jun-te Kim
8b27a5173b
fix typo for rate limit error
2026-05-12 14:05:30 +00:00
Daniel Roth
3df726937e
Remove unused _api_key instance variable now auth is fully header-based 🟪
2026-05-12 14:03:07 +00:00
Daniel Roth
eb381a778c
_fetch_plan() sends no API key query parameter 🟩
2026-05-12 14:02:17 +00:00
Daniel Roth
7752039dbd
_fetch_plan() sends no API key query parameter 🟥
2026-05-12 14:01:40 +00:00
Daniel Roth
20b32bcda0
get_plans() sends no API key query parameter 🟩
2026-05-12 14:01:35 +00:00
Daniel Roth
ffcff33dd4
get_plans() sends no API key query parameter 🟥
2026-05-12 14:00:07 +00:00
Daniel Roth
d59bf2d7cb
Set API key as session header on MagicPlanClient construction 🟩
2026-05-12 13:59:33 +00:00
Daniel Roth
da4f5f44c0
Set API key as session header on MagicPlanClient construction 🟥
2026-05-12 13:58:16 +00:00
Daniel Roth
a672c0dea0
add localhandler for testing and update requirements
2026-05-12 13:51:46 +00:00
Jun-te Kim
27f2ef5e83
get rid of duplicate function and make better sensible variable name
2026-05-12 13:46:02 +00:00
Jun-te Kim
b0e935d497
make sensible naming for column for address column in df
2026-05-12 13:43:12 +00:00
Jun-te Kim
46ec68e5db
save match building number
2026-05-12 13:41:59 +00:00
Jun-te Kim
5cd21d8522
get rid of khalim's json
2026-05-12 12:55:50 +00:00
Jun-te Kim
35d191c70e
merged from main and resolved pytest.ini confict
2026-05-12 12:54:28 +00:00
Jun-te Kim
18ea95b67d
added env variables for boto
2026-05-12 12:34:17 +00:00
Jun-te Kim
35fea20fc7
changed function name
2026-05-12 10:54:45 +00:00
Jun-te Kim
bec5c4f3c3
one place to have df_has_single_uprn
2026-05-12 10:51:27 +00:00
Jun-te Kim
b364df89ad
forgot to add tuple typing
2026-05-12 10:31:54 +00:00
Jun-te Kim
f52fe001cc
renamed file
2026-05-12 10:14:16 +00:00
Jun-te Kim
8635e2a1aa
change file name of epc client service
2026-05-12 10:08:00 +00:00
Jun-te Kim
2c5c8337cc
added more type hints
2026-05-12 10:01:25 +00:00
Jun-te Kim
e06ead55d0
add more type hint
2026-05-12 09:48:21 +00:00
Jun-te Kim
b72d5fbf42
fix nitpick
2026-05-12 09:43:40 +00:00
Jun-te Kim
c22528299c
added type hinting to uprn
2026-05-12 09:40:12 +00:00
Jun-te Kim
5edae06a65
added imports at the top of the file instead of function
2026-05-12 09:37:23 +00:00
Daniel Roth
9501146ec8
Replace new-deal MagicPlan trigger to use outcome=="surveyed" 🟪
2026-05-12 08:59:32 +00:00
Daniel Roth
f0300eb8ff
Replace new-deal MagicPlan trigger to use outcome=="surveyed" 🟥
2026-05-12 08:57:24 +00:00
Jun-te Kim
1934c889b0
refactored test to deal with flats better
2026-05-11 16:23:03 +00:00