Model/tests/orchestration
Daniel Roth 84d0e1e0d5 Date an abandonment to the deal's own dates, not now() 🟩
date_abandoned now resolves to the third failed attempt's confirmed
survey date, falling back to its last submission date, rather than the
processing date. This dates the OpenHousing cancellation to when the
job actually lapsed even if the trigger message lags or redelivers.

- domain: abandonment_date() encodes the confirmed-survey -> last-
  submission fallback
- DealAbandonment carries both dates; abandon_job raises
  AbandonmentDateUnknownError when a deal has neither
- last_submission_date now flows through the trigger message and request
- the injected clock is dropped: nothing reads now() any more

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
2026-07-08 08:51:39 +00:00
..
audit_generator move spreadsheet population logic to domain 2026-06-09 14:43:24 +00:00
magic_plan UploadedFile, FileTypeEnum, FileSourceEnum importable from infrastructure.postgres.uploaded_file_table 🟩 2026-06-09 11:50:51 +00:00
__init__.py added postcode splitter rewrite to ddd 2026-05-19 16:35:09 +00:00
fakes.py An expired historic cert conditions ingestion's prediction and labels it 🟥 2026-07-06 08:34:54 +00:00
test_abri_orchestrator_abandon_job.py Date an abandonment to the deal's own dates, not now() 🟩 2026-07-08 08:51:39 +00:00
test_abri_orchestrator_amend_job.py Amending an appointment needs only the deal's changed date and time 🟪 2026-07-07 10:07:23 +00:00
test_abri_orchestrator_log_job.py A changed booking amends the deal's OpenHousing appointment 🟩 2026-07-07 10:01:01 +00:00
test_abri_orchestrator_tenant_data_sync.py A changed booking amends the deal's OpenHousing appointment 🟩 2026-07-07 10:01:01 +00:00
test_ara_first_run_pipeline.py feat(modelling): ModellingOrchestrator persists a Plan end-to-end (#1157) 2026-06-03 12:08:32 +00:00
test_ara_first_run_pipeline_integration.py Fix integration test: LPG solid-brick dwelling now correctly offered HHRSH (#1378) 2026-07-01 11:14:36 +00:00
test_build_canonical_filename.py move tests out of scripts/ 2026-06-15 11:11:08 +00:00
test_bulk_upload_finaliser_orchestrator.py feat(modelling): mark a Property as run via has_recommendations + updated_at 2026-06-16 23:34:33 +00:00
test_first_run_without_database.py feat(modelling): run_one console entrypoint for DB-less inspection 2026-06-04 08:14:14 +00:00
test_ingestion_orchestrator.py 17.1 and 18 done by claude 2026-06-12 12:52:36 +00:00
test_ingestion_prediction.py An expired historic cert conditions ingestion's prediction and labels it 🟥 2026-07-06 08:34:54 +00:00
test_landlord_description_overrides_orchestrator.py Group landlord property-override enums under domain/epc/property_overrides 🟪 2026-06-19 14:49:58 +00:00
test_modelling_heat_pump_sizing_threading.py The orchestrator threads the dwelling design heat loss into ASHP sizing 🟥 2026-07-03 10:31:57 +00:00
test_modelling_solar_threading.py feat(modelling): gate generation by the considered-measures allowlist 2026-06-16 14:56:09 +00:00
test_postcode_splitter_orchestrator.py updated rdsap option; seperated s3 location in infrastrucutre; added open ai api 2026-05-22 14:00:33 +00:00
test_property_baseline_orchestrator.py ASHP sizing targets the Appendix-N efficiency peak (realistic installed pump) 🟩 2026-07-03 11:02:13 +00:00
test_task_orchestrator.py Test names state the surviving failure-recovery behaviors 🟪 2026-07-07 11:12:12 +00:00