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 152 of 1000. Catalog page range 6001-7000.
Extracted text
run_libro_voynich_audited_023.py
VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 2
types];obs=js(lp,vp)
null=[js(lp,[vc[wit][x]/total for x in perm]) for perm in itertools.permutations(types)]
p=(1+sum(x<=obs for x in null))/(1+len(null))
results.append({'witness':wit,'clean_libro_units':len(full),'js_divergence':obs,'permutation_p':p,
'crosswalk_rank':1+sum(x<obs for x in null),'permutations':len(null)})
Page-block bootstrap preserves local formula clustering and source imbalance.
by_page=defaultdict(list)
for r in full:by_page[int(r['page_index'])].append(r)
pages=sorted(by_page);rng=np.random.default_rng(20260829);boots=[]
for rep in range(1000):
sampled=[]
for p in rng.choice(pages,size=len(pages),replace=True):sampled.extend(by_page[int(p)])
cc=fractional_counts(sampled);tt=sum(cc.values());p1=[cc[t]/tt for t in TAGS]
row={'replicate':rep}
for wit in ('ZL','GC'):
total=sum(vc[wit].values());types=[MAP[t] for t in TAGS];o=js(p1,[vc[wit][x]/total for x in types])
null=[js(p1,[vc[wit][x]/total for x in perm]) for perm in itertools.permutations(types)]
row[wit+'_p']=(1+sum(x<=o for x in null))/(1+len(null));row[wit+'_js']=o
alt=js(p1,[vc[wit][ALT[t]]/total for t in TAGS]);row[wit+'_alt_js']=alt;row[wit+'_frozen_beats_alt']=i
nt(o<alt)
row['replicated_pass']=int(row['ZL_p']<.05 and row['GC_p']<.05);boots.append(row)
with (OUT/'page_block_bootstrap.csv').open('w',newline='') as f:w=csv.DictWriter(f,fieldnames=boots[0]);
w.writeheader();w.writerows(boots)
with (OUT/'audited_crosswalk_results.csv').open('w',newline='') as
f:w=csv.DictWriter(f,fieldnames=results[0]);w.writeheader();w.writerows(results)
br=sum(r['replicated_pass'] for r in boots)/len(boots)
frozen_win={wit:sum(r[wit+'_frozen_beats_alt'] for r in boots)/len(boots) for wit in ('ZL','GC')}
summary={'test':'LIBRO-VOYNICH-AUDITED-023','date':'2026-08-29','audit_n':len(audit),'audit_dispositions
':dict(audit_counts),
'accepted_audit_n':len(clean_audit),'accepted_audit_label_coverage':dict(audit_label_coverage),
'natural_candidates':803,'clean_full_units':len(full),'full_fractional_tag_counts':dict(fc),'crosswalk'
:MAP,
'witness_results':results,'best_alternative_crosswalk':ALT,'page_block_bootstrap_replicates':len(boots)
,'replicated_pass_rate':br,
'frozen_crosswalk_beats_move_report_swap_rate':frozen_win,
'decision':'AUDITED_JOB_SHAPE_PASS' if all(r['permutation_p']<.05 for r in results) and br>=.8 else
'AUDITED_JOB_SHAPE_NOT_PROMOTED',
'boundary':'High-level corpus composition only; no glyph, phonetic, lexical, authorship, or
shared-cipher claim.',
'known_language_words_added':0}
(OUT/'summary.json').write_text(json.dumps(summary,indent=2));print(json.dumps(summary,indent=2))