test(ttp): E.2.1b evidence shape — TypedDict keys, PII §6 type-level assertion

This commit is contained in:
2026-05-01 06:45:35 -04:00
parent c3a799726f
commit e6f1da2344
2 changed files with 175 additions and 0 deletions

View File

@@ -2495,6 +2495,10 @@ time / xfail-flip at impl time" discipline above applies to
**E.2.1b — Evidence shape contract** (`tests/ttp/test_evidence_shape.py`)
**Status:** ✅ done (positive case + negative TypeError-propagation
case parked behind `xfail(strict=True)` until E.3.x lifter impl
lands; PII rule §6 type assertion is GREEN today).
- For each lifter, parametrize over a synthetic event matched by
one of its rules. Assert the `evidence` dict on the emitted tag
is structurally compatible with the corresponding `TypedDict`