from pathlib import Path import json,subprocess,sys,os,hashlib p=Path(__file__).parent.resolve();os.chdir(p) for n,s in json.loads((p/'source-bundle.json').read_text()).items(): f=p/n;f.parent.mkdir(parents=True,exist_ok=True);f.write_text(s) for n in ['probe.py','verify_full_rows.py']:subprocess.run([sys.executable,n],check=True) print(json.dumps({n:hashlib.sha256((p/n).read_bytes()).hexdigest() for n in ['probe.json','original.out','fixed.out','verification.out','coverage-checks.json']},sort_keys=True))