+
    iêk5  ã                   ór  € R t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIH	t	 ]! ]
4      P                  4       P                  ^,          t]R,          t]P                  ! ]R,          P!                  4       4      t]P$                  ! ]R,          4      t. t. tR t]! ]R,          ^4       EF
  w  tt]R	]R
 R2,          t. t]! ]]R,          ,          4       Fj  w  tt]R] R2,          t]	P>                  ! ]4      PA                  ]4       ]PC                  R]R]PD                   R]PD                   2R]! ]4      /4       Kl  	  ]PC                  R]R,          R]/4       RPG                  R ] 4       4      t$RPG                  R ]R,           4       4      t%RPG                  R ]R,           4       4      t&RPG                  R ]R,          PO                  4        4       4      t(]PR                  ! ]PT                  ! ] U u. uF  q R,          NK  	  up 4      RR7      t+]PC                  R]PR                  ! ]R,          4       R]R ,          ^ ,           R]R ,          ^,           R!]R",           R#]( R$]R%,           R&]R',           R(]R,           R)]+ R*]$ R+]^,          R,           R,]% R-]& R.24       EK  	  ]R/,          PY                  ]PT                  ! R0R1R2]! ]R,          4      R3]/^R47      R5,           4       R6P[                  R7RPG                  ]4      4      t.]R8,          PY                  ].4       R# u up i )9z@Create static visual report and a per-mask, per-plane inspector.N)ÚPath)ÚImagezresults/r72zresults.jsonzresults/r65/native-crops.npzc                 óx   € \         P                  ! \        V 4      P                  4       4      P	                  4       # )N)ÚhashlibÚsha256r   Ú
read_bytesÚ	hexdigest©Úps   &Úresearch/r72_report.pyÚshar      s&   € ”'—.’.¤ a£×!3Ñ!3Ó!5Ó6×@Ñ@ÓBÐBó    Úrecordszfield-Ú02dz-inspectÚfieldzplane-z.pngÚzÚpathÚ/r   ÚplanesÚ c              #   óŽ   "  € T F;  pR VR,           R2VR,          ^8X  d   RMR,           RVR,           R2,           x € K=  	  R# 5i)z<option value="r   Ú"z	 selectedr   z>Original plane z	</option>N© )Ú.0r
   s   & r   Ú	<genexpr>r      s”   é € ð  G|ñ  u{ð  pqÈÐYZÐ[^ÕY_ÐX`Ð`aÐGbÐstÐuxÕsyÐ{|Ôs|Ñdoð  CEõ  HFð  IYð  Z[ð  \_õ  Z`ð  Yað  ajð  Gk÷  Hkò  Hkó  u{ùs   ‚AAc              #   óx   "  € T F0  pR VR,           R\         P                  ! VR,          4       R2x € K2  	  R# 5i)z'<img class="candidate-mask" data-rank="Úrankz" src="r   z" alt="" hidden>N©ÚhtmlÚescape©r   Úxs   & r   r   r      s‘   é € ð  JSñ  yRð  tuð  Mtð  uvð  w}õ  u~ð  tð  Fô  GK÷  GRò  GRð  STð  U[õ  S\ó  G]ð  F^ð  ^nõ  Koó  yRùs   ‚8:Úinspector_candidatesc              #   óÜ   "  € T Fb  pR VR,           RVR,           R\         P                  ! VR,          4       RVR,           R\         P                  ! VR,          4       R	2x € Kd  	  R
# 5i)z)<label><input type="checkbox" data-rank="r   z"> z. Úidu
    Â· plane r   u    Â· Úkindz</label>Nr   r    s   & r   r   r      s  é € ð  bZñ  @Yð  {|ð  eNð  OPð  QWõ  OXð  NYð  Y\ð  ]^ð  _eõ  ]fð  \gð  giô  jn÷  juò  juð  vwð  x|õ  v}ó  j~ð  ið  Ið  JKð  LOõ  JPð  IQð  QUô  VZ÷  Vaò  Vað  bcð  djõ  bkó  Vlð  Umð  muõ  cvó  @Yùs   ‚A*A,z, c              #   ó®   "  € T FK  w  r\         P                  ! VP                  R R4      4      R,           \        VR,          4      ,           x € KM  	  R# 5i)Ú_Ú ÚretainedN)r   r   ÚreplaceÚstr)r   ÚkÚvs   &  r   r   r      s­   é € ð  kC
ñ  n	B
ñ  g	j	ð  g	h	ô  lp÷  lwò  lwð  xy÷  xA	ñ  xA	ð  B	E	ð  F	I	ó  xJ	ó  lK	ð  L	O	õ  lO	ô  P	S	ð  T	U	ð  V	`	õ  T	a	ó  P	b	÷  lb	ò  lb	ó  n	B
ùs   ‚AAÚmethodsT)Úquotez<article><h2>u    Â· (Ú	origin_xyz )</h2><img class="montage" src="Úimagez[" alt="Real field with detector, point and contrast candidate overlays"><p>Retained masks: z?. These are candidate counts, not verified specimens. <a href="Úarchiveu.   ">All raw point and box masks</a> Â· <a href="Údetector_archiveu6   ">All raw detector masks</a> Â· <a href="/results/r65/zQ-planes.jpg">Original focal planes</a>.</p><details class="inspect" data-planes="a]  "><summary>Inspect up to 20 individual spatial-40 candidates</summary><p>Select any combination of masks and choose an original focal plane. A mask's source plane is listed beside it. Overlaying it on another plane is a coordinate hypothesis; registration and biological identity are not verified.</p><label>Background: <select class="plane-select">zu</select></label> <button type="button" class="clear">Clear masks</button><div class="viewer"><img class="base" src="z"" alt="Original microscope field">z</div><div class="checks">z</div></details></article>zinspector-planes.jsonÚformatzr72-inspector-planes-v1Úsource_sha256Úfields)ÚindentÚ
u6  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width"><title>Alternative prompts on real focal fields</title><style>body{font:16px/1.5 system-ui;background:#f3f6ef;color:#203a38}main{max-width:1820px;margin:auto;padding:24px}.notice{background:#fff2d6;padding:16px}article{background:white;padding:14px;margin:16px 0}.montage{width:100%}.viewer{width:min(512px,100%);position:relative;aspect-ratio:1;margin:12px 0}.viewer img{position:absolute;top:0;left:0;width:100%;height:100%}.viewer img[hidden]{display:none}.checks{display:grid;grid-template-columns:repeat(auto-fit,minmax(240px,1fr));gap:4px}button,select{font:inherit}details{border-top:1px solid #ccc;padding-top:12px}summary{cursor:pointer;font-weight:bold}</style><main><nav><a href="/results/performance/">Performance monitor</a> Â· <a href="/results/l60/">Detector-only comparisons</a> Â· <a href="/research/R72.md">Research note</a></nav><h1>Alternative prompts on real focal fields</h1><p class="notice">These are unlabeled marine fossil fields, not Academy freshwater test labels. Colored regions are automatic proposals, not verified diatoms, classifications or error labels. Candidate counts cannot establish recall, false-positive rates or human-level accuracy.</p><p>Six panels show the original middle plane, original/CLAHE detector baseline, fixed middle-plane point grid, detector-plus-grid, three-stream spatial-40 contrast boxes, and three-stream prefix-80 contrast boxes. Contrast boxes come from each planeâ€™s image, and the same pretrained MobileSAM creates the masks. Up to ten retained masks are drawn; different-plane masks are shown over the middle plane without verified registration. The inspector below each field can show masks individually or together over any original focal plane. IoU suppression can remove real overlaps; all raw masks, prompts, plane IDs and suppression aliases are saved.</p><p>Point prompts produce more diverse-looking masks, including some broad regions; none has been scientifically adjudicated. Contrast streams generate substantially more candidates. Images were already inspected before this exploratory run. <a href="protocol.json">Frozen protocol</a> Â· <a href="results.json">All rankings, prompts and timings</a> Â· <a href="inspector-planes.json">Inspector image hashes</a> Â· <a href="/results/r65/native-crops.npz">Original RGB focal crops</a>. Source: Ishino, Itaki and Fukuda, <a href="https://doi.org/10.17632/457x9c7rp3.2">fossil diatom scans</a>, <a href="https://creativecommons.org/licenses/by/4.0/">CC BY 4.0</a>; crops and overlaid masks are derivatives.</p>CARDS</main><script>
document.querySelectorAll('.inspect').forEach(function(box){const planes=JSON.parse(box.dataset.planes);const base=box.querySelector('.base');box.querySelector('.plane-select').addEventListener('change',function(){base.src=planes[Number(this.value)]});box.querySelectorAll('input[data-rank]').forEach(function(input){input.addEventListener('change',function(){box.querySelector('img.candidate-mask[data-rank="'+this.dataset.rank+'"]').hidden=!this.checked})});box.querySelector('.clear').addEventListener('click',function(){box.querySelectorAll('input[data-rank]').forEach(function(input){input.checked=false;box.querySelector('img.candidate-mask[data-rank="'+input.dataset.rank+'"]').hidden=true})})});
</script></html>ÚCARDSz
index.html)/Ú__doc__r   r   ÚjsonÚpathlibr   ÚnumpyÚnpÚPILr   Ú__file__ÚresolveÚparentsÚROOTÚOUTÚloadsÚ	read_textÚdataÚloadÚcropsÚmanifestÚcardsr   Ú	enumerateÚiÚrÚfolderr   r   Úimr   Ú	fromarrayÚsaveÚappendÚnameÚjoinÚoptionsÚmasksÚchecksÚitemsÚcountsr   ÚdumpsÚplanes_jsonÚ
write_textr*   Úpager	   s   0r   Ú<module>r_      s3  ðÙ Fß Ó Ý Û Ý Ù	ˆ(ƒ^×ÑÓ×%Ñ% aÕ(€¨T°-Õ-?¨ÀTÇZÂZÐQTÐUcÕQc×PnÑPnÓPpÓEqÀÐxz×xÒxð  AEð  Fdõ  Adó  yeÐrwð  oqð  fnð  xzð  rwÚ BÙ�T˜)•_ Q×'�C€A€aØˆf�Q�s�G˜8Ð$Õ$€¨B VÙ�u˜Q˜w�ZÕ(Ö)�T€Q€rØ��q�c˜ÐÕ€$˜uŸš¨rÓ2×7Ñ7¸Ô=¸f¿m¹mÈSÐQRÐSYÐ]c×]hÑ]hÐ\iÐijÐko×ktÑktÐjuÐZvÐwñ  ADð  EIó  AJð  MKö  ?Lñ *à	‡��'˜!˜G�* X¨fÐ5Ô6¸r¿w¹wñ  G|ñ  u{ó  G|ó  @|°wð  CE÷  CJñ  CJñ  JSð  yzð  {Qö  yRó  JSó  CSð  }Bð  []÷  [bñ  [bñ  bZð  @Að  BXö  @Yó  bZó  [Zð  TZð  bf÷  bkñ  bkñ  kC
ð  n	o	ð  p	y	õ  n	z	÷  n	@
ñ  n	@
ô  n	B
ó  kC
ó  bC
ð  [að  P
T
÷  P
[
ò  P
[
ð  \
`
÷  \
f
ò  \
f
ñ  {
Aó  g
Bñ  {
Að  v
w
ð  j
p
÷  h
q
ð  h
q
ñ  {
Añ  g
Bó  \
Cð  JNô  P
Oð  D
O
Ø‡��- §¢¨A¨g­JÓ 7Ð8¸¸aÀ½nÈQÕ>OÐ=PÐPRÐSTÐU`ÕSaÐbcÕSdÐReð  fFð  GHð  IPõ  GQð  FRð  Rmð  ntð  muð  utð  uvð  w@õ  uAð  tBð  Bpð  qrð  sEõ  qFð  pGð  G}ð  ~ð  @Gõ  ~Hð  }Ið  IZð  [fð  Zgð  gDð  ELð  DMð  MBð  CIð  JKõ  CLð  MSõ  CTð  BUð  Uwð  x}ð  w~ð  ~Xð  Y_ð  X`ð  `zð  }÷  ~ñ (ð ÐÕ× (Ñ (¨¯ª°XÐ>WÐXgÑhkÐlpð  rPõ  mPó  iQð  RZð  [cð  5dð  lmô  *nð  osõ  *sô  tðç‘G˜G B§G¡G¨E£NÓ3ð à58¸Õ5E×4QÑ4QÐRVÖ4Wùò g
Bs   Ç<L4