run_anonymous_record_decompression_032.py VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 2 summary={'test':'ANONYMOUS-RECORD-DECOMPRESSION-032','paired_queries':len(p),'both_witness_top1_hits':l en(valid),'deduplicated_physical_records':len(rec),'mean_multiset_jaccard':obs,'mean_ordered_lcs_ratio': float(rec.ordered_lcs_ratio.mean()) if len(rec) else 0,'pairing_permutation_p':pv,'promoted_anonymous_re cords':promoted,'promotion_minimum_records':5,'boundary':'Page-specific anonymous record contents; payload symbols are not plaintext words or semantic glosses.'};(OUT/'summary.json').write_text(json.dump s(summary,indent=2)) report=['# ANONYMOUS-RECORD-DECOMPRESSION-032','',('**PASS — ANONYMOUS RECORD LEDGER PROMOTED**' if promoted else '**PROVISIONAL — BELOW FIVE-RECORD PROMOTION FLOOR**'),'','The confirmed vertical-band decoder selected one prose line per label without using key identity. Only queries whose selected line independently contained the key in both ZL and GC were retained. Repeated keys pointing to the same physical line were collapsed before inference.','',f"- Paired queries: {len(p)}",f"- Both-witness top-1 query hits: {len(valid)}",f"- Deduplicated physical records: {len(rec)}",f"- Mean residual multiset Jaccard: {obs:.4f}",f"- Mean ordered LCS ratio: {summary['mean_ordered_lcs_ratio']:.4f}",f"- Cross-record pairing permutation p: {pv:.6f}",'','## Boundary','','These are anonymous, page-specific decompressed records—not translated sentences. Repeated atoms are structural concepts/operators whose linguistic values remain unknown.','', '## Rule audit','',('CORE PRESERVATION, EDGE HANDOFF, and REGISTER SHIFT are jointly strengthened. Six rules remain.' if promoted else 'The geometry result remains promoted through Test 031; the content ledger stays provisional. Six rules remain.')] (OUT/'report.md').write_text('\n'.join(report));files=sorted(q for q in OUT.iterdir() if q.is_file() and q.name!='SHA256SUMS.txt');(OUT/'SHA256SUMS.txt').write_text('\n'.join(f'{hashlib.sha256(q.read_bytes ()).hexdigest()} {q.name}' for q in files)+'\n');print(json.dumps(summary,indent=2)) if __name__=='__main__':main()