raw_edge_audit_025_count.py VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 2 lines=['# RAW-EDGE-AUDIT-025','',('**PASS**' if summary['pass'] else '**FAIL / NOT PROMOTED**'),'', 'A Dirichlet-regularized held-out count model tested whether the raw right-edge atom predicts the next raw left-edge atom beyond section, current left atom, payload ending/length, line position, and immediate repetition. No function glosses or illustrations entered selection.','', '## Results',''] for s in ss:lines += [f"### {s['witness']}",'',f"- Gain: {s['gain_bits']:+.6f} bits/transition",f"- Positive folio-held-out folds: {s['positive_folds']}/5",f"- Conditional permutation p: {s['permutation_p']:.6f}",f"- {s['n_transitions']} transitions across {s['n_folios']} folios",''] lines += ['## Cross-witness replication','',f"Raw transition-profile correlation: **r={corr:.6f}**.",'','## Rule audit','',('EDGE HANDOFF is independently strengthened in raw atom space. The result adds no seventh rule and supplies no word meanings.' if summary['pass'] else 'The six-rule ledger is unchanged.')] (OUT/'report.md').write_text('\n'.join(lines));files=sorted(p for p in OUT.iterdir() if p.is_file() and p.name!='SHA256SUMS.txt');(OUT/'SHA256SUMS.txt').write_text('\n'.join(f'{hashlib.sha256(p.read_bytes ()).hexdigest()} {p.name}' for p in files)+'\n');print(json.dumps(summary,indent=2)) if __name__=='__main__':main()