import json,re,sys
from pathlib import Path
p=Path(__file__).parent
data=json.loads((p/'input.json').read_text())
expected=json.loads((p/'expected.json').read_text())
config=json.loads((p/'config.json').read_text())
assert config['_material_kind']=='field-and-fixture-lesson-not-importable-workflow'
assert expected['_evidence']=='human-authored-expected-output-not-live-run'
ids=[r['page_no'] for r in data['pages']]; out=[r['page_no'] for r in expected['pages']]; assert len(set(out))==len(out); assert sorted(ids)==sorted(out); assert expected['missing_pages']==[]; assert config['Batch Size']==1 and config['Reset'] is False
print('PASS: fixture and expected contract; no product or model execution')
