+
    ûÂko
  ã                   ó6  € R t ^ RIt^ RIt^ RIt^ RIt^ RIt^ RIt^ RIHt ]! ]	4      P                  4       P                  ^,          t]R,          t]R,          tR t]P                   ! ]P#                  4       4       U u0 uF  q R,          R8X  g   K  V R,          kK  	  up t]! ]4      R	8X  g   Q h]P(                  ! R
RR7      ;_uu_ 4       t]! ]4      R,          t]P/                  RP1                  ]! ]4      4      R,           4       ]P4                  ! RRRR]! ]4      RRRRR.
]RRR7      t]P:                  R*9   g   Q ]P<                  4       h]P>                  PA                  4       t!RRR4       . t"R t#]! F2  t]#! ]PH                  ! ]],          PK                  4       4      R]4       K4  	  ]P4                  ! . R+O]RRR7      t]P:                  R*9   g   Q ]P<                  4       h. t+]P>                  PA                  4        F;  t,]PZ                  ! R],4       F!  t.].]9   g   K  ]+P_                  R],R]./4       K#  	  K=  	  RRR ]! ]4      R!]! ]! ]	4      4      R"]! ]4      R#]! ]!4      R$]"R%]+R&R'/t0]R(,          P/                  ]Pb                  ! ]0^R)7      R,           4       ]2! ]Pb                  ! R, Uu/ uF  q]0V,          bK  	  up^R)7      4       R# u up i   + '       g   i     EL|; i  ]&]'](3 d   t)]*! R],           4      ])hRt)A)ii ; iu upi )-zOSearch indexed local result metadata/artifact names for candidate-location IDs.N)ÚPathz"results/r112/ude-sampling-metadatazexposure-ledger.csvc                 óx   € \         P                  ! \        V 4      P                  4       4      P	                  4       # )N)ÚhashlibÚsha256r   Ú
read_bytesÚ	hexdigest)Úps   &Ú,research/r112_ude_candidate_exposure_scan.pyÚ<lambda>r
      sY   € Ôv}÷  wEò  wEô  FJð  KLó  FM÷  FXñ  FXó  FZó  w[÷  weñ  weô  wgó    Úexposure_statusÚcandidate_unseen_locationÚannotation_idiŠ  z/tmpzr112-id-audit-)ÚdirÚprefixzids.txtÚ
Úrgz-lz-Fz-fÚresultsz--globz*.jsonz!r112/ude-sampling-metadata/**T)ÚcwdÚcapture_outputÚtextc           	      óŽ  € \        V \        4      '       d?   V P                  4        F(  w  r4\        WAR ,           \	        V4      ,           V4       K*  	  R# \        V \
        4      '       d:   \        V 4       F(  w  rT\        WAR ,           \	        V4      ,           V4       K*  	  R# \        V \        \        34      '       d�   \	        V 4      qf\        9   d   V0M	\        4       \        P                  ! RV4       Uu0 uF  qw\        9   g   K  VkK  	  up,          pV F  p	\        P                  RVRVRV	/4       K   	  R# R# u upi )Ú/z"(?<![\da-fA-F])\d{8}(?![\da-fA-F])ÚfileÚ	json_pathr   N)Ú
isinstanceÚdictÚitemsÚvisitÚstrÚlistÚ	enumerateÚintÚidsÚsetÚreÚfindallÚexactÚappend)
ÚxÚpathr   ÚkÚvÚiÚsÚnÚfoundÚidents
   &&&       r	   r   r      sÝ   € Üˆq”×ÒØ�W‰WŽY�c€a”u˜Q C�x¬¨A«�¨tÖ4‹YÜ�”4×ÒÜ�qŽ\�c€aœ%  s¥(¬3¨q«6¥/°$Ö7‹\Ü�”Cœ�9×ÒÜˆƒF€!œcœ�1‘#¤s£u¼2¿:º:ÐFkÐlmÔ;nÓ/{Ñ;n°aÔwzÑrz·°Ñ;nÑ/{Õ|ˆ5Û€e”U—\‘\ 6¨$¨{¸4ÀÐPUÐ"VÖW‹uñ ùÚ/{s   Ã:EÄEÚ zCould not audit z(?<!\d)\d{8}(?!\d)r*   Úformatzr112-candidate-exposure-scan-v1Úledger_sha256Úscript_sha256Úcandidate_annotation_idsÚ"json_files_with_raw_substring_hitsÚjson_exact_id_hitsÚ#image_or_archive_paths_with_id_hitsÚlimitationsal  Searches existing results JSON values and image/archive filenames for exact eight-digit annotation IDs. It cannot detect prior display under different IDs, source filenames without annotation IDs, renamed or cached images, other output formats, outside-workspace use, model pretraining or biological sample overlap. A zero result is not proof of no prior exposure.zcandidate-exposure-scan.json)Úindent)é    é   )r   z--filesr   Údatasetsú-gz*.pngr?   z*.jpgr?   z*.tifr?   z*.tiffr?   z*.npz)r6   r7   r8   r9   )3Ú__doc__Úcsvr   Újsonr%   Ú
subprocessÚtempfileÚpathlibr   Ú__file__ÚresolveÚparentsÚRÚOÚLÚshaÚ
DictReaderÚopenr#   ÚlenÚTemporaryDirectoryÚtmpÚfÚ
write_textÚjoinÚsortedÚrunr   ÚqÚ
returncodeÚstderrÚstdoutÚ
splitlinesÚfilesr'   r   ÚloadsÚ	read_textÚ
ValueErrorÚUnicodeErrorÚOSErrorÚexÚRuntimeErrorÚpathsr   r&   r1   r(   ÚresultÚdumpsÚprint)Úrr+   s   00r	   Ú<module>ri      sê  ðÙ Uß .× .× .Ý Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*NÕ(N aÐQRÐShÕQhÈqñ  ngÐilð  IL÷  IWò  IWð  XY÷  X^ñ  X^ó  X`ô  Iaó  lWñ  Iað  DEð  gxõ  eyð  {Vñ  eVô  mð  mnð  o~÷  mð  mñ  Iañ  lWð  hkñ  _bð  cfó  _gð  ilô  _lð  Xlð  _lØ× Ò  VÐ3C×DÕDÈÙˆƒ9ˆYÕ€�q—|‘| D§I¡I©f°S«kÓ$:¸4Õ$?Ô@À:Ç>Â>ÐSWÐX\Ð]aÐbfÑgjÐklÓgmÐnwð  yAð  BJð  KSð  Ttð  Suð  z{ð  KOð  UYô  DZÀð  bc÷  bnñ  bnð  rwô  bwð  [@ð  xy÷  x@ñ  x@ó  [@ð  bwð  GH÷  GOñ  GO÷  GZñ  GZó  G\ð  AF÷ Eà€òXó 
€AÙ
ˆ4�:Š:�q˜•s—o‘oÓ'Ó(¨¨AÖ.ñ 
ð ‡.‚.ÒxÐ}~ð  OSð  Y]ô  ^€ð  fg÷  frñ  frð  v{ô  f{ð  _Dð  |}÷  |Dñ  |Dó  _Dð  f{ð  KMð  EJØ	
�‰×	Ñ	Ö	€AØ�jŠjÐ.¨qÖ1€UØ
ˆc†\�%—,‘,  q¨¸Ð?Ö@ó 2ñ 
ð 	Ð2°?Á3ÀqÃ6È/ÑZ]Ñ^bÐckÓ^lÓZmð  oIñ  JMð  NQó  JRð  Swñ  x{ð  |Aó  xBð  CWð  X]ð  ^Cð  DIð  JWð  XF
ð  G
€ð  I
J
ð  K
i
õ  I
i
÷  H
u
ñ  H
u
ð  v
z
÷  v
@ò  v
@ð  AGð  OPô  v
Qð  RVõ  v
Vô  H
Wñ  X]ð  ^b÷  ^hò  ^hñ  {ó  i|ñ  {ð  z{ð  lrð  stõ  luò  juñ  {ñ  i|ð  DEô  ^Fö  XGùò' lWßD×DÐDûð 
�L Ð)Ô`±lÐCUÐVWÕCWÓ6XÐ^`Ð0`ûÐ`üò
 i|s7   Á?KÂKÃBK Å?/K4Ê:LË K1	Ë4
LË>LÌL