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 324 of 1000. Catalog page range 6001-7000.
Extracted text
run_blind_role_image_bridge_044.py
VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 3
for k in common:
z, g = q["ZL"][k], q["GC"][k]
jac = d32.multiset_jaccard(z["residual"], g["residual"]); lcs = d32.lcs_ratio(z["residual"],
g["residual"])
# This is a record-domain bridge, not a new label-decompression claim:
# target qualification uses nearest-line geometry and transcription
# agreement only. Whether the label key recurs is retained for audit.
eligible = jac >= .5 and lcs >= .75 and b43.basefolio(k[0]) not in revealed | used
if eligible:
candidates.append({"folio": k[0], "label_line": k[1], "key": k[2], "zl_line":
z["selected_line"], "gc_line": g["selected_line"],
"zl_residual": " | ".join(z["residual"]), "gc_residual": " |
".join(g["residual"]),
"jaccard": jac, "lcs": lcs,
"zl_key_hit": int(z["hit"]), "gc_key_hit": int(g["hit"]),
"selection_hash": hashlib.sha256(f"{k[0]}|{k[1]}|{k[2]}".encode()).hexdig
est()})
cd = pd.DataFrame(candidates).sort_values("selection_hash")
cd.to_csv(OUT / "candidate_audit.csv", index=False)
target = cd.iloc[0].to_dict()
results, folds = [], []
for w in ("ZL", "GC"):
payloads = target[w.lower() + "_residual"].split(" | ")
ff, rr = train_and_predict(records(ev[w]), payloads, w); folds += ff; results.append(rr)
pd.DataFrame(folds).to_csv(OUT / "heldout_folds.csv", index=False)
agree = results[0]["prediction"] == results[1]["prediction"]
gate = agree and all(r["top_probability"] >= .35 and r["margin"] >= .10 for r in results)
frozen = {"test": "BLIND-ROLE-IMAGE-BRIDGE-044", "phase": "PREDICTION_FROZEN_NO_IMAGE_ACCESSED",
"selection_rule": "smallest SHA-256 rank among untouched nearest-line cross-witness
records with Jaccard>=0.50 and LCS>=0.75; key recurrence is not required",
"eligible_candidates": len(cd), "target": target, "models": results,
"frozen_gate": {"cross_witness_same_class": True, "minimum_top_probability_each": .35,
"minimum_margin_each": .10},
"prediction_gate_pass": bool(gate), "committed_prediction": results[0]["prediction"] if
gate else "UNRESOLVED_NO_REVEAL",
"allowed_visual_classes": CLASSES + ["TEXT_ONLY_OR_UNSCORABLE"],
"boundary": "Coarse record/illustration domain only; no glyph gloss, word, sentence, or
plaintext claim."}
raw = json.dumps(frozen, indent=2, sort_keys=True)
(OUT / "frozen_prediction.json").write_text(raw + "\n")
(OUT / "frozen_prediction.sha256").write_text(hashlib.sha256((raw + "\n").encode()).hexdigest() + "
frozen_prediction.json\n")
print(raw)
if __name__ == "__main__": main()