Commit graph

1274 commits

Author SHA1 Message Date
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
a4b259959f set defaults 2026-02-13 13:35:05 +00:00
581f0ad49f uudi needs to be str 2026-02-13 12:57:36 +00:00
Khalim Conn-Kowlessar
7237ad5a79 bug fixed for 0 target gain where infinity was being selected 2026-02-13 12:40:07 +00:00
0dbc5f985c wrong subtask id being sent 2026-02-13 12:37:53 +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
8152dc5166 deploy with new address2uprn handling 2026-02-13 11:15:15 +00:00
1814c5988c run on sqs 2026-02-13 11:05:05 +00:00
Daniel Roth
561594a6ca consistent use of Tuple 2026-02-13 09:45:15 +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
0f4c1c0029 only in docker build 2026-02-12 18:52:11 +00:00
bf7b8d87e5 add docker file and specify lambda images 2026-02-12 18:20:28 +00:00
df141e4122 post code splitter main py 2026-02-12 18:08:00 +00:00
dac676f538 don't bombard yet 2026-02-12 18:05:29 +00:00
d07fc351a5 added permission to add 2026-02-12 18:04:27 +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
4325bdf990 get rid of local is true to remove suspicion 2026-02-12 16:05:16 +00:00
Daniel Roth
080000123f cater for goal_value being NULL 🟥 2026-02-12 15:40:03 +00:00
1c2b1422fe running 1983 2026-02-12 15:24:38 +00:00
c4e30a0d56 made tests pass and redploy 2026-02-12 15:11:36 +00:00
c2f29e86df made tests pass and redploy 2026-02-12 15:11:20 +00:00
Daniel Roth
70fd417c4a Check whether plan with EPC goal is compliant 🟥 2026-02-12 15:04:02 +00:00
3bdd4a4a97 test first with just 5 2026-02-12 15:03:38 +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
958ab72e0a deploy to main with new policy 2026-02-12 12:24:47 +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