from pathlib import Path
import json
R=Path(__file__).resolve().parent
cases=json.loads((R/'fixtures/cases.json').read_text(encoding='utf-8'))['cases']
assert len(cases)==8
ids=[c['id'] for c in cases]
assert len(set(ids))==8
for c in cases:
    assert c['event_id'].startswith('evt-')
    assert isinstance(c['delivery_attempt'],int) and c['delivery_attempt']>=1
    assert isinstance(c['evidence_complete'],bool)
print('PASS: 8 deterministic synthetic fixtures loaded')
