Commit graph

3 commits

Author SHA1 Message Date
Khalim Conn-Kowlessar
37745939b3 Resolve Calico UPRNs from the address-matched S3 CSV lookup
Calico Asset References don't match our landlord_property_id, so the runner now
resolves UPRNs from the address-matched CSV (UprnLookupS3) uploaded to S3, not
the property-table PropertyUprnLookup. run_calico_load accepts any UprnLookup
(null_uprn count applies only to the property-table lookup). Adds a dry_run
option to reconcile without writing.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 16:22:53 +00:00
Khalim Conn-Kowlessar
773869ada4 Run a Calico load end to end and return its reconciliation 🟩
run_calico_load ties parse -> map -> persist together: it resolves references to
UPRNs, drops blank/unmatched rows, persists the roof-covering surveys with
export-year-anchored renewal years, and returns the four-count LoadReport.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 15:13:33 +00:00
Khalim Conn-Kowlessar
a6a48dd337 Run a Calico load end to end and return its reconciliation 🟥
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
2026-07-13 15:13:06 +00:00