+
    C;k¬  ã                   óÂ	  € R t ^ RIt^ RIt^ RIt^ RIHt ^ RIt^ RIt^ RI	H
t
 ^ RIHt ]! ]4      P                  4       P                  ^,          t]R,          t]R,          t]P'                  RR7       R	 t]P*                  ! ]R
,          P-                  4       4      R,          ^ ,          tR]P*                  ! ]R,          P-                  4       4      R,          /t]! ]R]4      w	  tttttttt t!]"! R ]P*                  ! ]R,          P-                  4       4      R,           4       4      t#]#R,          R,          R,          t$] U u/ uF  q R,          V bK  	  up t%]&! ]4       UU u/ uF  w  rV R,          VbK  	  up pt'. t(. t)]&! ]$4       EF8  w  t*t+. t,]+ EFå  t-]%]-,          t.]R]']-,          R R2,          t/]
P`                  ! RR?R4      t1]1Pe                  ]
Pf                  ! ].R,          Pi                  R4      ^d,          4      4       ]
Pj                  ! ]
Pf                  ! ]4      Pm                  R4      ]14      Pm                  R4      t7]Pp                  ! ]74      t9]Pt                  ! ].R,          Pi                  R4      ]Pv                  ]Px                  4      w  t=t>]P~                  ! ]9]=R@RA^4       ]
Pf                  ! ]94      P�                  ]/4       ](Pƒ                  R]-R]']-,          ^,           R].R ,          R!]*^,           R"]/P„                  R#]! ]/4      /4       ],Pƒ                  R$]/P„                   R%]P†                  ! ].R ,          4       R&]']-,          ^,            R']P†                  ! ]-4       R(2	4       EKè  	  ])Pƒ                  R)]*^ 8X  d   R*MR+ R,]*^,            R-]D! ]+4       R.R+P‹                  ],4       R/2	4       EK;  	  ]D! ](4      ]D! ]4      8X  d*   ]D! ]( U u0 uF  q R,          kK  	  up 4      ]D! ]4      8X  g   Q h]R0,          P�                  ]PŽ                  ! R ]R1]! ]],          4      R2]R3]! ]],          4      R4R5R](/^R67      R7,           4       ]R8,          P�                  R9]P†                  ! ]4      ,           R:,           R+P‹                  ])4      ,           R;,           4       ]H! R<]D! ]$4      R=]D! ](4      R>]D! ]4      4       R# u up i u up pi u up i )BzPCreate a static, lossless example of inspecting all alternatives in each bundle.N)ÚPath)ÚImage)Ú
candidateszresults/r93ÚviewerT)Úexist_okc                 óx   € \         P                  ! \        V 4      P                  4       4      P	                  4       # )N)ÚhashlibÚsha256r   Ú
read_bytesÚ	hexdigest)Úps   &Úresearch/r93_viewer.pyÚshar      s&   € ”'—.’.¤ a£×!3Ñ!3Ó!5Ó6×@Ñ@ÓBÐBó    zresults/r92/khanom/results.jsonÚrecordsÚr84zresults/r84/results.jsonÚkhanomc              #   óD   "  € T F  qR ,          R8X  g   K  Vx € K  	  R# 5i)Únamezkhanom-r84-00N© )Ú.0Úxs   & r   Ú	<genexpr>r   	   sK   é € ð  xXñ  Dyð  @ð  Eõ  }Fð  HWñ  }W÷  yzò  yzó  Dyùs   ‚ –
 zresults.jsonÚpoliciesÚ08ÚgroupsÚidz
candidate-Ú03dz.pngÚRGBAz#008a70ÚmaskÚuint8ÚRGBÚcandidate_idÚoriginal_rankÚmodelÚsourceÚ
group_rankÚimager	   z<figure><img src="z9" alt="Candidate mask over the source image"><figcaption>u    Â· original rank z
<br><code>z</code></figcaption></figure>z	<details ÚopenÚ z><summary>Group u    Â· z6 alternative mask(s)</summary><div class="candidates">z</div></details>zmanifest.jsonÚsource_sha256Úsource_inference_archiveÚsource_inference_archive_sha256Úgroupingz_L69 0.8 direct-anchor bundles; no identity inference; all individual candidate masks visualized)ÚindentÚ
z
index.htmla}  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Inspect proposal alternatives</title><style>body{font:16px/1.5 system-ui;max-width:1100px;margin:2em auto;padding:0 1em;color:#18342f}a{color:#006b59}.box{background:#fff2d6;padding:1em}details{border:1px solid #cdded3;border-radius:5px;margin:.7em 0;padding:.7em}summary{cursor:pointer;font-weight:600}.candidates{display:flex;gap:1em;flex-wrap:wrap}figure{margin:.7em 0;width:min(280px,100%)}img{max-width:100%}figcaption{font-size:.9em}code{overflow-wrap:anywhere}</style><a href="/results/r93/">Experiment report</a><h1>Inspecting mask alternatives</h1><p class="box">These groups are a display aid based on mask overlap. A group does not establish whether its masks depict the same diatom; two distinct overlapping specimens can be grouped together. Open a group to see every member separately. This page records no decisions and sends no data.</p><p>Example: one previously viewed Khanom field. Green areas are individual candidate masks at the model's 512-pixel inference scale, not expert judgments. The <a href="/zž">original full-resolution image</a> and <a href="manifest.json">candidate provenance</a> remain available. The number of groups is not an organism count.</p>z</html>zviewer groupsr   Ú	preserved)é   r1   éÿÿÿÿ)é   éM   é:   )IÚ__doc__Újsonr   ÚhtmlÚpathlibr   ÚnumpyÚnpÚcv2ÚPILr   Úl80_deferralr   Ú__file__ÚresolveÚparentsÚRÚOÚVÚmkdirr   ÚloadsÚ	read_textÚrowÚoldÚrefsÚidsÚmixÚrgbÚsrcÚarchÚcategoryÚpairidsÚpreviousÚnextÚrecr   ÚlookupÚ	enumerateÚindexÚmanifestÚsectionsÚnÚgÚcardsr   r   ÚpathÚnewÚlayerÚputalphaÚ	fromarrayÚastypeÚalpha_compositeÚconvertÚpicÚarrayÚoutÚfindContoursÚRETR_EXTERNALÚCHAIN_APPROX_SIMPLEÚcontoursÚ_ÚdrawContoursÚsaveÚappendr   ÚescapeÚlenÚjoinÚ
write_textÚdumpsÚprint)r   Úis   00r   Ú<module>rw      s%	  ðÙ Vß Ó Ý ß Ý Ý #Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨¨-­ a¸!¸H½*¸ÀQÇWÁWÐVZÀWÔE[Ú BØ‡J‚J�Ð3Õ3×>Ñ>Ó@ÓAÀ)ÕLÈQÕO€ÐUZÐ[_×[eÒ[eÐghð  jDõ  hD÷  gOñ  gOó  gQó  \Rð  S\õ  \]ð  U^ÐPSñ  S]ð  ^að  bjð  knó  Soñ  _Rð  _cð  dgð  hkð  loð  psð  txð  yAð  BIð  JRñ  txñ  xXð  DH÷  DNò  DNð  PQð  R`õ  P`÷  Okñ  Okó  Omó  Dnð  oxö  Dyó  xXó  tXð  psð  `cð  dnõ  `oð  ptõ  `uð  v~õ  `ð  Y_ñ  [^ó  G_ñ  [^ð  VWð  JNõ  HOð  PQò  HQñ  [^ñ  G_ð  @Fñ  |Eð  FIô  |Jô  fKñ  |Jñ  uxð  uvð  ghð  imõ  gnð  opò  gpñ  |Jò  fKð  `eð  UWð  LTð  acð  X`Ù�V×�C€A€aØ	€Ü€RØ
ˆ2…J€!�A˜
 5¨¥9¨S /°Ð6Õ6ˆt¸U¿YºYÀvÈiÐXaÓ=b°uÐch×cqÑcqÐrw÷  sBò  sBð  CDð  EKõ  CL÷  CSñ  CSð  T[ó  C\ð  ]`õ  C`ó  saô  dbð  gl÷  g|ò  g|ð  }B÷  }Lò  }Lð  MPó  }Q÷  }Yñ  }Yð  Z`ó  }að  bgó  gh÷  gpñ  gpð  qvó  gwð  cfð  |~÷  |Dò  |Dð  EHó  |Ið  x{ð  UX÷  Ueò  Ueð  fgð  hnõ  fo÷  fvñ  fvð  w~ó  fð  @C÷  @Qñ  @Qð  RU÷  Riñ  Rió  Ujñ  JTð  JRð  STð  kn÷  k{ò  k{ð  |ð  @Hð  IKð  LUð  VWô  kXð  Y^÷  Yhò  Yhð  iló  Ym÷  Yrñ  Yrð  swô  Yxð  yA÷  yHñ  yHð  JXð  Y[ð  \kð  lqð  rtõ  luð  vwõ  lwð  xð  @Að  BJõ  @Kð  LXð  YZð  [\õ  Y\ð  ]dð  ei÷  enñ  enð  owñ  x{ð  |@	ó  xA	ð  IB	ô  yC	ð  D	I	÷  D	P	ñ  D	P	ð  S	e	ð  f	j	÷  f	o	ñ  f	o	ð  e	p	ð  p	i
ð  j
n
÷  j
u
ò  j
u
ð  v
w
ð  x
@õ  v
Aó  j
Bð  i
Cð  CUð  V[ð  \^õ  V_ð  `aõ  Vað  Ubð  blð  mq÷  mxò  mxð  y{ó  m|ð  l}ð  }Zð  Q	[÷  D	\ñ à	‡��9 q¨!¤t™V°Ð4Ð4DÀQÀqÅSÀEÈÉcÐRSËfÈXð  VLð  MO÷  MTñ  MTð  UZó  M[ð  L\ð  \lð  m÷  nñ	 ñ
 ˆ8ƒ}‘c˜#“hÔ¡3Á8Ó'LÁ8¸a¨.×(9Ð(9Á8Ñ'LÓ#MÉsÐSVËxÔ#WÐ WÐWÐYZÐ[jÕYj×XvÑXvÐw{÷  xBò  xBð  DLð  MPð  Q`ñ  adð  efð  gjõ  ejó  akð  lFð  GKð  Lmñ  nqð  rsð  txõ  rxó  nyð  zDð  Efð  gpð  qyð  Czð  BCô  xDð  EIõ  xIô  YJØ€<…× Ñ ð  `ð  ae÷  alò  alð  mpó  aqõ  qð  rVõ  Vð  WY÷  W^ñ  W^ð  _gó  Whõ  hð  irõ  rô  sÙ €o‘c˜&“k ,©s°8«}¸[ÉÈSËÖ Rùò G_ùó  fKùò (Ms   ÅSÅ&SÏ!S