research(rectification): holdout v5 — event cutoff rule in protocol and schema test

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_017eEAG8HD3mm8gsKXgk8uU8
This commit is contained in:
Jesse_Chen
2026-09-29 19:52:43 +08:00
co-authored by Claude Fable 5.1
parent 8ceb94da02
commit 54e63fe46e
2 changed files with 3 additions and 0 deletions
+2
View File
@@ -108,6 +108,8 @@ def test_events_domains_dates_and_precision(v5: dict) -> None:
assert event["id"] not in seen
seen.add(event["id"])
assert int(str(event["date"])[:4]) >= int(case["birth"]["date"][:4]), event["id"]
# replay harnesses evaluate at 2026-09-14; the scoring contract rejects later events
assert str(event["date"])[:4] < "2026" or (event["precision"] != "year" and str(event["date"]) <= "2026-09-14"), event["id"]
def test_strata_and_summary_agree(v5: dict) -> None: