Commit graph

1308 commits

Author SHA1 Message Date
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
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
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
Daniel Roth
475b3d0e13 input is list of scenarios to consider not list of plans 2026-02-18 17:19:38 +00:00
Daniel Roth
490c8946d7 Unset existing default before setting new one 2026-02-18 17:11:00 +00:00
Daniel Roth
478947b8da move docker compose back to categorisation directory and define simple invoke script 2026-02-18 16:12:23 +00:00
Daniel Roth
b4e3dc9f42 add example request body 2026-02-18 15:19:36 +00:00
Daniel Roth
3f022ba548 rename service in docker compose 2026-02-18 15:13:24 +00:00
Daniel Roth
f7fe7132c7 docker compose for running lambdas locally 2026-02-18 15:12:24 +00:00
Daniel Roth
3dbe118b38 additional logs in handler for local testing 2026-02-18 13:29:16 +00:00
Daniel Roth
cc901d999b option to only consider a specific list of plans 2026-02-18 11:54:55 +00:00
Daniel Roth
bfb0d79da6 Cheapest compliant plan selected even when not in the priority list 🟩 2026-02-18 11:27:09 +00:00
Daniel Roth
b916551921 allow plan priority to be specified for plans with identical ouput 🟩 2026-02-18 11:20:08 +00:00
Daniel Roth
508f3f2859 make choose cheapest relevant plan method public as it's called from outside the module 2026-02-18 10:40:50 +00:00
Daniel Roth
9a177065b6 allow plan priority to be specified for plans with identical ouput 🟥 2026-02-18 10:06:40 +00:00
Daniel Roth
3a5df1a1f3 Better logging 2026-02-18 09:05:41 +00:00
Daniel Roth
fac418adbe Don't re-get scenarios for every plan 2026-02-17 15:25:51 +00:00
Daniel Roth
0218c169c2 missing import in dockerfile 2026-02-17 12:38:12 +00:00
Daniel Roth
36db25d5e4 hopefully the last missing import 2026-02-17 12:07:04 +00:00
Daniel Roth
f834d9497e undo typos 2026-02-17 11:55:57 +00:00
Daniel Roth
87e5d05936 revert accidental pushed changes 2026-02-17 11:46:51 +00:00
Daniel Roth
cb864c161f import entirity of backend/app/db 2026-02-17 11:45:50 +00:00
Daniel Roth
e0f133073b fix import errors 2026-02-17 11:12:10 +00:00
Daniel Roth
35f7738160 implement handler 2026-02-17 09:33:31 +00:00
12b9966982 send message to address2uprn 2026-02-16 14:16:57 +00:00
0a87ba786c local run stuff 2026-02-16 14:14:01 +00:00
4ca538ecb2 added commnets on script 2026-02-16 14:12:09 +00:00
61377497ff get rid of unneccsary variable declartion 2026-02-16 14:07:23 +00:00
ed8d562917 added logger and verbose 2026-02-16 13:49:49 +00:00
62a8f543f6 get rid of comments 2026-02-16 13:04:27 +00:00
c2640a91fc Merge github.com:Hestia-Homes/Model into feautre/postcode_splitter_address_uprn_automator_2000 2026-02-16 12:44:25 +00:00
c1f784b87f address 2uprn and postcode splitter works locally 2026-02-16 12:13:16 +00:00
Daniel Roth
68c3a20d0a typehint correction 2026-02-16 12:04:49 +00:00
Daniel Roth
b99fb686dd only write to db if is_default value has changed 2026-02-16 11:59:03 +00:00
Daniel Roth
3349edda89 initial definition of trigger request object 2026-02-16 10:03:07 +00:00
Daniel Roth
53cfd9ee8c start setting up lambda deployment code 2026-02-16 09:57:00 +00:00
Daniel Roth
e6c0feaf1c remove unused import 2026-02-16 09:12:55 +00:00
8e574c2401 post code splitter works 2026-02-13 18:30:47 +00:00
Daniel Roth
bd9e553e35 bulk update of plans 2026-02-13 14:50:48 +00:00
da79ccf759 just do 5 2026-02-13 14:08:09 +00:00
Daniel Roth
8e5016978e Merge branch 'main' into feature/automate-categorisation-of-works 2026-02-13 13:44:27 +00:00
Daniel Roth
16386173af get update_plan working 2026-02-13 13:39:38 +00:00