+
    8Ñk²  ã                  óÞ   € R t ^ RIHt ^ RIt^ RIt^ RIHt ^ RIt^ RI	H
t
 ^ RIHt ]! ]4      P                  4       P                  P                  t]R,          t]R,          t ! R R	4      tR# )
záExplicit prior-split aware access to rarer UDE development crops.

No partition is an independent benchmark. Masks, names and background are not
scientifically adjudicated. The full pool exposes prior tuning/check locations.
)ÚannotationsN)ÚPath)ÚImage)Úsha256zresults/r112/species-breadthz5results/r112/species-scaleup/location-partitions.jsonc                  ó@   € ] tR t^t]3R]RR/R R llltR tR tRt	R	# )
ÚUDEBreadthDatasetÚprior_splitÚinclude_unverified_masksFc               ó   € V ^8„  d   QhRR/# )é   ÚscopeÚstr© )Úformats   "Ú#diatom_pilot/ude_breadth_dataset.pyÚ__annotate__ÚUDEBreadthDataset.__annotate__   s   € ÷ yñ y˜ñ yó    c               	ó	  € VR'9  d   \        R4      h\        V4      V n        Wn        W@n        V P                  R,          qPP                  R,          q`P                  R,          p\        V4      p\
        P                  ! VP                  4       4      p	\
        P                  ! VP                  4       4      p
\
        P                  ! VP                  4       4      p\
        P                  ! VP                  4       4      pV	P                  R4      V
P                  R4      VP                  R4      3R(8w  d   \        R4      hV
R,          \        V4      8w  gn   VR	,          \        V4      8w  gW   VR
,          \        V4      8w  g@   VR,          \        V4      8w  g)   V
R,          \        V P                  R,          4      8w  d   \        R4      hV	R,          qÛR,          qìR,          p\        V4      \        V4      8w  g   \        V4      V
R,          8w  d   \        R4      h\        4       p\        P                  ! 4       p. p\        WÞ4       FÒ  w  ppVR,          pVP                  VR,          R4      pVV9   gP   VP                  4       '       d:   VVR,          VR,          V3VR,          VR,          VR,          VR,          38w  d   \        R4      hVP!                  V4       VV;;,          ^,          uu&   VR8X  g
   VR8X  g   K¿  VP#                  VV34       KÔ  	  \%        V4      VR,          8w  g   \        V4      V
R,          8w  d   \        R4      hVV n        V'       Ed   V P                  R,          pVR,          pVR,          pVP)                  4       '       g   \        R4      h\
        P                  ! VP                  4       4      p\
        P                  ! VP                  4       4      pVP                  R4      R 8w  gh   VR!,          \        V4      8w  gQ   VR	,          \        V4      8w  g:   VR",          V
R,          8w  g%   VR#,          V
R,          8w  g   VR$,          '       d   \        R%4      hR&# R&# ))Úprior_training_componentsÚall_exposed_developmentzLExplicit prior_training_components or all_exposed_development scope requiredzassets.jsonzverify.jsonzprior-split-exposure.jsonr   zUnsupported provenanceÚassets_sha256Úsource_assets_sha256Úsource_verify_sha256Úprior_80_partition_sha256Úselection_sha256zselection.jsonz&Source or location provenance mismatchÚrecordsÚgroup_partitionÚcropszSource count mismatchÚannotation_idÚsource_site_componentÚ
unassignedÚsource_speciesÚsource_nameÚold_80_name_location_partitionz*Invalid or duplicate source location entryÚtrainingÚcountsz!Location exposure counts mismatchúmask-hypothesesúprotocol.jsonz*Complete proposal verification is requiredz!r112-breadth-mask-verification-v1Úprotocol_sha256Úrequested_sourcesÚverified_recordsÚmissing_idsz.Incomplete or mismatched proposal verificationN)r   r   )zr112-species-breadth-assets-v1zr112-species-breadth-verify-v1z$r112-breadth-prior-split-exposure-v1)Ú
ValueErrorr   Úrootr   r	   ÚjsonÚloadsÚ	read_textÚgetr   ÚlenÚsetÚcollectionsÚCounterÚzipÚ	isdecimalÚaddÚappendÚdictÚentriesÚexists)Úselfr   r.   r   r	   Úassets_pathÚverify_pathÚ
audit_pathÚ
split_pathÚaÚvÚauditÚsplitÚrowsÚreportsÚpartsÚseenr&   r<   ÚxÚyÚidentÚpartÚhÚprotocolÚreportÚqÚps   &&&$$                       r   Ú__init__ÚUDEBreadthDataset.__init__   sÝ  € Ø
ÐIÔIÔPZð  \jó  Qkð  KkÜ�‹J€$„) %”zÐF^Ô(EÐko×ktÑktð  vCõ  lCÐ_j÷  PYñ  PYð  Zgõ  Pgð  DO÷  s|ñ  s|ð  }Xõ  sXð  hrô  dhð  itó  duð  Ycô  x|÷  xBò  xBð  CN÷  CXñ  CXó  CZó  x[ð  vwô  ^b÷  ^hò  ^hð  it÷  i~ñ  i~ó  i@ó  ^Að  \]ô  HL÷  HRò  HRð  S]÷  Sgñ  Sgó  Sió  Hjð  BGô  qu÷  q{ò  q{ð  |F÷  |Pñ  |Pó  |Ró  qSð  kpØ‡e�eˆHƒo�a—e‘e˜H“o e§i¡i°Ó&9Ð:ð  =gô  gô  nxð  yQó  nRð  hRØ€Õœ Ó,Ô,°Ð6LÕ0MÌvÐVaÓObÔ0bÐfkð  mCõ  gDô  FLð  MXó  FYô  gYð  ]bð  c~õ  ]ô  AGð  HRó  ASô  ]Sð  WXð  Ykõ  Wlô  ntð  uy÷  u~ñ  u~ð  Oõ  uOó  nPô  WPô  Wað  bJó  WKð  QKØˆ…|€$ )Õ,�GÐ9JÕ3K¨UÜˆƒY”�G“Ô¤ D£	¨1¨W­:Ô 5¼JÐG^Ó<_Ð6_Ü
ƒu€$”K×'Ò'Ó)ˆV°"¨'Ü�Ö�c€aˆØ	
ˆ?Õ	€5 §¡¨1Ð-DÕ+EÀlÓ!S˜DØˆt„m˜5Ÿ?™?×,Ò,°°qÐ9IÕ7JÈ1ÐMdÕKeÐfjÐ0kÐnoÐpõ  oAð  BCð  DQõ  BRð  STð  Ulõ  Smð  noð  pPõ  nQð  nRô  1Rô  Ycð  dPó  YQð  SQØ‡8�8ˆE„?�6˜$—< •?“<ØÐ&Ô&¨$°
Ö*:¸7¿>¹>È1ÈTÈ(Ö;Sñ	 ô
 
ˆ&ƒ\�5˜•?Ô"¤c¨$£i°°7µÔ&;Ä*ÐMpÓBqÐ<qØ€$„,ßÐØ	‡Y�YÐ Õ €1¨!¨OÕ*; À1À]Å?¸FØ
�-‰-�/Š/¤
Ð+WÓ XÐXÜ	‡Z‚Z�× Ñ Ó"Ó#€1¤d§j¢j°×1CÑ1CÓ1EÓ&F AØ‡e�eˆHƒoÐ:Ô:¸aÐ@QÕ>RÔTZÐ[cÓTdÔ>dÐhið  kAõ  iBô  DJð  KVó  DWô  iWð  [\ð  ]põ  [qð  stð  u|õ  s}ô  [}ð  ABð  CUõ  AVð  XYð  Zaõ  Xbô  Abð  fgð  hu÷  fvô  fvô  }Gð  Hxó  }yð  wyñ  fvñ	 r   c                	ó,   € \        V P                  4      # )N)r3   r<   )r>   s   &r   Ú__len__ÚUDEBreadthDataset.__len__$   s   € œ#˜dŸl™lÓ+Ð+r   c                	óÈ  € V P                   V,          w  r#VR ,          q@P                  VR,          ,          pVP                  4       V P                  R,          V R2,          P                  4       8w  g   \        V4      VR,          8w  d   \	        R4      h\
        P                  ! V4      P                  R4      qfP                  4        RVR VRVR	,          R
VR
,          RVR,          RVRV P                  RVR,          RVR,          RRRRRR/pV P                  '       Ed½   V P                  R,          p\        P                  ! VR,          V R2,          P                  4       4      p	V	R,          VR,          8w  g   V	R,          \        VR,          4      8w  d   \	        R4      h. p
R( Fú  pV	R,          V,          qÈVR,          ,          pVP                  4       VR,          V RV R2,          P                  4       8w  g   \        V4      VR ,          8w  d   \	        R!4      h\        P                  ! \
        P                  ! V4      P                  R4      4      ^ 8„  pVP                   VP"                  VP$                  38w  d   \	        R"4      hV
P'                  V4       Kü  	  VP)                  R#\        P*                  ! V
4      R$R(R%V	R&,          RR'/4       V# ))r   Úsource_cropÚimagesz.pngÚsource_sha256zSource crop checksum mismatchÚLÚimager#   r"   Úsource_genusr    Úprior_80_location_partitionr   Úsource_um_per_pixel_xyÚsource_scale_um_pxÚtaxonomic_statusÚmask_statuszno verified instance maskÚbackground_statusz)unknown; crop may contain other organismsÚcomparison_statusz9development only, not an independent biological benchmarkr'   r   z.jsonr)   r(   z!Mask proposal provenance mismatchÚmasksÚfileÚ-r   zMask proposal checksum mismatchzMask shape mismatchÚweak_mask_proposalsÚweak_mask_orderÚmask_triageÚtriagez=three unverified model proposals; not biological ground truth)ÚcenterÚminusÚplus)r<   r.   Úresolver   r-   r   ÚopenÚconvertÚloadr   r	   r/   r0   r1   ÚnpÚasarrayÚshapeÚheightÚwidthr:   ÚupdateÚstack)r>   ÚindexrK   rN   rM   Úpathr^   ÚresultrO   Úrecordrg   ÚkÚitemÚms   &&            r   Ú__getitem__ÚUDEBreadthDataset.__getitem__%   s+  € Ø	�‰�eÕ	�&€! 1 _Õ#5˜U¿9¹9ÀQÀ}ÕEUÕ;U°dØ	‡\�\ƒ^�d—i‘i Õ(¨E¨7°$¨Õ7×@Ñ@ÓBÔBÄfÈTÃlÐTUÐVeÕTfÔFfÔmwð  yXó  nYð  hYÜ�
Š
�4Ó× Ñ  Ó%€%§j¡j¤l¸7À5ÈÐY^Ð_lÐmnÐoõ  nAð  BPð  QRð  Saõ  Qbð  czð  {|ð  }Tõ  {Uð  Vsð  txð  y@ð  AE÷  AKñ  AKð  Ldð  efð  g{õ  e|ð  }Oð  PQð  Rdõ  Peð  fsð  tOð  Pcð  dOð  Pcð  d_ð  ;`°6Ø	×"×"Ñ"Ø	‡Y�YÐ Õ €1¬¯
ª
°A°iµKÀ5À'ÈÀÕ4O×3ZÑ3ZÓ3\Ó(] Øˆ_Õ˜q Õ1Ô1°VÐ<MÕ5NÔPVÐWXÐYhÕWhÓPiÔ5iÔpzð  |_ó  q`ð  k`Ø	€5Û%€qØ	��˜Õ	€D 4¨¥<¥˜DØ‡|�|ƒ~˜˜'�	 U G¨1¨Q¨C¨tÐ"4Õ4×=Ñ=Ó?Ô?Ä6È$Ã<ÐQUÐV^ÕQ_ÔC_Ôfpð  rSó  gTð  aTÜ‡j‚j”—’˜DÓ!×)Ñ)¨#Ó.Ó/°Ñ1€AØ‡w�w�—‘˜eŸk™kÐ*Ô*´Ð<QÓ1RÐ+RØ	‡L�L�†Oñ &ð 
‡=�=Ð'¬¯ª°«Ð8IÐJcÐdqÐrxð  zBõ  sCð  DQð  RQð  Rô  SØ	€-r   )r<   r	   r.   r   N)
Ú__name__Ú
__module__Ú__qualname__Ú__firstlineno__ÚDEFAULTÚPRIOR_SPLITrT   rW   rƒ   Ú__static_attributes__r   r   r   r   r      s,   † Ø")ñ y¸ð yÐ]b÷ yð yò( ,ör   r   )Ú__doc__Ú
__future__r   r5   r/   Úpathlibr   Únumpyru   ÚPILr   Ú diatom_pilot.ude_scaleup_datasetr   Ú__file__rq   ÚparentÚROOTr‰   rŠ   r   r   r   r   Ú<module>r•      s\   ðñõ
 #ß Ý Û Ý Ý 3Ù	ˆ(ƒ^×ÑÓ×$Ñ$×+Ñ+€ØÐ+Õ+€ØÐHÕH€÷%ó %r   