Commit graph

598 commits

Author SHA1 Message Date
c2640a91fc Merge github.com:Hestia-Homes/Model into feautre/postcode_splitter_address_uprn_automator_2000 2026-02-16 12:44:25 +00:00
Daniel Roth
e6c0feaf1c remove unused import 2026-02-16 09:12:55 +00:00
Daniel Roth
bd9e553e35 bulk update of plans 2026-02-13 14:50:48 +00:00
Daniel Roth
16386173af get update_plan working 2026-02-13 13:39:38 +00:00
a4b259959f set defaults 2026-02-13 13:35:05 +00:00
Daniel Roth
e0e50d696a fixes so it runs (as far as the database update), plus some temp prints 2026-02-13 12:26:31 +00:00
Daniel Roth
61d9e64e1b also update scenario when updating plan 2026-02-13 09:44:35 +00:00
Daniel Roth
f34a6269f7 Move updating of is_default to domain rather than database layer 2026-02-13 09:39:25 +00:00
Daniel Roth
4b07310d6b define database methods 2026-02-12 17:36:47 +00:00
Daniel Roth
857d7e3da1 Check whether plan with EPC goal is compliant 🟪 2026-02-12 16:10:11 +00:00
Daniel Roth
bf0fce8ca5 Check whether plan with EPC goal is compliant (and change goal_value back to required)🟩 2026-02-12 16:08:37 +00:00
Daniel Roth
080000123f cater for goal_value being NULL 🟥 2026-02-12 15:40:03 +00:00
Daniel Roth
70fd417c4a Check whether plan with EPC goal is compliant 🟥 2026-02-12 15:04:02 +00:00
Daniel Roth
f955184260 refactor processor 2026-02-12 14:25:35 +00:00
Daniel Roth
4ddb5592f3 give classes immutable records to protect udpating 2026-02-12 12:58:44 +00:00
Daniel Roth
a0515ea3bb correct import path following move of domain 2026-02-12 12:45:17 +00:00
Daniel Roth
80cd44c97a move domain into app directory 2026-02-12 12:44:42 +00:00
Daniel Roth
7c88e22424 Define Plan and Scenario domain classes 2026-02-12 12:31:37 +00:00
Daniel Roth
b3fa7c3051 rename Plan and Scenario to PlanModel and ScenarioModel 2026-02-12 12:01:39 +00:00
Daniel Roth
73607a5117 sqlalchemy 2.0 typing in scenario 2026-02-12 11:08:35 +00:00
Daniel Roth
e7f941d5e4 use sqlalchemy 2.0 typing in recommendations , and write processing logic 2026-02-12 10:00:47 +00:00
Daniel Roth
598a612b40 define db methods 2026-02-12 09:23:47 +00:00
6bd31bb2ae get rid of condition lambda 2026-02-10 17:10:43 +00:00
1a0d463e2e missing init.py 2026-02-09 23:07:51 +00:00
Khalim Conn-Kowlessar
294c12fe4c handling env permissions for local vs test environments and debugging handling of primary roof 2026-02-09 16:30:40 +00:00
68a95d0296 merged peters code 2026-02-05 17:46:23 +00:00
Daniel Roth
d83d73c129 Local postgres within devcontainer, plus fixes so data loads into db 2026-01-29 16:11:16 +00:00
Daniel Roth
364b30569f Merge branch 'main' into feature/conditions-database-write 2026-01-29 12:27:33 +00:00
Jun-te Kim
535e5befb5
Merge pull request #694 from Hestia-Homes/feature/address_to_uprn
Feature/address to uprn
2026-01-29 12:21:20 +00:00
Daniel Roth
32555640c9 Load surveys to database as part of processing 2026-01-29 12:15:52 +00:00
Daniel Roth
691762216c Merge branch 'main' into feature/conditions-database-write 2026-01-29 09:35:47 +00:00
Daniel Roth
47b416e5cb map survey to model 🟥 2026-01-28 18:06:18 +00:00
Daniel Roth
4ad200ea76 define models and bulk insert function 2026-01-28 15:01:10 +00:00
d5f4799675 added seperate devcontainer so i can SAL and backend work 2026-01-28 14:24:29 +00:00
1468150a49 save 2026-01-27 22:31:37 +00:00
1acf4f4d6a peabody 2026-01-27 18:52:51 +00:00
Khalim Conn-Kowlessar
64eb2e2f20 added in basic process for sloping ceiling 2026-01-26 17:49:56 +00:00
d5c9fd9390 its working the way khalim wanted wiht postcode and then search that 2026-01-22 15:17:13 +00:00
Khalim Conn-Kowlessar
ef7490fe44 fixed typing bug 2026-01-10 22:56:30 +00:00
Khalim Conn-Kowlessar
3fe102c385 added rebaselining for installed measures 2026-01-10 18:52:26 +00:00
Khalim Conn-Kowlessar
808a5122ee added re-baselining to the property model 2026-01-10 14:59:46 +00:00
Khalim Conn-Kowlessar
ef942ef18a allow double glazing if no restrictions but confirmed performance of secondary glazing 2026-01-10 11:40:49 +00:00
Khalim Conn-Kowlessar
fb6fca8966 added additional loggging into engine 2026-01-08 12:18:40 +00:00
Khalim Conn-Kowlessar
b2d07cfd7c preparing the already installed code for Peabody 2026-01-07 20:40:37 +00:00
Khalim Conn-Kowlessar
8803feec5e added enforce fabric first option 2026-01-05 19:34:05 +00:00
Khalim Conn-Kowlessar
13ba6c0159 added missing heating 2026-01-05 18:36:07 +00:00
Khalim Conn-Kowlessar
3fc1e69e50 debugging some failed runs 2026-01-02 17:39:48 +08:00
Khalim Conn-Kowlessar
860645e30e handling db bug for trigger api 2026-01-01 14:02:09 +08:00
Khalim Conn-Kowlessar
f06676f15a completed database upload refactor 2025-12-22 18:46:19 +08:00
Khalim Conn-Kowlessar
c503da05a7 debugging property duplicated uprns 2025-12-22 17:10:39 +08:00