+
    Lµk
  ã                   ó|  € R t ^ RIt^ RIt^ RIt^ RIt^ RIHt ^ RIt]! ]	4      P                  4       P                  ^,          t]R,          t]R,          tR t]P                   ! ]R,          P#                  4       4      t]P                   ! ]R,          P#                  4       4      t]P                   ! ]R,          P#                  4       4      t]R,          ]! ]R,          4      8X  dˆ   ]R	,          ]! ]R
,          4      8X  dm   ]R,          ]! ]R,          4      8X  dR   ]R,          ]! ]R,          4      8X  d7   ]R,          ]! ]R,          4      8X  d   ]R,          ]! ]R,          4      8X  g   Q h]P*                  ! ]R,          4      R,          t]P*                  ! ]R,          4      t]R,          t]]R,          8X  g   Q h/ t/ t]R,           Fâ  t]]]R,           ,          P8                  ,          ]]R,           ,          ,           t]R,          ],          t]P>                  ! ]]R,          RR7      '       g   Q h]PA                  ^R7       U u. uF  p ]V ,          NK  	  up t!]!]R,          8X  g   Q h]"! R ]#! ]!]R,          4       4       4      ]]&   ]],          ]R,          8X  g   Q h]!]]&   Kä  	  ]R,          t$]R ,          t%]"! R! ]#! ]R,          ]$]%4       4       4      t&]"! R" ]#! ]R,          ]$]%4       4       4      t'R#](! ]4      R$](! ]R,           Uu0 uF  qR%,          kK  	  up4      R&]R']&R(]'R)R*/t)]R+,          PU                  ]PV                  ! ])^R,7      R-,           4       ]PX                  t-RR.R/R0R R1R2R3/t.R4P_                  R5 ]. 4       4      t0R4t1] Fw  t2]3! ]R,          4       U Uu. uF  w  rVR6,          ]28X  g   K  V NK  	  upp t4]1R7]-! ]24      ,           R8,           R4P_                  R9 ]. 4       4      ,           R:,           ,          t1Ky  	  . t5]3! ]R,          4       FÄ  w  t6t7R4P_                  R; ]. 4       4      t!]5Pq                  R<]-! ]7R=,          4      ,           R>,           ]-! ]7R=,          4      ,           R?,           ]-! ]7R6,          4      ,           R@,           ]-! ]7RA,          4      ,           RB,           ]-! ]7R%,          4      ,           RC,           ]!,           RD,           4       KÆ  	  RE]0,           RF,           ]9! ]&4      ,           RG,           ]9! ]'4      ,           RH,           R4P_                  RI ]. 4       4      ,           R:,           ]1,           RJ,           R4P_                  ]54      ,           RK,           t:]RL,          PU                  ]:4       ];! ]PV                  ! ])^R,7      4       R# u up i u upi u upp i )MzARecompute saved head outputs and publish development comparisons.N)ÚPathz,results/r112/design/synthetic-training-pilotz)results/r112/design/linear-training-pilotc                 óf   € \         P                  ! V P                  4       4      P                  4       # ©N)ÚhashlibÚsha256Ú
read_bytesÚ	hexdigest)Úps   &Ú$research/r112_linear_pilot_report.pyÚ<lambda>r      sO   € ô  W^÷  Weò  Weð  fg÷  frñ  fró  ftó  Wu÷  Wñ  Wô  WAó    zprotocol.jsonzresults.jsonÚprotocol_sha256Úscript_sha256zresearch/r112_linear_pilot.pyÚheads_sha256zlinear-heads.npzÚfeatures_sha256zfeatures.npzÚprior_protocol_sha256Úprior_results_sha256Ú
validationÚlabelsÚlabel_orderÚmethodsÚ_weightÚ_biasÚrecordsÚlogitsgñhãˆµøô>)Úatol)ÚaxisÚpredictionsc              #   ó<   "  € T F  w  rWR ,          8H  x € K  	  R# 5i©ÚspeciesN© )Ú.0ÚxÚzs   &  r
   Ú	<genexpr>r%      sD   é € ð  g]ñ  C\ñ  |ð  |}ð  hið  mvõ  kwö  hwó  C\ùs   ‚ÚcorrectÚrealÚreal_plus_syntheticc              #   ód   "  € T F&  w  rq2VR ,          8g  ;'       d    W1R ,          8H  x € K(  	  R# 5ir   r!   ©r"   r#   ÚbÚms   &   r
   r%   r%   	   sA   é € ð  K[ñ  }ZÑsxÐstÐwxÈaÐPYÍlÉ?×KnÐKnÐ_`ÐdmÕbnÑ_nÔKnó  }Zùó   ‚0œ0c              #   ód   "  € T F&  w  rq2VR ,          8H  ;'       d    W1R ,          8g  x € K(  	  R# 5ir   r!   r*   s   &   r
   r%   r%   	   s|   é € ð  dtñ  Vsñ  MRð  MNð  QRð  hið  jsõ  htñ  et÷  eHð  eHð  yzð  ~Gõ  |Hñ  yHô  eHó  Vsùr-   Úvalidation_casesÚsource_filename_groupsÚsource_slideÚmatchesÚmixed_vs_real_gainedÚmixed_vs_real_lostÚcheckszçHead weights, all saved logits and predictions and per-arm counts reconstructed from frozen stored features. Training, embedding extraction, source labels, sample independence and biological performance not independently validated.z
verify.log)ÚindentÚ
zReal source cropsÚ	syntheticzSynthetic crops onlyzReal + syntheticÚreal_plus_transformedzReal + transformed controlÚ c              #   ó®   "  € T FK  pR \        \        V,          4      ,           R,           \        \        V,          4      ,           R,           x € KM  	  R# 5i)ú<tr><th>z	</th><td>z/50</td></tr>N)ÚeÚtitlesÚstrÚcounts©r"   Úks   & r
   r%   r%      s:   é € ÐaÑZ`ÐUVˆjœœ6 !�9›Õ% kÕ1´#´f¸Qµi³.Õ@À×PÒPÓZ`ùs   ‚AAr    r<   ú</th>c              #   ó„   a"  € T F5  oR \        \        V3R l\         4       4      4      ,           R,           x € K7  	  R# 5i)z<td>c              3   óZ   <"  € T F   p\         S,          V,          \        8H  x € K"  	  R # 5ir   )Úcase_outputsr    )r"   ÚirB   s   & €r
   r%   Ú<genexpr>.<genexpr>   sS   øé € ð  Ajñ  gið  bcô  BNð  OPõ  BQð  RSõ  BTô  V]ö  B]ó  giùs   ƒ(+z/5</td>N)r?   ÚsumÚixrA   s   &@r
   r%   r%      sn   øé € ð  rFñ  Eð  z{ÐrxÔy|ô  ~Aô  Ajõ  gió  Ajó  ~jó  zkõ  skð  lu÷  suò  suó  Eùs   ƒ=A z</tr>c              #   ó&  "  € T F‡  pR \        \        V,          4      ,           R,           \        \        V,          \        ,          4      ,           \        V,          \        ,          \        R,          8X  d   RMR,           R,           x € K‰  	  R# 5i)z<li>z: r    u    âœ“r:   z</li>N)r=   r>   rF   rG   r#   rA   s   & r
   r%   r%      sm   é € ð  Kñ  DJÐ~ˆf”Q”v˜a•y“\Õ! $Õ&¤q¬°a­¼Õ);Ó'<Õ<ÌÐUVÍÔXYÕHZÔ\]Ð^gÕ\hÔHh¹fÐnpÕqÐry×yÒyó  DJùs   ‚BBz.<article><a href="/results/r112/species-depth/Ú
local_filez7"><img loading="lazy" src="/results/r112/species-depth/z!" alt="Source crop"></a><div><h3>z</h3><p>Annotation Úannotation_idu    Â· z</p><ul>z</ul></div></article>u:  <!doctype html><html lang="en"><meta charset="utf-8"><meta name="viewport" content="width=device-width,initial-scale=1"><title>Learned species head: development test</title><style>body{font:16px/1.5 system-ui;color:#193b37;background:#f2f6f2;margin:0}main{max-width:1100px;margin:auto;padding:24px}a{color:#076c59}.notice{background:#fff8df;border-left:5px solid #b88418;padding:15px}table{border-collapse:collapse;background:white;max-width:100%;display:block;overflow:auto}td,th{border:1px solid #cbd8d1;padding:8px;text-align:left}article{display:flex;gap:20px;background:white;border:1px solid #d0ddd5;margin:12px 0;padding:14px}article img{width:180px;height:180px;object-fit:contain;background:#eee}@media(max-width:600px){article{display:block}}</style><body><main><nav><a href="/results/r112/">Synthetic training</a> Â· <a href="/results/r112/design/synthetic-training-pilot/">Earlier centroid comparison</a></nav><h1>Does synthetic imagery help a learned species head?</h1><p class="notice"><strong>Development comparison, not an independent test or Academy accuracy.</strong> The same 50 validation crops were used in an earlier experiment and that result motivated this follow-up. Each species has five crops from one filename group; biological independence and source names are unverified. The classifier has no unknown option and does not locate diatoms.</p><p>Four linear classification heads were trained separately on frozen generic ResNet-18 features from the same 153 development source specimens. Synthetic views are rectangles located using the known generator coordinates; transformed views control for resampling and an additional image per source. Optimizer settings and comparison arms were frozen before this run; the image encoder was not trained.</p><table><tr><th>Head training images</th><th>Source-name matches</th></tr>zA</table><p>The mixed head matched two more names than real-only; z. cases changed from incorrect to matching and aK   from matching to incorrect. With just ten potentially correlated slide-name groups this is insufficient evidence of a general gain. The synthetic-only head was weaker than real-only. No result establishes segmentation, unseen-species rejection or performance on Academy scans.</p><h2>By source name</h2><table><tr><th>Species</th>c              #   ój   "  € T F)  pR \        \        V,          4      ,           R,           x € K+  	  R# 5i)z<th>rC   N)r=   r>   rA   s   & r
   r%   r%      sg   é € ð  w$d%ñ  ]%c%ð  X%Y%ð  x$~$ô  $@%ô  A%G%ð  H%I%õ  A%J%ó  $K%õ  x$K%ð  L%S%÷  x$S%ò  x$S%ó  ]%c%ùs   ‚13u  </table><p><a href="protocol.json">Predeclared protocol</a> Â· <a href="results.json">Predictions and scores</a> Â· <a href="verify.log">Verification</a></p><h2>Individual crops</h2><p>A check means a prediction matches the source name, not that a scientist confirmed it.</p>z</main></body></html>z
index.html)<Ú__doc__Úcollectionsr   ÚhtmlÚjsonÚpathlibr   ÚnumpyÚnpÚ__file__ÚresolveÚparentsÚRÚPÚOÚshaÚloadsÚ	read_textÚqÚrr	   ÚloadÚvÚheadsr   r@   rF   ÚnameÚTr   ÚsavedÚallcloseÚargmaxÚpredrI   ÚzipÚbaseÚmixÚgainÚlostÚlenÚsummaryÚ
write_textÚdumpsÚescaper=   r>   ÚjoinÚtableÚperr    Ú	enumeraterJ   ÚcardsrG   r#   Úappendr?   ÚpageÚprint)rG   r#   s   00r
   Ú<module>r|      sÏ
  ðÙ Gß $× $Ý Û Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*XÕ(X aÐ[\ð  ^Iõ  \IÐYZñ  NAð  JMØ‡*‚*ˆa�Õ×*Ñ*Ó,Ó-€°·
²
¸A¸nÕ<L×;WÑ;WÓ;YÓ0Z¨aÐ]a×]gÒ]gÐijÐkzÕiz÷  iFñ  iFó  iHó  ^IÐ[\ð  QRð  Sdõ  Qeñ  gjð  klð  m|õ  k|ó  g}ô  Q}ð  BCð  DSõ  BTñ  VYð  Z[ð  \{õ  Z{ó  V|ô  B|ð  ABð  CQõ  ARñ  TWð  XYð  Zlõ  Xló  Tmô  Amð  rsð  tEõ  rFñ  HKð  LMð  N\õ  L\ó  H]ô  r]ð  bcð  d{õ  b|ñ  ~Að  BCð  DSõ  BSó  ~Tô  bTð  YZð  [qõ  Yrñ  twð  xyð  zHõ  xHó  tIô  YIð  JIð  QIð  LN÷  LSò  LSð  TUð  Vdõ  Tdó  Leð  frõ  Lsð  JKð  z|÷  zAò  zAð  BCð  DVõ  BVó  zWð  tyð  _`ð  aiõ  _jð  X^ð  rxð  z{ð  |I	õ  zJ	ô  rJ	ð  kJ	ð  rJ	ð  R	T	ð  K	Q	ð  b	d	ð  U	a	Øˆi�LˆL€DØ	ˆ%��Y•Õ
×
!Ñ
!Õ! %¨¨W­Õ"5Õ5€¸A¸i½LÈÕ<N°eÐVX×VaÒVaÐbhÐinÐowÕixð  C÷  WDó  WDð  PDð  WDð  ^d÷  ^kñ  ^kð  qrð  ^kô  ^só  Jtñ  ^sð  YZð  KQð  RS÷  KTð  KTñ  ^sñ  Jtð  EIð  |@ð  BGð  HUõ  BVô  |Vð  uVð  |Vñ  dgñ  g]ñ  CFð  GKð  LMð  NZõ  L[ô  C\ó  g]ó  d]ð  W]ð  ^bñ  Wcð  ekð  lpõ  eqð  sxð  yBõ  sCô  eCð  ^Cð  eCð  W[ð  DPð  QUó  DVñ à�&Õ€˜lÐ+@ÕA˜#Ásñ  K[Ñ|ð  ABð  COõ  APð  QUð  VYô  }Zó  K[ó  H[À$ñ  adñ  dtñ  VYð  Z[ð  \hõ  Zið  jnð  orô  Vsó  dtó  atð  \`ð  ~Pñ  QTð  UVó  QWð  Xpñ  qtð  QRð  S_ö  Q`ó  uañ  Q`ð  LMð  xF÷  vGð  vGñ  Q`ñ  uaó  qbð  clð  msð  tJð  KOð  Pdð  eið  jrð  s\
ð  }]
ð  u|ð  _
`
ð  a
m
õ  _
m
÷  ^
y
ñ  ^
y
ð  z
~
÷  z
Dò  z
Dð  ELð  TUô  z
Vð  W[õ  z
[ô  ^
\Ø‡+�+€�fÐ0°Ð=SÐTiÐj|ð  ~Uð  Vrð  sˆfØ‡g�gÑaÑZ`ÓaÓa€Ø€Û€GÙ˜A˜l�OÔ,ÔFÑ,‰3ˆ1°°)µ¸gÑ0E‡Q€QÑ,ÒF€ÀsÈJÑWXÐY`ÓWaÕLaÐbiÕLiÐjl×jqÑjqñ  rFñ  Eó  rFó  kFõ  MFð  GNõ  MNõ  HNÂsñ à€Ù�Q�|•_Ö%�C€A€aØ‡g�gñ  Kñ  DJó  Kó  K€ð  LQ÷  LXñ  LXð  YIñ  JKð  LMð  NZõ  L[ó  J\õ  Y\ð  ]Võ  YVñ  WXð  YZð  [gõ  Yhó  Wiõ  Yið  jMõ  YMñ  NOð  PQð  R[õ  P\ó  N]õ  Y]ð  ^sõ  Ysñ  tuð  vwð  xGõ  vHó  tIõ  YIð  JPõ  YPñ  QRð  STð  Ucõ  Sdó  Qeõ  Yeð  fpõ  Ypð  quõ  Yuð  vMõ  YMö  LNñ &ð Fð  GLõ  Lð  MTõ  Tñ  UXð  Y]ó  U^õ  ^ð  _Sõ  Sñ  TWð  X\ó  T]õ  ]ð  ^o$õ  o$ð  p$r$÷  p$w$ñ  p$w$ñ  w$d%ñ  ]%c%ó  w$d%ó  p$d%õ  d%ð  e%l%õ  l%ð  m%p%õ  p%ð  q%J*õ  J*ð  K*M*÷  K*R*ñ  K*R*ð  S*X*ó  K*Y*õ  Y*ð  Z*u*õ  u*€ð  w*x*ð  y*E+õ  w*E+÷  v*Q+ñ  v*Q+ð  R+V+ô  v*W+ñ  X+]+ð  ^+b+÷  ^+h+ò  ^+h+ð  i+p+ð  x+y+ô  ^+z+ö  X+{+ùò Jtùò uaùó
 Gs   ÉV.ÌV3Î4V8ÏV8