"""Private, results-only review page and independent landmark annotation UI.""" import json from pathlib import Path ROOT=Path(__file__).resolve().parents[1];OUT=ROOT/'private_benchmarks/research' rows=json.loads((OUT/'mesh.json').read_text());selected=[r for r in rows if r['method']=='loftr_patch_mesh'] cards=[] for row in selected: n=row['sample'];base=f'{n}-loftr_patch_mesh' cards.append(f'''

Sample {n} · research candidate

Automatic correspondence consistency: median {row['mesh_median']:.2f}px, 95th percentile {row['mesh_p95']:.2f}px ({row['test_count']} held-out automatic matches). These are not independently verified anatomical accuracy scores.

Reference
Aligned second photograph, exposure adjusted
Overlay — examine fibers, not glare

Download aligned source before exposure adjustment

''') (OUT/'index.html').write_text('''Iris research review

Real iris alignment — research iteration

Five improved research candidates; sample 1 remains unresolved. No pair is independently accuracy-validated or accepted as a finished composite. Images are from the same six development pairs, not a separate validation set. Uncertain regions and reflection removal still need work.

Mark independent corresponding landmarks · Original baseline report

Sample 1 — unresolved

The candidate still disagrees with the image evidence. It is not included as a successful result.

'''+''.join(cards)+'') (OUT/'landmarks.html').write_text(r'''Independent iris landmarks

Mark matching real structures

These are the two original crops, with no predicted alignment shown. Select a distinctive crypt corner or fiber junction in the reference (left), then the same point in the second original (right). Avoid glare, occluded regions, and vague edges. Spread at least 10–20 points around the iris. Coordinate uncertainty in your marking affects the reported error. Export each sample separately; selections are not sent to a server.

Reference original

Second original

Back to review

''') print(OUT/'index.html')