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'
def valid(args):return all(k in args and type(args[k]) is int for k in data['schema']['required'])
assert [valid(x['arguments']) for x in data['cases']]==[True,False,False]; assert data['cases'][0]['arguments']['a']+data['cases'][0]['arguments']['b']==expected['valid_result']; assert expected['business_data_changed'] is False
print('PASS: fixture and expected contract; no product or model execution')
