run_bandwidth_maxstat_040.py VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 2 passed,'boundary':'Selection-corrected anonymous band retrieval; no plaintext or semantics.'};(OUT/'summary.json').write_text(json.dumps(summary,indent=2)) report=['# BANDWIDTH-MAXSTAT-040','',('**PASS — SIXTH RECORD PROMOTED**' if passed else '**FAIL / NOT PROMOTED**'),'','Band widths 1-5 were tested as one family. The globally selected width was charged against each witness\'s maximum null gain across all widths.','',f"- Selected width: {selected}",f"- ZL gain / max-stat p: {obs['ZL'][selected]:+.4f} / {p['ZL']:.6f}",f"- GC gain / max-stat p: {obs['GC'][selected]:+.4f} / {p['GC']:.6f}",f"- Candidate new records: {len(nd)}",f"- Promoted ledger records: {len(expanded)}",'','## Rule audit','',('EDGE HANDOFF strengthens to a selection-corrected band window; six rules remain.' if passed else 'No rule change; six remain.')] (OUT/'report.md').write_text('\n'.join(report));files=sorted(x for x in OUT.iterdir() if x.is_file() and x.name!='SHA256SUMS.txt');(OUT/'SHA256SUMS.txt').write_text('\n'.join(f'{hashlib.sha256(x.read_bytes ()).hexdigest()} {x.name}' for x in files)+'\n');print(json.dumps(summary,indent=2)) if __name__=='__main__':main()