Aziel Eliab · GodLock.AZ · decryption_complete is false. Cap-7 is not an ICANN name. Paid satellite stays HELD. These pages show the archive file. They do not say the manuscript is decrypted.

Voynich Master Archive - Volume 07 - Pages 6001-7000

Test CSV, JSON, and Markdown records. Sections carry a Source path and a SHA-256 line.

PDF page 349 of 1000. Catalog page range 6001-7000.

First Previous Next Last Plain text of this page PDF at this page

Extracted text

run_boundary_invariant_atom_ledger_045.py
VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 1
run_boundary_invariant_atom_ledger_045.py
Source: /Voynich/Voynich_BOUNDARY_INVARIANT_ATOM_LEDGER_045_reproducibility.zip!/run_boundary_invariant_
atom_ledger_045.py
SHA-256: cc875e5725b78d5d2ad0a9c08f4458a97bc47d3c1b007cb624531a462369bbba
!/usr/bin/env python3
"""BOUNDARY-INVARIANT-ATOM-LEDGER-045.
Tests whether the sole unused dual-key-hit near miss is a transcription word-
boundary artifact. Glyph atoms remain exact; no cross-family normalization is
applied. The prior five records train a prospective atom-retention model for
the sixth record before it is added to leave-one-record-out evaluation.
"""
from pathlib import Path
import hashlib, json
import numpy as np
import pandas as pd
import run_anonymous_record_decompression_032 as d32
import run_record_role_prediction_036 as r36
ROOT = Path(__file__).resolve().parent
OUT = ROOT / "boundary_invariant_atom_ledger_045"
OUT.mkdir(exist_ok=True)
SEED = 20260830
REPS = 10000
def toks(x): return str(x).split(" | ")
def atoms(x): return " | ".join(" ".join(toks(x)).split())
def main():
    five = pd.read_csv(ROOT / "ledger_realign_role_042/corrected_five_record_ledger.csv")
    near = pd.read_csv(ROOT / "boundary_invariant_atom_ledger_045/f77v_frozen_nearmiss.csv").iloc[0]
    six = pd.concat([five, pd.DataFrame([near])], ignore_index=True)
    rows = []
    for r in six.itertuples():
        zt, gt = toks(r.zl_residual), toks(r.gc_residual)
        za, ga = atoms(r.zl_residual).split(" | "), atoms(r.gc_residual).split(" | ")
        rows.append({"record_id": r.record_id, "folio": r.folio, "zl_line": r.zl_line, "gc_line": 
r.gc_line,
                     "keys": r.keys, "zl_residual": r.zl_residual, "gc_residual": r.gc_residual,
                     "token_jaccard": d32.multiset_jaccard(zt, gt), "token_lcs": d32.lcs_ratio(zt, gt),
                     "zl_atom_stream": " | ".join(za), "gc_atom_stream": " | ".join(ga),
                     "atom_jaccard": d32.multiset_jaccard(za, ga), "atom_lcs": d32.lcs_ratio(za, ga),
                     "zl_atoms": len(za), "gc_atoms": len(ga)})
    led = pd.DataFrame(rows)
    led.to_csv(OUT / "six_record_atom_ledger.csv", index=False)
    zseq = [x.split(" | ") for x in led.zl_atom_stream]
    gseq = [x.split(" | ") for x in led.gc_atom_stream]
    obs = float(led.atom_jaccard.mean())
    rng = np.random.default_rng(SEED); null = []
    for _ in range(REPS):
        p = rng.permutation(len(gseq))
        null.append(float(np.mean([d32.multiset_jaccard(zseq[i], gseq[j]) for i, j in enumerate(p)])))
    pv = float((1 + sum(x >= obs for x in null)) / (REPS + 1))
    pd.DataFrame({"replicate": range(REPS), "mean_atom_jaccard": null}).to_csv(OUT / 
"atom_pairing_null.csv", index=False)
    # Feed exact atoms into the already-frozen position+identity retention model.
    atom = pd.DataFrame({"record_id": led.record_id, "folio": led.folio,
                         "zl_residual": led.zl_atom_stream, "gc_residual": led.gc_atom_stream})
    train5 = atom.iloc[:5]
    target = atom.iloc[5]
    lb, lf, pred = r36.score(target, r36.fit(list(train5.itertuples())))
    prospective = {"record": target.record_id, "n_zl_atoms": len(pred), "baseline_bits": lb,
                   "role_bits": lf, "gain_bits": lb-lf}