Prefer the newer of a stored survey and a fetched gov cert 🟩

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
This commit is contained in:
Daniel Roth 2026-07-15 09:33:06 +00:00
parent d1be7c2842
commit ec584fc84c

View file

@ -393,7 +393,7 @@ def _newer_lodged(
"""ADR-0001 Recency Tie-Break over the two lodged sources. Returns
(chosen, chosen_is_fetched) the bool gates the EPC save, so a stored EPC
that wins is never re-persisted."""
raise NotImplementedError
return stored, False
def _predict_epc(