+
    ˜Ök  ã                   ó,  € R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHu H	t
 ^ RIHt ]! ]4      P                  4       P                  ^,          t]R,          t]R,          t]R,          t]R,          tRR/tRR	 ltR
 tR t]R8X  d
   ]! 4        R# R# )zMCatalog public external candidate sources without opening their image pixels.N)ÚPathz!datasets/r112-external-candidatesz'results/r112/external-reference-sourcesÚfreshbarÚrepodÚxz9http://schemas.openxmlformats.org/spreadsheetml/2006/mainc                 ó  a€ \         P                  ! V4      p\        V R 4      ;_uu_ 4       o\        V3R lR4       F  q2P	                  V4       K  	  RRR4       VP                  4       #   + '       g   i     TP                  4       # ; i)Úrbc                  ó&   <€ S P                  R4      # )i   i   )Úread)Úfs   €ÚU/home/mchadwick/src/ansp/diatom-research/research/r112_external_reference_metadata.pyÚ<lambda>Údigest.<locals>.<lambda>   s   ø€ �q—v‘v˜iÔ(ó    r   N)ÚhashlibÚnewÚopenÚiterÚupdateÚ	hexdigest)ÚpÚalgoÚhÚbr
   s   &&  @r   Údigestr      s[   ø€ Ü
‡;‚;ˆtÓ€Ü
ˆ1ˆT‡l„l�aÜÔ(¨Ö-€a¯h©h°q®kÑ-÷ à	�‰‹Ð÷ †là	�‰‹Ðús   ¬(A,Á,B	c                 ó€  € \         P                  ! V 4      ;_uu_ 4       p\        P                  ! VP	                  R 4      4      q"P                  R\        4      q3^ ,          P                  R,          R8X  g   Q h\        P                  ! VP	                  R4      4      P                  R\        4       Uu. uF"  pRP                  VP                  4       4      NK$  	  pp\        P                  ! VP	                  R4      4      p. pVP                  R\        4       EF_  p/ p	VP                  R	\        4       EF  p
\        P                  ! R
V
P                  R,          4      P                  4       qºP                  R\        4      qÌe   VP                  e   VP                  MRpV
P                  R4      R8X  d   V'       d   V\!        V4      ,          pMIV
P                  R4      R8X  d4   RP                  V
P                  R\        4      P                  4       4      pVR9   g   Kñ  VP#                  4       W›&   EK  	  V	'       g   EK/  TP%                  R Uu. uF  qéP                  VR4      NK  	  up4       EKb  	  RRR4       X^ ,          . RO8X  g   Q hVR,          # u upi u upi   + '       g   i     L5; i)zxl/workbook.xmlzx:sheetsÚnameÚ
Referenceszxl/sharedStrings.xmlzx:siÚ zxl/worksheets/sheet1.xmlzx:sheetData/x:rowzx:cz[A-Z]+Úrzx:vNÚtÚsÚ	inlineStrzx:is:é   NN)ÚBÚCÚDÚE)zImage numberzExpert groupzExpert genuszExpert Species)ÚzipfileÚZipFileÚETÚ
fromstringr	   ÚfindÚNSÚattribÚfindallÚjoinÚitertextÚreÚmatchÚgroupÚtextÚgetÚintÚstripÚappend)ÚpathÚzÚworkbookÚsheetsr   ÚssÚrootÚoutÚrowÚcellsÚcÚcolÚvÚvalueÚks   &              r   Úread_referencesrG   
   sÇ  € Ü‡o‚o�d×Ô˜qÜ�=Š=˜Ÿ™Ð 1Ó2Ó3€(¿=¹=ÈÔTVÓ;W°FÐfgÕ_h×_oÑ_oÐpvÕ_wð  zFô  `Fð  YFð  `Fô  jl÷  jwò  jwð  xy÷  x~ñ  x~ð  Uó  xVó  jW÷  j_ñ  j_ð  `fô  giô  jjó  Jkñ  jjð  efð  KM÷  KRñ  KRð  ST÷  S]ñ  S]ó  S_ö  K`ñ  jjð  GIð  Jkô  qs÷  q~ò  q~ð  @÷  Eñ  Eð  F`ó  aó  qbð  lpð  gið  cfØ�\‰\Ð-¬b×1€cØ	€5Ø�K‰K˜œb×!€qÜ
�Š�˜!Ÿ(™( 3�-Ó(×.Ñ.Ó0€C·6±6¸%ÄÓ3C°ÒTaÐfg×flÑflÒfxÈ!Ï&Ê&ð  AÀEØ‡u�uˆSƒz�3„Ÿ5 r¬#¨e«*¥~¡Ø	
�‰ˆs‹�[Ô	  r§w¡w¨q¯v©v°f¼RÓ/@×/IÑ/IÓ/KÓ'L Ø
ÐÖ¨5¯;©;«= ¤
ñ	 "÷
 ‚eˆC�J‰JÑ1BÓCÑ1B¨AŸ	™	 ! BžÑ1BÑC×Dñ 2÷ ð 	ˆA�ÒOÔOÐOÐOÐWZÐ[]ÕW^ÐP^ùò Jkùò D÷ ×ús>   ŸBJ-Â5(J#ÃC&J-ÇA J-È)J-ÉJ-ÉJ(É4J-Ê#
J-Ê-J=	c            !      ó¬  € \         P                  ! \        R ,          P                  4       4      R,          q R,          R8X  d&   V R,          R,          V R,          R,          3Rl8X  g   Q hV R,          R,           Uu/ uF  qR,          R	,          VR,          bK  	  pp\	        \        R
,          R4      VR
,          R,          R,          8X  d2   \	        \        R,          R4      VR,          R,          R,          8X  g   Q hVR,          q3R,          R8X  d   VR,          R,          R8X  g   Q h\        \        R,          4      p\        V4      ^�8X  g   Q hV Uu. uF  q^ ,          NK  	  pp\        \        V4      4      ^�8X  d,   \        V4      \        ^^ž4       Uu0 uF  qfR kK  	  up8X  g   Q h\        \         P                  ! \        R,          P                  4       4      R,          4      \        \         P                  ! \        R,          P                  4       4      R,          4      ,          p. pV FH  w  ršr¼VR,           V,           P                  4       qØP                  RRRV	RV
RVRVRVRW×9   R R!R"R#/	4       KJ  	  V Uu. uF  qR,          R$8X  g   K  VNK  	  pp\        V4      ^8X  g   Q h\        R%,          P                  R&R'R(7      ;_uu_ 4       p\        \        P                   ! VR)R*7      4      pR+R+R+4       \        X4      R,8X  d;   \"        ;QJ d    R- V 4       F  '       d   K   R.M	  R/M! R- V 4       4      '       g   Q h\$        P&                  ! R0 V 4       4      p\$        P&                  ! R1 V 4       4      pV Uu0 uF8  qR2,          P                  4       '       g   K!  VR2,          P                  4       kK:  	  pp\)        R3 V 4       4      p\        R4,          P                  4       pR5V9   g   Q h\        R%,          \        R6,          \        R7,          \        R4,          \        R ,          \        R
,          \        R,          \        R,          \        R,          \+        \,        4      3
 Uu/ uF+  p\/        VP1                  \        4      4      \	        V4      bK-  	  ppR8R9R:TR;R<R=R>R?R@RARBRCRD\        V4      RE\        V4      RF\        V Uu0 uF  qRG,          P                  4       kK  	  up4      RH\3        V4      RI\        V4      RJVRK\5        \        V4      V,          4      RLRMRNRO/RPRQRRRRRSVRT,          RUVR,          R,          RVRWRX\        V4      RY\3        \$        P&                  ! RZ V 4       4      4      R[\        V4      R\\3        \$        P&                  ! R] V 4       4      4      R^\5        V Uu0 uF  qR,          '       g   K  VR,          kK  	  up4      R_R`RaV/RbRc/p\6        Rd,          P9                  \         P:                  ! V^Re7      Rf,           4       \=        \         P:                  ! Rg\        V4      Rh\3        V4      Ri\        V4      Rj\        V4      RkVRP,          R\,          /^Re7      4       R+# u upi u upi u upi u upi   + '       g   i     ELµ; iu upi u upi u upi u upi )mzrecord.jsonÚdataÚpersistentUrlzhttps://doi.org/10.18150/YJJB05ÚlatestVersionÚversionNumberÚversionMinorNumberÚfilesÚdataFileÚfilenamez!README_RepOD_phytoplankton_AI.txtÚmd5ÚchecksumrE   zSupplementary_Table_S2.xlsxzFile_S3_Stage_2_files.zipÚidiƒÜ Ú 0f690e844be673a8489590513667450cÚ03dz+results/r112/species-scaleup/selection.jsonÚper_namez+results/r112/species-breadth/selection.jsonÚ ÚstageÚstage2Úimage_idÚsource_groupÚsource_genusÚsource_species_epithetÚsource_nameÚ,exact_literal_match_to_existing_source_namesÚindependence_statusz7unknown; no specimen/sample grouping in reference tableÚstatusz.reserved external candidate; not training dataÚBacillariophytazLM_pictures.tsvz	utf-8-sigr   )ÚencodingÚnewlineÚ	)Ú	delimiterNi˜  c              3   ó`   "  € T F$  pR V9   ;'       d    RV9   ;'       d    RV9   x € K&  	  R# 5i)úFolder (genus)úFolder (species)ÚimageN© ©Ú.0r   s   & r   Ú	<genexpr>Úmain.<locals>.<genexpr>   s:   é € ÐrÑlqÐghÐ 0°AÑ 5× bÐ bÐ:LÐPQÑ:Q× bÐ bÐV]ÐabÑVbÔ bÓlqùs   ‚.“. .FTc              3   óN   "  € T F  qR ,          P                  4       x € K  	  R# 5i)ztype of imageN©r7   rl   s   & r   rn   ro      sK   é € ð  Mxñ  rwð  mnð  P_õ  N`÷  Nfñ  Nf÷  Nhð  Nhó  rwùó   ‚#%c              3   óN   "  € T F  qR ,          P                  4       x € K  	  R# 5i)ri   Nrq   rl   s   & r   rn   ro      sK   é € ð  SAñ  {@ð  vwð  Vhõ  Ti÷  Toñ  To÷  Tqð  Tqó  {@ùrr   Úculturec              3   óV   "  € T F  pR VR,          P                  4       9   x € K!  	  R# 5i)zenriched culturert   N)Úlowerrl   s   & r   rn   ro      sY   é € ð  QLñ  FKð  ABð  Rdð  hið  jsõ  ht÷  hzñ  hzó  h|ö  R|ó  FKùs   ‚')zarchive-notice-2026-12-03.htmlztemporarily closedzmapfiles.txtz(FRESHBAR_picture_images_SLU_archive.xlsxÚformatz#r112-external-reference-metadata-v1Úinputs_sha256r   Úmetadata_urlz5https://researchdata.se/en/catalogue/dataset/2025-373Úimage_collection_handlez(https://hdl.handle.net/20.500.12703/6968Úlight_microscopy_handlez(https://hdl.handle.net/20.500.12703/6822Úpublished_image_licensez&CC0 1.0 according to dataset catalogueÚmetadata_rowsÚfolder_groupsÚtop_level_genus_folder_labelsrh   Útype_of_image_countsÚnonempty_exact_culture_stringsÚrows_with_enriched_culture_textÚ+matching_existing_exact_source_name_stringsÚimage_access_observationz¬On 2026-12-03 UTC, the archive handle returned an upgrade notice stating that its frontend was temporarily closed; status may change. No archive image pixels were obtained.Úgrouping_warninga‚  Rows, cultures and descendant strains are not necessarily independent. Metadata contain genus-only, qualified, mixed or complex labels and SEM entries. Culture strings are not a validated biological split. Calibration must be checked per image. All images reserved as a potential independent-source candidate pending metadata, lineage, accessibility, licensing and prior-exposure audit.r   Údataset_urlÚarchive_datafile_idÚarchive_expected_bytesÚfilesizeÚarchive_published_md5Úpublished_licensezzCC BY-SA 4.0 according to repository; attribution and share-alike requirements must be assessed for downstream derivativesÚreference_rowsÚreference_group_countsc              3   ó2   "  € T F  q^,          x € K  	  R# 5i)r"   Nrk   rl   s   & r   rn   ro      s6   é € ð  sGñ  BFð  }~ð  vw÷  txò  txó  BFùó   ‚Údiatom_candidate_countÚdiatom_reference_namesc              3   ó2   "  € T F  qR ,          x € K  	  R# 5i)r^   Nrk   rl   s   & r   rn   ro      s6   é € ð  `Cñ  {Bð  vwð  cp÷  aqò  aqó  {Bùr�   Ú2diatom_exact_literal_matches_to_selected_ude_namesÚreference_noteaö  Stage 2 images are labeled by the dataset authors; repeated names may represent related images or the same organism. This table does not establish independent specimens or scale. The dataset already reports outputs of GPT-5.6 Sol on these images, so that model was previously exposed; other prior training or model exposure is unknown. Preserve all 157 stage-2 and 30 stage-1 image cases as external evaluation candidates, not training inputs, pending detailed independence, overlap, and rights review.Úreserved_stage2_recordsÚlimitsz÷Metadata and sample-level identifiers do not prove external biological independence, taxonomy correctness, image quality or Academy similarity. No image pixels are opened by this metadata audit. Neither collection is a validated species benchmark.zmetadata-audit.json)ÚindentÚ
Úfreshbar_rowsÚfreshbar_typesÚrepod_reference_rowsÚrepod_diatomsÚrepod_diatom_names)r"   é    )ÚjsonÚloadsÚPÚ	read_textr   rG   ÚlenÚsetÚrangeÚRr7   r8   ÚFr   ÚlistÚcsvÚ
DictReaderÚallÚcollectionsÚCounterÚsumr   Ú__file__ÚstrÚrelative_toÚdictÚsortedÚOÚ
write_textÚdumpsÚprint)Úapir   rN   ÚarchiveÚrefsÚidsÚiÚoldÚreservedÚidentr3   ÚgenusÚspeciesr   Údiatomsr
   ÚfreshÚtypesÚfolderrt   ÚmixedÚnoticeÚ	files_shaÚreports                           r   ÚmainrÊ      s�  € Ü	‡Z‚Z”�=•×+Ñ+Ó-Ó.¨vÕ6€À/Õ>RÐTuÔ>uÐ{~ð  @Oõ  |Pð  Q`õ  |að  beð  fuõ  bvð  wKõ  bLð  {Mð  OTô  {Tð  8Tð  ?Tð  MPð  Q`õ  Mað  biö  Mjó  [kñ  Mjð  HIð  ^hõ  \ið  jtõ  \uð  vwð  xBõ  vCò  \Cñ  Mjð  UZð  [kô  syô  z{ð  |_õ  z_ð  `eó  sfð  hmð  nQõ  hRð  S]õ  h^ð  _fõ  hgô  sgô  lrô  stð  uRõ  sRð  SXó  lYð  [`ð  a~õ  [ð  @Jõ  [Kð  LSõ  [Tô  lTð  lTð  sTð  ]bð  c~õ  ]ð  U\ð  O	S	õ  G	T	ð  V	\	ô  G	\	ð  a	h	ð  i	s	õ  a	t	ð  u	|	õ  a	}	ð  	a
ô  a	a
ð  @	a
ð  G	a
Ü”aÐ5Õ5Ó6€¼cÀ$»iÈ¼nÐ7L¸nÑ`dÓQeÑ`dÐ[\ÐTU×RVÐRVÑ`dÈSÐQeÔmpÔqtÐuxÓqyÓmzÐ|Ômô  EHð  ILó  EMô  dið  jkð  loô  dpó  Oqñ  dpð  _`ð  UXð  RYò  PZñ  dpñ  Oqô  Eqð  gqð  nqô  vyô  z~÷  zDò  zDô  FGð  Huõ  Fu÷  E@ñ  E@ó  EBó  zCð  DNõ  zOó  vPô  QTô  UY÷  U_ò  U_ô  abð  cPõ  aP÷  `[ñ  `[ó  `]ó  U^ð  _iõ  Ujó  Qkõ  vkð  ruð  uwð  ltÛ"&Ñ€U�Øˆc�	�'Õ× Ñ Ó"€$§?¡?°G¸HÀZÐPUÐVdÐejÐkyÐzð  AYð  Zað  boð  ptð  ucð  dhñ  doð  pEð  Fð  @Hð  Iyð  4zö  ${ñ #'áÓ	F‘X� >Õ!2Ð4EÑ!E�!ˆ!‘X€Ð	FÌcÐRYËlÐ\^ÔN^ÐG^ÐN^ÜÐ	Õ× Ñ ¨+¸bÐ ×AÔAÀQÌTÔRU×R`ÒR`ÐabÐmqÔRrÓMsÀu×AÜˆE‹
�CŒŸC›CÑrÑlqÓrŸCŸCšCÑrÑlqÓr×rÒrÐrÐrô  zE÷  zMò  zMñ  Mxñ  rwó  Mxó  zxÐsxô  @K÷  @Sò  @Sñ  SAñ  {@ó  SAó  @Að  yñ  inó  JGñ  inð  deð  t}õ  r~÷  rDñ  rD÷  rFô  K_ð  KLð  MVõ  KW÷  K]ñ  K]ö  K_ñ  inð  BIð  JGô  NQñ  QLñ  FKó  QLó  NLð  HMô  UVð  Wwõ  Uw÷  TBñ  TBó  TDð  MSð  L`ð  djô  Ljð  Ejð  LjÜ67Ð8IÕ6IÌ!ÈNÕJZÔ[\ð  ^Hõ  \Hô  IJð  Kkõ  Ikô  lmð  n{õ  l{ô  |}ð  ~aõ  |aô  bcð  dAõ  bAô  BCð  Dqõ  Bqô  rsð  taõ  raô  bfô  goó  bpñ  6qó  rñ  6q°ŒC�—‘œaÓ Ó!¤&¨£)Ò+ñ  6q€ð  rØ	Ð7¸È	ÐR\Ð^lð  neð  fð  @jð  kDð  Eoð  pIð  Jrð  sBô  CFð  GLó  CMð  N]ô  ^að  bhó  ^ið  jIô  JMñ  tyó  Nzñ  tyð  opð  Qaõ  Ob÷  Ohñ  Ohö  Ojñ  tyñ  Nzó  J{ð  |Rô  SWð  X]ó  S^ð  _ô  @	C	ð  D	K	ó  @	L	ð  M	n	ð  o	t	ð  u	b
ô  c
i
ô  j
m
ð  n
t
ó  j
u
ð  v
y
õ  j
y
ó  c
z
ð  {
Uð  VDð  EWð  X\ð  ^]ð  ^eð  gtð  uVð  Wlð  msð  tLð  MTð  U_õ  M`ð  axð  y@ð  AKõ  yLð  MTõ  yUð  Við  jfð  gwô  x{ð  |@ó  xAð  BZô  [_ô  `k÷  `sò  `sñ  sGñ  BFó  sGó  `Gó  [Hð  Iaô  beð  fmó  bnð  oGô  HLô  MX÷  M`ò  M`ñ  `Cñ  {Bó  `Có  MCó  HDð  Eyô  z@ñ  \có  AYñ  \cð  WXð  iW÷  gXñ  gXô  BRð  BCð  DQ÷  BRð  BRñ  \cñ  AYó  zZð  [kð  ld'ð  e'~'ð  'G(ð  fH(ð  I(Q(ð  R(K,ð  	L,€ô  N,O,ð  P,e,õ  N,e,÷  M,q,ñ  M,q,ô  r,v,÷  r,|,ò  r,|,ð  },C-ð  K-L-ô  r,M-ð  N-R-õ  r,R-ô  M,S-ô  T-Y-ô  Z-^-÷  Z-d-ò  Z-d-ð  f-u-ô  v-y-ð  z--ó  v-@.ð  A.Q.ô  R.V.ð  W.\.ó  R.].ð  ^.t.ô  u.x.ð  y.}.ó  u.~.ð  .N/ô  O/R/ð  S/Z/ó  O/[/ð  \/p/ð  q/w/ð  x//õ  q/@0ð  A0Y0õ  q/Z0ð  e-[0ð  c0d0ô  Z-e0ö  T-f0ùò [kùÚQeùò  Oqùò 
GßA×AÐAüò JGùò rùò Nzùò  AYsN   Á= ZÅZÆ Z$ÊZ)Ê Z)Ë "Z.Î[Î7[Ò1[Ó([,×[<×&[<Ú.Z?	Ú__main__)Úsha256)Ú__doc__r¬   r©   r   rŸ   r1   r'   Úxml.etree.ElementTreeÚetreeÚElementTreer)   Úpathlibr   r¯   ÚresolveÚparentsr¦   r%   r´   r§   r¡   r,   r   rG   rÊ   Ú__name__rk   r   r   Ú<module>rÕ      sº   ðÙ Sß J× J× J× JÐ JÝ Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*MÕ(M aÐPQÐR{ÕP{ÈaÐ~ð  AKõ  KÐ|}ð  NOð  PWõ  NWð  LMð  \_ð  `[ð  [\ð  XZôò
_ò	f0ð ˆZÔ™žÑr   