Model/tests/fixtures/epc_prediction/CV78UG
Khalim Conn-Kowlessar 008c1922c4 feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030)
The committed gate needs frozen, reproducible data without dumping real UK
addresses into the repo. Add:
- harness anonymise_payload + stable_hash: hash street address + cert number
  into opaque, dedup-stable tokens; blank secondary address lines + post_town;
  keep postcode + all component/lodged fields (gov data is OGL). Unit-tested.
- scripts/build_epc_prediction_fixture.py: curate qualifying postcodes (>=1
  SAP 10.2 target + >=2 distinct addresses) from the local scratch corpus,
  anonymise, freeze under tests/fixtures/epc_prediction/.
- The frozen fixture: 15 postcodes / 280 certs / 36 SAP-10.2 targets.
  Verified no plaintext address_line_1 and post_town all blank.

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-06-14 09:17:27 +00:00
..
cert-2e6f5943059a.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-7d9beea6555e.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-9b4787ad7813.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-9c0b5437b98b.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-91dd248e55ee.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-0246fdfa9718.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-924d78d64f06.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-89894e90fc9c.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-94454d5d782e.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-aef738e4b1c0.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-ba51394914cf.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-cd99c8b93a27.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00
cert-e8197b1db767.json feat(epc-prediction): anonymised Tier-1 fixture + builder (ADR-0030) 2026-06-14 09:17:27 +00:00