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'
text=data['document']['text']; assert '顶部按钮' in text and '三档' in text; assert expected['cases'][2]['should_cite'] is False; assert expected['cases'][2]['expected_fact']=='本资料未提供'
print('PASS: fixture and expected contract; no product or model execution')
