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 157 of 1000. Catalog page range 6001-7000.

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

Extracted text

run_referential_core_019.py
VOYNICH RESEARCH ARCHIVE | 16 SEPTEMBER 2026 2
 for raw in path.read_text(errors='replace').splitlines():
  m=re.match(r'^<(f\d+[rv]\d?)>\s',raw)
  if m:cur=m.group(1)
  if 'Same plant as' in raw:
   target=raw.split('Same plant as',1)[1].strip().split('(')[0].strip()
   uncertain='?' in target;target=target.replace('?','').strip()
   items.append({'source':cur,'target':target,'uncertain':uncertain,'raw':raw[1:].strip()})
 by=defaultdict(list)
 for x in items:by[x['target']].append(x)
 groups=[]
 # Multiple source folios pointing to the same fragment form one duplicate group.
 for target,xs in by.items():
  if len(xs)>=2:
   for i in range(len(xs)):
    for j in range(i+1,len(xs)):
     groups.append({'group_id':f'SHARED-TARGET-{len(groups)+1:02d}','folio_a':xs[i]['source'],'folio_b':
xs[j]['source'],'basis':target,'uncertain':int(xs[i]['uncertain'] or 
xs[j]['uncertain']),'source_notes':xs[i]['raw']+' || '+xs[j]['raw']})
 # Whole-page counterpart noted directly in the source.
 for x in items:
  if re.fullmatch(r'f\d+[rv]\d?',x['target']) and x['source']!=x['target']:
   groups.append({'group_id':f'DIRECT-PAIR-{len(groups)+1:02d}','folio_a':x['source'],'folio_b':x['targe
t'],'basis':x['target'],'uncertain':int(x['uncertain']),'source_notes':x['raw']})
 # Deduplicate unordered pairs.
 out=[];seen=set()
 for g in groups:
  k=tuple(sorted((g['folio_a'],g['folio_b'])))
  if k not in seen:seen.add(k);out.append(g)
 return out,items
def weighted_jaccard(a,b,idf):
 keys=set(a)|set(b);den=sum(max(a[k],b[k])*idf[k] for k in keys);num=sum(min(a[k],b[k])*idf[k] for k in 
keys)
 return num/den if den else 0.0
def matched_pool(pages,a,b,idf,actual_pairs):
 sa,sb=section(a),section(b);na=sum(pages.get(a,{}).values());nb=sum(pages.get(b,{}).values());out=[]
 fols=sorted(pages)
 for i,x in enumerate(fols):
  for y in fols[i+1:]:
   if tuple(sorted((x,y))) in actual_pairs:continue
   if sorted((section(x),section(y)))!=sorted((sa,sb)):continue
   nx=sum(pages[x].values());ny=sum(pages[y].values())
   # Match each side to either orientation with a 2x opportunity tolerance.
   ok=(.5<=nx/max(na,1)<=2 and .5<=ny/max(nb,1)<=2) or (.5<=nx/max(nb,1)<=2 and .5<=ny/max(na,1)<=2)
   if ok:out.append((x,y,weighted_jaccard(pages[x],pages[y],idf)))
 return out
def main():
 lex=list(csv.DictReader(LEX.open()));stems=[r['payload'] for r in lex if r['payload'] not in 
REMOVED];sid={r['payload']:r['stem_id'] for r in lex}
 groups,source_items=metadata_groups(META);actual={tuple(sorted((g['folio_a'],g['folio_b']))) for g in 
groups}
 results=[];nullrows=[];support_rows=[];summary_w={};rng=np.random.default_rng(SEED)
 parsed={}
 for wit in ('ZL','GC'):
  pages,regs,allb=parse(DATA/(wit+'.txt'),wit,set(stems));parsed[wit]=(pages,regs,allb)
  df=Counter();
  for q in pages.values():
   for s in q:df[s]+=1
  N=len(pages);idf={s:math.log2((N+1)/(df[s]+1))+1 for s in stems}
  pools=[];obs=[];pair_above=[]
  for g in groups:
   a,b=g['folio_a'],g['folio_b'];score=weighted_jaccard(pages.get(a,{}),pages.get(b,{}),idf);pool=matche
d_pool(pages,a,b,idf,actual);vals=[x[2] for x in pool];med=float(np.median(vals)) if vals else 
float('nan');pct=float((1+sum(v>=score for v in vals))/(len(vals)+1)) if vals else 1.0