Voynich Complete Reproducibility Compendium - 2026-08-28 Page 2651 anchor_bits=r["anchor_bits"]) print(f"{name:12s} m={m:2d} {lang:14s} index={r['index']:.3f} " f"bits={r['test_bits']:.3f} scr={r['scrambled_bits']:.3f} " f"anchor={anchor:.3f}", flush=True) if __name__ == "__main__": lms = build_lms(LANGS) by_lang = voynich_lines_by_language() A_lines = by_lang.get("A", []) B_lines = by_lang.get("B", []) results = {} run_stream("voynich_A", A_lines, lms, [M_MAIN] + M_SENS, LANGS, results) run_stream("voynich_B", B_lines, lms, [M_MAIN] + M_SENS, LANGS, results) run_stream("ngram_ctl_B", ngram_generate(B_lines), lms, [M_MAIN], LANGS, results) run_stream("ngram_ctl_A", ngram_generate(A_lines), lms, [M_MAIN], LANGS, results) (OUT / "attack_results.json").write_text(json.dumps(results, indent=2, default=float)) print("done")