Commit graph

73 commits

Author SHA1 Message Date
Jun-te Kim
75e4989982 Add moto[s3,sqs] to devcontainer for S3/SQS orchestration tests
tests/orchestration/test_postcode_splitter_orchestrator.py imports
`from moto import mock_aws` (moto 5.x) but moto was absent, so the file
errored at collection. Pin moto[s3,sqs]==5.0.28 (S3+SQS are the only mocked
services); resolves cleanly against the boto3 1.35.44 and cryptography 43.0.3
pins. All 4 tests pass.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-23 16:00:07 +00:00
Jun-te Kim
1d392d8d87 ll overrides@ 2026-06-17 18:56:57 +00:00
Jun-te Kim
8abd5e8b54 better smoke tests to check what is failign 2026-06-17 11:53:33 +00:00
Jun-te Kim
4d14607e7e Add SAP-16.2 schema coverage + single-glazing fix; flat party-wall fix; pin 2 certs
SAP-Schema-16.2 (datatypes/epc/domain/mapper.py):
- 16.2 is structurally an RdSAP-17.1 cert under a different name; add
  _normalize_sap_schema_16_2 (field renames + defaults) and dispatch to the
  tested from_rdsap_schema_17_1 mapper. uprn_100020933699 maps → SAP 71.
- Honour a "Single glazed" windows description when multiple_glazing_type="ND"
  (was defaulting to double) → RdSAP-21 code 5; eng 72→71 (lodged 70).
- 4 regression tests + sap_16_2.json fixture; 0 new pyright errors.

Flat party-wall fix (domain/sap10_calculator/worksheet/heat_transmission.py):
- Full-SAP flats carry flatness in dwelling_type, not property_type, so the
  party-wall default fell through to the 0.25 house value instead of the RdSAP
  Table-15 flat 0.0. Add _is_flat_or_maisonette_dwelling fallback + regression
  test. uprn_10093116529 80→81 (matches the cert's lodged party u_value 0).

Accuracy corpus pins (tests/domain/sap10_calculator/test_real_cert_sap_accuracy.py):
- uprn_10093116543 (SAP-17.1 gas-combi semi): engine 81 (Elmhurst 77; documented
  full-SAP→RdSAP residual — measured wall/floor U + PCDB boiler vs RdSAP defaults).
- uprn_10093116529 (SAP-17.1 g/f flat): engine 81 (Elmhurst 78).

devcontainer: add poppler-utils (pdfinfo) for the documents-parser PDF fixtures.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 18:53:00 +00:00
Jun-te Kim
2f0eb49eee Checkpoint: UPRN 10093116543 Elmhurst build + devcontainer VNC/Playwright + perms
- Add SAP-accuracy sample for uprn_10093116543 (epc.json, elmhurst_inputs.md,
  summary/worksheet PDFs)
- Persist hyde viewer stack (xvfb/fluxbox/x11vnc/novnc/websockify) and Playwright
  chromium in the backend devcontainer; forward noVNC 6080
- Broaden .claude/settings.local.json allowlist (display/python/grep/tail)
- In-progress campaign mapper/cert_to_inputs work carried from prior cert

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-16 15:21:56 +00:00
Jun-te Kim
18ad879f00 devcontainer: use dynamic host ports so worktrees don't collide
Publish container ports without a fixed host side in the backend and
asset_list compose files, and switch forwardPorts to service-qualified
form. Lets a second worktree's devcontainer spin up without conflicting
on host 8000/5432 (backend) or 8081 (asset_list), matching the pattern
in assessment-model-sales-frontend.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-06-08 13:53:22 +00:00
Jun-te Kim
c9a9620527 pr review, move domain and orhcestration 2026-06-01 14:00:31 +00:00
Jun-te Kim
7635c800e6 added 0.0.7 2026-05-13 16:04:53 +00:00
Jun-te Kim
18ea95b67d added env variables for boto 2026-05-12 12:34:17 +00:00
Jun-te Kim
6504785e7c merged from main 2026-05-11 12:30:29 +00:00
Jun-te Kim
830d4ebb4b claude added from agentic-toolkit 2026-05-08 12:58:44 +00:00
Khalim Conn-Kowlessar
9ce1928b1e added new skills to repo and reduced size of dev container (Sorry Jun-te) 2026-04-25 20:28:43 +00:00
Khalim Conn-Kowlessar
f8d785411b setting up new claude dev instructions 2026-04-25 18:54:41 +00:00
Khalim Conn-Kowlessar
6d4942c013 adding to dev container to create shared network on start up 2026-04-25 15:03:07 +00:00
Daniel Roth
e406b11be8 Merge branch 'main' into feature/read-site-notes-pdf 2026-04-23 10:11:14 +00:00
Jun-te Kim
c4f6d77845 implemented onboarding 2026-04-21 20:23:33 +00:00
Daniel Roth
f9a5a60535 Merge branch 'main' into feature/read-site-notes-pdf 2026-04-21 09:56:47 +00:00
Jun-te Kim
7caa7c476a added bulk address uprn route 2026-04-20 13:06:31 +00:00
Daniel Roth
569f17d811 requirements 2026-04-20 07:46:21 +00:00
Daniel Roth
6ef0518c06 add caveman claude to dockerfile 2026-04-15 16:09:45 +00:00
Jun-te Kim
da3b753b46 merge conflicts resovled and reviweed my code 2026-03-30 17:09:41 +00:00
Jun-te Kim
a13ab09ab9 added sharepoint functionality for mr roth - enjoy 2026-03-24 13:36:47 +00:00
Daniel Roth
a146c7d82e go to pas hub with playwright 2026-03-19 16:45:53 +00:00
Jun-te Kim
76dbde602b added tests and hubspot client 2026-03-13 13:27:52 +00:00
Jun-te Kim
e9db66b6b4 added hubspot dependency to backend 2026-03-12 11:58:46 +00:00
Jun-te Kim
5b15cb5518 added __init__.py missing in ordancy survey and helpeer extensions 2026-03-10 12:39:27 +00:00
Jun-te Kim
41d817b218 added default 2026-03-10 11:31:40 +00:00
124a34597a save so i can run it from mealcraft 2026-03-09 12:15:22 +00:00
Jun-te Kim
f659718a7e resolved 2026-03-06 13:35:15 +00:00
KhalimCK
a6a113de88
Merge pull request #749 from Hestia-Homes/bug/plan-with-budget-more-expensive
Bug/plan with budget more expensive
2026-03-03 09:13:50 +00:00
Jun-te Kim
aaa1bdc077 added utils to allow easier subtask management 2026-03-02 15:15:39 +00:00
Khalim Conn-Kowlessar
8db3d29850 added postgres to docker & added to readme 2026-02-27 18:58:59 +00:00
Khalim Conn-Kowlessar
551e7beb74 added pytest-postgresql to dev container 2026-02-27 18:20:51 +00:00
Daniel Roth
432f050e69 trigger lambda and subtasks from api 2026-02-26 14:15:34 +00:00
Khalim Conn-Kowlessar
2e5ae82d3b added additional testing packages to dev container 2026-02-26 12:45:52 +00:00
Daniel Roth
2ffd09bdd2 update subtask when processor completes 2026-02-24 15:28:18 +00:00
dbba066ba5 remove docker as i don't need locally working workflows anymore 2026-02-16 12:51:56 +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
3bdd4a4a97 test first with just 5 2026-02-12 15:03:38 +00:00
Daniel Roth
2afccf944e add github actions back into devcontainer 2026-02-11 12:30:14 +00:00
Daniel Roth
6c242188b7 update devcontainer to mount to home directory 2026-02-11 11:57:59 +00:00
d4ac6aee71 mount home directory to devcontainer home directory 2026-02-11 11:50:02 +00:00
3f9e8b303c terraform destroy 2026-02-10 18:08:03 +00:00
Daniel Roth
71de7e9a86 add github workflow vscode extensions to devcontainer 2026-02-10 17:10:12 +00:00
Daniel Roth
8fb58ebe56 Merge branch 'main' into anchor-sal 2026-02-10 14:48:47 +00:00
Daniel Roth
fd9752b981 increase openpyxl version in sal devcontainer, and fix import path 2026-02-10 14:46:36 +00:00
47fce5f3f8 added postcode splittelr handler code 2026-02-09 11:35:00 +00:00
18396d9494 temporary script built 2026-02-06 15:45:25 +00:00
68a95d0296 merged peters code 2026-02-05 17:46:23 +00:00
0b67828665 save script 2026-02-03 23:23:57 +00:00