Commit graph

1184 commits

Author SHA1 Message Date
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
c31ad577a6 define class methods to construct domain classes from sqlalchemy models 2026-02-12 12:44:18 +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
Daniel Roth
e0857ab7a2 Merge branch 'main' into feature/automate-categorisation-of-works 2026-02-11 17:23:04 +00:00
Daniel Roth
9faba4af42 set up postgres class 2026-02-11 17:22:00 +00:00
Khalim Conn-Kowlessar
866166c022 handle typing error for addreses class 2026-02-11 12:41:37 +00:00
Daniel Roth
c67e4644e4 define processor and local runner 2026-02-10 18:11:50 +00:00
Daniel Roth
b2f1190066 create categorisation directory 2026-02-10 17:45:49 +00:00
Khalim Conn-Kowlessar
ea239db2b7 changing ref to backend 2026-02-10 14:39:25 +00:00
Khalim Conn-Kowlessar
abc300b406 merged 2026-02-10 14:31:28 +00:00
Khalim Conn-Kowlessar
50256d4cff Merge branch 'main' of https://github.com/Hestia-Homes/Model into debugging-ara-runs 2026-02-10 14:31:19 +00:00
Daniel Roth
ab442cfd88
Merge pull request #698 from Hestia-Homes/deploy-condition-processor
Deploy condition processor
2026-02-10 14:30:59 +00:00
Daniel Roth
549eef19db remove token from dockerfile, and add example json payloads 2026-02-10 11:13:31 +00:00
Daniel Roth
df6c42933a do the database write 2026-02-10 09:59:23 +00:00
Daniel Roth
da34b99251 tidy up logs further 2026-02-10 09:43:55 +00:00
Daniel Roth
d4b444f49b Fix bad log 2026-02-10 09:43:18 +00:00
Daniel Roth
d0847681c1 tidy up logs 2026-02-10 09:42:29 +00:00
Daniel Roth
06539a787d use streaming mode in openpyxl for peabody parser 2026-02-10 09:30:39 +00:00
Daniel Roth
c0534d9546 more logs 2026-02-10 09:16:52 +00:00
Daniel Roth
b026a7ae9e log db session but dont write to db 2026-02-10 09:02:44 +00:00
Khalim Conn-Kowlessar
35ed1491fe handling 'unknown' fuel type 2026-02-09 18:04:09 +00:00
Daniel Roth
cd0ae37d40 more logging 2026-02-09 17:18:45 +00:00
Daniel Roth
9b6f99929e add logging 2026-02-09 17:00:59 +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
Daniel Roth
68b12c7344 trigger rebuild and deploy 2026-02-09 12:49:32 +00:00
Khalim Conn-Kowlessar
bff54a9063 added read me with repo overview and todos 2026-02-09 11:49:32 +00:00
Daniel Roth
e1835b2cfa remove duplicates from .env.local 2026-02-09 10:16:18 +00:00
Daniel Roth
0e4da14673 get lookup file bucket and key from payload per message 2026-02-09 09:56:41 +00:00
Daniel Roth
9a9ea9fbaa remove unused bits of config 2026-02-09 09:36:41 +00:00
Khalim Conn-Kowlessar
bf34393ceb Updated factory to return instantiated class 2026-02-09 08:03:44 +00:00
Khalim Conn-Kowlessar
c34ed0bbe0 fixed imports on unit tests for parity onboarding 2026-02-07 21:29:07 +00:00
Khalim Conn-Kowlessar
7bb7972549 fixed merge conflicts with main 2026-02-07 21:19:40 +00:00
Daniel Roth
f033b144c2 including environment in vars not environment_vars 2026-02-06 16:04:57 +00:00
Daniel Roth
807d94ca3c test again with limited imports 2026-02-06 13:34:08 +00:00
Daniel Roth
04bc8a1407 include psycopg2 2026-02-06 11:51:31 +00:00
Daniel Roth
3445060ef2 check db user value 2026-02-06 11:46:58 +00:00
Daniel Roth
9ae81c1099 reinstate build args and check whether imports work now 2026-02-06 11:39:53 +00:00
Daniel Roth
f10951f81d try without build args 2026-02-06 11:24:00 +00:00
Daniel Roth
b8283abc45 try getting all db vars from github secrets 2026-02-06 11:16:34 +00:00
Daniel Roth
02a0e83a39 correct variable name 2026-02-05 17:28:16 +00:00
Daniel Roth
b42996a3c8 try dev_DB_HOST 2026-02-05 17:25:17 +00:00
Khalim Conn-Kowlessar
df2c8e9735 formatting 2026-02-05 17:02:12 +00:00