+
    MIkŠ  ã                   óæ  a € ^ RI t ^ RIt^ RIHt ]! ]4      P                  4       P                  ^,          t]R,          t]P                  ! ]R,          P                  4       4      t]R,          t]! ]4      ^8X  g   Q h. tR( F}  tR) Ft  w  tt]! R ] 4       4      tR* U a u. uF  o ]! V 3R	 l] 4       4      NK  	  up t]P+                  R
] R] R2RP-                  R ] 4       4      ,           R,           4       Kv  	  K  	  . t] EF  tR* U u. uF6  p ]R,          V ,          R,          R,          R,          R,          R,          NK8  	  up t]R,          f   RM]! ]R,          4      t]P+                  R] P6                  ! ]R,          4       R] P6                  ! ]R,          4       R] P6                  ! ]4       R]^ ,           R]^,           R]^,           R] P6                  ! ]R,          4       R]R ,           R!]R",           R#24       EK  	  ]R$,          P9                  R%RP-                  ]4      ,           R&,           RP-                  ]4      ,           R',           4       R# u up i u up i )+é    N)ÚPathz$results/r95/partial/train-diagnosticzresults.jsonÚrecordsú0.5Úhiddenc              #   ó–   "  € T F?  qR ,          R,          R,          R,          \         ,          \        ,          R,          x € KA  	  R# 5i)ÚscoresÚstandardÚ30ÚsubsetsÚreference_countN©ÚtagÚth)Ú.0Úrs   & Úresearch/r95_withheld_report.pyÚ	<genexpr>r      s7   é € Ð	]ÑX\ÐSTˆH�+�jÕ
! $Õ
'¨	Õ
2´3Õ
7¼Õ
;Ð<M×
NÒ
NÓX\ùs   ‚AA	c              3   ó˜   <"  € T F?  qR ,          S,          R,          R,          \         ,          \        ,          R,          x € KA  	  R# 5i)r   r
   r   ÚmatchedNr   )r   r   Úms   & €r   r   r      ss   øé € ð  hkñ  fjð  abÐjrÕhsÐtuÕhvÐw{Õh|ð  ~Gõ  iHô  ILõ  iMô  NPõ  iQð  R[÷  i\ò  i\ó  fjùs   ƒAA
z<tr><td>z	</td><td>ú</td>Ú c              #   ó<   "  € T F  pR V R\          R2x € K  	  R# 5i)z<td>Ú/r   N)Úden)r   Úns   & r   r   r      sY   é € ð  Lqñ  lpð  ghð  OSð  TUð  SVð  VWô  X[ð  W\ð  \aõ  Mbó  lpùs   ‚z</tr>r   r
   r   r   Ú	hidden_idÚnonez<section><h3>Únameu    Â· Úsource_groupz$</h3><p>Withheld source annotation: zE. Hidden-only top-30 matches, standard / oracle-ignore / full-label: z / z. <a href="/Úimageu!   ">Training input</a> Â· <a href="Úarchivez3">Predictions and reference masks</a></p><img src="Ú
comparisonzn" alt="Visible and withheld source masks, followed by predictions from the three training variants"></section>z
index.htmlup  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>R95 withheld training annotations</title><style>body{font:16px/1.55 system-ui;max-width:1200px;margin:2em auto;padding:0 1em;color:#18342f}a{color:#006b59}img{max-width:100%}.box{background:#fff2d6;padding:1em}section{border-top:1px solid #ccc}td,th{padding:.4em;border:1px solid #bbc}table{border-collapse:collapse}</style><a href="/results/r95/partial/">Partial-label experiment</a> Â· <a href="/results/board.html">Research board</a><h1>R95: Did the models recover deliberately withheld labels?</h1><p class="box">This is a <strong>training-image diagnostic</strong>, not an independent test. All three models saw these images; the full-label model also received all displayed labels, and the oracle-ignore model was told the hidden boxes. Results cannot estimate unseen-slide performance, human proficiency, or severe real-overlap recovery.</p><p>The original source annotations contain 47 polygons. One was deliberately hidden on each of 14 multi-label fields; 33 remained visible as labels. We rasterized each source polygon at 512 pixels, then scored YOLO masks at fixed confidence 0.25 with at most 30 masks per field.</p><table><tr><th>Reference subset</th><th>IoU</th><th>Partial standard</th><th>Partial oracle-ignore</th><th>Full source labels</th></tr>uK  </table><p>Hidden-only and visible-only rows are calculated with separate one-to-one assignments: a prediction may be matched in both separate calculations. The all-reference row assigns candidates jointly and must not be obtained by adding those rows. In the single joint assignment at IoU 0.5, the hidden IDs matched were 2, 2 and 4 respectively; identities can depend on assignment ties.</p><p>Across 28 training images, the models emitted 30, 32 and 40 post-YOLO-NMS masks respectively. Other material in the images can be unannotated, so unmatched outputs are not established false positives. The oracle boxes masked only direct classification-negative gradients; they did not modify instance-mask loss or eliminate shared-parameter effects.</p><p>Sources: <a href="https://zenodo.org/records/21295927">Khanom diatoms</a> and <a href="https://doi.org/10.5281/zenodo.7079005">River Menne data</a>, CC BY 4.0. Starting model and software terms also apply.</p><p><a href="protocol.json">Protocol</a> Â· <a href="results.json">Per-field predictions and scores</a> Â· <a href="verify.log">Verification</a> Â· <a href="/research/R95.md">Research note</a></p><h2>Training-field comparisons</h2><p>Green regions were retained as labels; orange regions were deliberately withheld. A colored prediction is a candidate, not a verified diatom identification.</p>z</html>)r   z0.75))r   zWithheld annotations)ÚvisiblezRetained training annotations)ÚallzAll source annotations)r	   ÚoracleÚfull)ÚhtmlÚjsonÚpathlibr   Ú__file__ÚresolveÚparentsÚRÚOÚloadsÚ	read_textÚdÚrowsÚlenÚtabler   r   ÚtitleÚsumr   ÚvalsÚappendÚjoinÚsectionsr   Ústrr   ÚescapeÚ
write_text)r   s   pr   Ú<module>r?      s¨  øðß Ý Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*PÕ(P aÐSW×S]ÒS]Ð_`ÐaoÕ_o×^zÑ^zÓ^|ÓS}ÐQRð  DEð  FOõ  DPð  Cñ  X[ð  \`ó  Xað  ceô  Xeð  Qeð  Xeð  lnð  fkÛ
€Bó C�Y€SˆÙ	Ñ	]ÑX\Ó	]Ó]€#ñ  uQô  dRñ  uQð  pqÑdgô  hkñ  fjó  hkö  ekñ  uQñ  dRÐ^bð  SX÷  S_ñ  S_ð  bjð  kpð  jqð  qzð  {}ð  z~ð  ~Cð  `Dð  EG÷  ELñ  ELñ  Lqñ  lpó  Lqó  Eqõ  `qð  ryõ  `yö  Szó Cñ ð 
€Ü	€AÙLhÓiÑLhÀq€qˆ…{�1…~�dÕ˜IÕ& xÕ0°Õ7¸	×BÐBÑLhÑi€Ð{|ð  ~Iõ  |Jò  |RÑqwñ  X[ð  \]ð  ^iõ  \jó  XkÐjpð  lt÷  l{ñ  l{ð  ~Kð  LP÷  LWò  LWð  XYð  Z`õ  Xaó  Lbð  Kcð  cgð  hl÷  hsò  hsð  tuð  vDõ  tEó  hFð  gGð  Gkð  lp÷  lwò  lwð  x~ó  lð  k@ð  @Eð  FJð  KLõ  FMð  ENð  NQð  RVð  WXõ  RYð  QZð  Z]ð  ^bð  cdõ  ^eð  ]fð  frð  sw÷  s~ò  s~ð  @ð  AHõ  Ió  sJð  rKð  Klð  mnð  oxõ  myð  lzð  zmð  noð  p|õ  n}ð  m~ð  ~l
ð  |m
÷  ln
ñ 
à€<…× Ñ ð  Sð  TV÷  T[ñ  T[ð  \aó  Tbõ  bð  ct+õ  t+ð  u+w+÷  u+|+ñ  u+|+ð  }+E,ó  u+F,õ  F,ð  G,P,õ  P,ö  Q,ùò	 dRùò js   Â"I)Ä<I.