Commit graph

3618 commits

Author SHA1 Message Date
Daniel Roth
5680defa59 add concurrency to categorisation lambda 2026-02-24 17:35:41 +00:00
Daniel Roth
eea435d641 get fast api app running locally 2026-02-24 17:08:21 +00:00
Daniel Roth
5c9a8b55f2 revert temp changes to config.py 2026-02-24 16:10:53 +00:00
Daniel Roth
b9640d1894 delete commented out lines from dockerfile 2026-02-24 16:10:10 +00:00
Daniel Roth
1c8be836ab FIx imports in dockerfile 2026-02-24 16:00:12 +00:00
Daniel Roth
0788831916 Merge branch 'main' into feature/categorisation-work-distributor 2026-02-24 15:29:02 +00:00
Daniel Roth
2ffd09bdd2 update subtask when processor completes 2026-02-24 15:28:18 +00:00
Daniel Roth
76b648c861 implement trigger_categorisation API 2026-02-24 14:33:29 +00:00
Jun-te Kim
90af1b156e
Merge pull request #745 from Hestia-Homes/bug/incorrect-secondary-heating
Handling cases where ventilation sap is zero
2026-02-24 10:55:13 +00:00
Daniel Roth
5646376d1e pass min and max IDs to consider to processor and db functions 2026-02-24 09:59:42 +00:00
Khalim Conn-Kowlessar
b14c81fa83 allow slightly negative impact on cost savings 2026-02-24 00:32:03 +00:00
Khalim Conn-Kowlessar
40f3c36dbb adding further tests for filtering phase adjustments 2026-02-23 23:26:41 +00:00
Daniel Roth
2a4fb23f5f Define new plan route and modify trigger request object 2026-02-23 17:40:06 +00:00
KhalimCK
cda31420e8
Merge pull request #744 from Hestia-Homes/bug/plans-not-hitting-c
Bug/plans not hitting c
2026-02-23 15:45:00 +00:00
Khalim Conn-Kowlessar
9dda6fb434 fixed test and variable renames in function 2026-02-23 15:33:32 +00:00
Khalim Conn-Kowlessar
694717bd34 addressing Dan's feedback 2026-02-23 14:14:07 +00:00
Khalim Conn-Kowlessar
73928c67c5 added future todo for measure types 2026-02-23 13:37:17 +00:00
Khalim Conn-Kowlessar
84aef79735 Added tests for checking ventilation 2026-02-23 13:35:31 +00:00
Daniel Roth
aa9cb58e0b
Merge pull request #742 from Hestia-Homes/bug/correctly-map-name-to-plan-model
Add name to Plan record and include in mapping between domain and ORM Model
2026-02-23 13:07:30 +00:00
Daniel Roth
c514ef53dc Add name to plan record and include in mapping 2026-02-23 13:03:03 +00:00
Khalim Conn-Kowlessar
5305643991 pass needs ventilation to optimiser functon' 2026-02-23 12:44:42 +00:00
Daniel Roth
f79a17a056
Merge pull request #740 from Hestia-Homes/categorisation-return-newest-plans-for-given-scenario
Only get most recently added plans for scenario
2026-02-23 11:48:22 +00:00
Daniel Roth
31cfa47d8f dont worry about default scenarios 2026-02-20 17:10:53 +00:00
Daniel Roth
325e7f65e0 make sure Plan object is instantiated correctly. Additional logging 2026-02-20 16:13:30 +00:00
Daniel Roth
96fbd7f24c ensure all defaults are unset before setting new ones, refactor of processor 2026-02-20 15:26:40 +00:00
Daniel Roth
ec01e1d190 only get most recently added plans for scenario 2026-02-20 13:39:07 +00:00
Daniel Roth
1119eb24bc
Merge pull request #738 from Hestia-Homes/bug/categorisation-failure
Handle categorisation when all plans have zero cost
2026-02-20 12:04:09 +00:00
Daniel Roth
fdc7fc1d32 Merge branch 'main' into bug/categorisation-failure 2026-02-20 11:36:09 +00:00
Daniel Roth
ce94fb0573 handle some plans having zero cost 🟩 2026-02-20 11:35:12 +00:00
Daniel Roth
678de56def handle some plans having zero cost 🟥 2026-02-20 11:24:17 +00:00
Daniel Roth
e0626c4d3e
Merge pull request #735 from Hestia-Homes/bug/categorisation-failure
Handle categorisation when all plans have zero cost
2026-02-20 10:52:06 +00:00
Daniel Roth
b4583d3c8b put test portfolio back in local runner 2026-02-20 10:42:03 +00:00
Daniel Roth
481bd1197a put test portfolio back into invoke lambda script 2026-02-20 10:40:33 +00:00
Daniel Roth
47de308bf3 reformatting 2026-02-20 10:39:16 +00:00
Daniel Roth
cb55338f39 handle all plans having null cost 🟩 2026-02-20 10:38:29 +00:00
Daniel Roth
0e279b15ce handle all plans having zero cost 🟩 2026-02-20 10:36:22 +00:00
Daniel Roth
a8d3ce599d handle all plans having zero cost 🟥 2026-02-20 10:11:31 +00:00
Daniel Roth
6dcb4d1d92 additional logging 2026-02-19 17:03:40 +00:00
Daniel Roth
c2715e6c80
Merge pull request #731 from Hestia-Homes/feature/categorisation-improvements
Categorisation of works improvements
2026-02-19 14:55:04 +00:00
Daniel Roth
63bef436d0 do batch update per portfolio not per property 2026-02-19 12:44:41 +00:00
Daniel Roth
9d12eef0e5 Remove unused db functions 2026-02-19 12:22:19 +00:00
Daniel Roth
dae74d2f8b Fix bug where default plans were not being unset if they weren't included in scenarios to be considered 2026-02-19 12:18:22 +00:00
Daniel Roth
b715a60d4a typo in log 2026-02-19 09:25:55 +00:00
Daniel Roth
d957c18c62 Merge branch 'main' into feature/categorisation-improvements 2026-02-19 08:58:43 +00:00
KhalimCK
61e9fb28be
Merge pull request #728 from Hestia-Homes/bug/plan-with-budget-more-expensive
Bug/plan with budget more expensive
2026-02-18 17:50:21 +00:00
Khalim Conn-Kowlessar
627d4c1c18 Merge branch 'main' of https://github.com/Hestia-Homes/Model into bug/plan-with-budget-more-expensive
# Conflicts:
#	asset_list/app.py
2026-02-18 17:44:29 +00:00
Khalim Conn-Kowlessar
0e10923353 addressing feedback 2026-02-18 17:39:40 +00:00
Daniel Roth
5ffa729078 rename variable in invoke local lambda 2026-02-18 17:35:31 +00:00
Daniel Roth
c1aa5716be priority list is scenarios not plans 🟩 2026-02-18 17:26:22 +00:00
Daniel Roth
ce8c1d23e6 priority list is scenarios not plans 🟥 2026-02-18 17:24:17 +00:00