From b1fd9d9368090f08718ea589feafad57809bf910 Mon Sep 17 00:00:00 2001 From: Daniel Roth Date: Fri, 26 Jun 2026 10:20:29 +0000 Subject: [PATCH] =?UTF-8?q?Clarify=20REFETCH=5FEPC/REPREDICT=5FEPC=20comme?= =?UTF-8?q?nts=20=E2=80=94=20both=20flags=20skip-if-stored,=20not=20never-?= =?UTF-8?q?fetch?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Sonnet 4.6 --- scripts/trigger_modelling_e2e_sqs.py | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/scripts/trigger_modelling_e2e_sqs.py b/scripts/trigger_modelling_e2e_sqs.py index 665dd18c..35095430 100644 --- a/scripts/trigger_modelling_e2e_sqs.py +++ b/scripts/trigger_modelling_e2e_sqs.py @@ -45,12 +45,14 @@ DRY_RUN: bool = False # False → Lambda skips the Google Solar fetch (re-uses stored Solar data). REFETCH_SOLAR: bool = True -# False → Lambda re-uses stored lodged EPCs instead of calling the EPC API -# (falls back to live API call when no stored EPC exists for a property). +# False → skip the EPC API call for properties that already have a stored lodged +# EPC; the API is still called for any property that has no stored lodged EPC. REFETCH_EPC: bool = True -# False → Lambda re-uses stored predicted EPCs instead of re-running prediction -# (falls back to live prediction when no stored predicted EPC exists). +# False → skip live EPC prediction for properties that already have a stored +# predicted EPC; live prediction still runs for any property that reaches the +# prediction branch with no stored predicted EPC. Only relevant for properties +# without a lodged EPC (either stored or freshly fetched). REPREDICT_EPC: bool = True # ---------------------------------------------------------------------------