back to table · edit · history · where entries came from · files · download
1160 bytes, as of the version from 2026-11-25 23:04 (current). Recorded here, not run.
import check_values,json
from pathlib import Path
C=check_values.C;W=Path(__file__).parent
check_values.main()
own=json.loads((W/'stored-entries.json').read_text())
companion=json.loads((W/'companion-T801-entries.json').read_text())
key=lambda r:tuple(str(r['params'][p]) for p in ['n','k','knot'])
long={key(r):check_values.parse(r['number']) for r in own}
mer={key(r):check_values.parse(r['number']) for r in companion}
assert set(long)==set(mer) and len(long)==13
rows=json.loads((W/'geometry-evidence.json').read_text())['rows'];results=[]
for row in rows:
k=tuple(row['name'].split('_'))+(row['knot'],)
c=check_values.interval(row['cusp_interval'])
assert check_values.finite_narrow(long[k],95) and check_values.finite_narrow(mer[k],95)
passed=(long[k]**2).overlaps(c**2*mer[k]**2)
assert passed
results.append({'params':k,'squared_curve_relation':bool(passed)})
print('FAMILY_CONSISTENCY '+json.dumps({'stage':'build','companion':'T801','checked_entries':13,'failures':[],
'interpretation':'Consistency with the live companion, not independent evidence of correctness or a final family review.',
'results':results}),flush=True)