+
    ˜Ëk  ã                   óL  € R t ^ RIt^ RIHt ^ RIt^ RIHt ^ RIH	t	 ^ RI
HtH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      R,          t]	! RRR7      t]R,          ]! ]R	,          4      8X  d   ]R,          ]! ]R,          4      8X  g   Q h]R,          P5                  4        F  w  tt]! ]],          4      ]8X  d   K  Q h	  ]R,          t]! ]4      ]! ]4      u;8X  d   ]! ]4      u;8X  d   R8X  dB   M Q h] U u. uF  q R,          NK  	  up ]P>                   U u. uF  q R,          NK  	  up 8X  g   Q h]R,          P5                  4        F°  w  t t!]PD                  ! ] U u. uF  q ] ,          f   K  V ] ,          NK  	  up 4      t#]PH                  ! ]#4      PK                  4       '       g   Q h]!P5                  4        F9  w  t&t'](! ])! ]PT                  ! ]#])! ]&4      4      4      ]',
          4      R8  d   K9  Q h	  K²  	  ]+! ],! ]! ]4      4      R R7      R,          t-]+! R ],! ]! ]4      4       4       R R7      R,          t.],! ^4       Uu. uF&  p]/! V]! ]4      ^,
          ,          ^,          4      NK(  	  upt0]1! ]-].,           ]0,           4      t2]! ]24      ]R,          8X  g   Q h]3! ]4       F–  w  t4t5R]59   ]4]29   8X  g   Q h]4]29   g   K  ]5R,          R]-3R ].3R!]033 UUu. uF  w  r#]4V9   g   K  VNK  	  upp8X  g   Q h]5R,          Pm                  4        F'  t7]! ]]7R",          ,          4      ]7R#,          8X  d   K'  Q h	  K˜  	  ]+! ]1! . R4O]-R$,          ,           ].R$,          ,           4      4      t8]8 EFy  t4]]4,          t9]]4,          t:]]:R%,          ,          t;]! ];4      ]:R&,          8X  g   Q h]! ]9]Px                  ! ]Pz                  ! ];4      P}                  R'4      4      ]:4      w  t?t@tA]]4,          P5                  4        UUu/ uF  w  rEVR59  g   K  WEbK  	  upptB]?]B8X  g   Q h]4]29   g   K¿  ]P†                  ! ]@]Px                  ! ]Pz                  ! ]]]4,          R,          R(,          R",          ,          4      4      4      '       d`   ]P†                  ! ]A]Px                  ! ]Pz                  ! ]]]4,          R,          R),          R",          ,          4      4      4      '       d   EKz  Q h	  R*R+R,]! ]R
,          4      R-]! ]4      R]! ]24      R.]8R/R0/tD]R1,          P‹                  ]PŒ                  ! ]D^R27      R3,           4       ]G! ]PŒ                  ! ]D^R27      4       R# u up i u up i u up i u upi u uppi u uppi )6zQIndependently check audit membership, summaries, and selected pixel calculations.N)ÚPath)ÚImage)ÚUDEScaleupDataset)ÚmeasureÚshazresults/r112/species-scaleupzrender-detail-auditzseam-repair-comparisonzprotocol.jsonzresults.jsonÚrecordsÚtrainingT)Úinclude_unverified_masksÚprotocol_sha256Úscript_sha256z$research/r112_render_detail_audit.pyÚinputs_sha256i  Úannotation_idÚsummaryg•Ö&è.>c                 óR   € \         V ,          R ,          \         V ,          R,          3# )Ú%mean_inserted_gray_change_inside_maskr   ©Úrows©Úis   &Ú%research/r112_render_detail_verify.pyÚ<lambda>r      s    € ¬$¨q­'Ð2YÕ*ZÔ[_Ð`aÕ[bÐcrÕ[sÑ)tó    )Úkey:Né   Nc              #   óV   "  € T F  p\         V,          R ,          f   K  Vx € K!  	  R# 5i)Ú"source_sobel_outside_mask_fractionNr   )Ú.0r   s   & r   Ú	<genexpr>r      sR   é € ð  Hbñ  Tdð  OPô  hlð  mnõ  hoð  pTõ  hU÷  IJò  IJó  Tdùs   ‚)Ÿ
)c                 óT   € \         V ,          R ,          ) \         V ,          R,          3# )r   r   r   r   s   &r   r   r      sV   € ô  rvð  wxõ  ryð  z^õ  r_ð  q_ô  `dð  efõ  `gð  hwõ  `xñ  pyr   Úreview_countÚreview_examplesÚreview_reasonsÚlow_inserted_changeÚhigh_outside_edgeÚfixed_referenceÚpathÚsha256:Né   NÚbackground_pathÚbackground_sha256ÚLÚ	compositeÚ
backgroundÚformatz"r112-render-detail-audit-verify-v1Úresults_sha256r   Úreconstructed_indicesÚchecksa9  All protocol hashes, dataset membership, summary quantiles, rank-selected review membership and example hashes verified; metrics and output/background pixels recomputed on selected cases. Overlay pixels, every metric and biological interpretation not independently verified. No tuning or check source pixels read.zverify.json)ÚindentÚ
)é    é¼   i¯  i‡  i^  i  )r    r!   )HÚ__doc__ÚjsonÚpathlibr   ÚnumpyÚnpÚPILr   Ú diatom_pilot.ude_scaleup_datasetr   Úr112_render_detail_auditr   r   Ú__file__ÚresolveÚparentsÚRÚDÚOÚPÚloadsÚ	read_textÚpÚrÚpreviousÚdataÚitemsÚfÚhr   ÚlenÚentriesÚkÚqÚarrayÚvÚisfiniteÚallÚaÚbÚabsÚfloatÚquantileÚsortedÚrangeÚlowÚhighÚroundÚrefÚsetÚchosenÚ	enumerater   ÚrowÚvaluesÚitemÚindicesÚsourceÚoldr%   ÚasarrayÚopenÚconvertÚmÚoutÚbgÚsavedÚarray_equalÚoutputÚ
write_textÚdumpsÚprint)Úxr   Únamerf   rO   rR   s   000000r   Ú<module>rw      s	  ðÙ WÛ Ý Û Ý Ý >ß 0Ù€xƒ.×ÑÓ×"Ñ" 1Õ%€¨Ð*HÕ(H aÈ1ÐMbÕKbÈÐefÐgÕeÐcdð  CG÷  CMò  CMð  OPð  Q`õ  O`÷  Nkñ  Nkó  Nmó  Cnð  ABð  qu÷  q{ò  q{ð  }~ð  Mõ  }M÷  |Xñ  |Xó  |Zó  q[ð  opð  ei÷  eoò  eoð  qrð  sAõ  qA÷  pLñ  pLó  pNó  eOð  PYõ  eZð  \dñ  `qð  r|ð  VZô  `[ð  [_ØÐ	Õ™S  ?Õ!2Ó3Ô3¸¸/Õ8JÉCÐPQÐRxÕPxÓLyÔ8yÐ yÐyØˆ_Õ×#Ñ#Ö%�C€A€a©S°°1µ«X°q®[Ð&8¨[Ñ%Ø€y…\€™˜T›¡C¨£MÖB±3°t³9ÖB¸dÖBð  Vð  VÑdhÓGiÑdhÐ_`È/×HZÐHZÑdhÑGið  IM÷  IUò  IUó  lVñ  IUð  DEÐn}×l~Ðl~ñ  IUñ  lVô  HVð  Vð  VØˆY�<×ÑÖ�C€A€aØ‡8‚8™4Ó4™4�a Q¥4ŒTˆQˆq�TˆT™4Ñ4Ó5€¸R¿[º[È»^×=OÑ=O×=QÒ=QÐ6QÐ=QØ�G‰GŽI�S€Q€q™S¡ r§{¢{°1±U¸1³XÓ'>Ó!?ÀÕ!AÓBÀ4ÖGÐGÐG‹Iñ  ñ ‰5‘�T“ÓÑ tÔuÐvyÕz€ñ  AGñ  Hbñ  TYñ  Z]ð  ^bó  Zcô  Tdó  Hbñ  gyô  Azð  {~õ  AÐ{ñ  hmð  npô  hqó  Drñ  hqð  cdñ  EJð  KLñ  NQð  RVó  NWð  XYõ  NYõ  KZð  []õ  K]ö  E^ñ  hqñ  Drð  @Cñ  z}ð  ~Að  BFõ  ~Fð  GJõ  ~Jó  zKð  syñ  SVð  W]ó  S^ð  `að  bpõ  `qô  Sqð  Lqð  SqÙ�tŽ_�E€A€cØ	˜cÑ	! Q¨&¡[Ô1Ð1Ð1Øˆ†KØ	ÐÕ	Ð<QÐRUÐ;VÐXkÐlpÐWqð  tEð  FIð  sJñ  ;Kô  !\ñ  ;K©,¨$ð  OPð  T[ñ  O[§ ñ  ;Kò  !\ô  
\ð  \ð  
\ØÐ#Õ$×+Ñ+Ö-€d±S¸¸4À½<½Ó5HÈ$ÈxÍ.Ö5XÐ.XÐ5XÓ-ñ	 ñ
 	‰sÒ-¨c°"­gÕ5°d¸2µhÕ>Ó?Ó@€Ü	€AØˆQ�€�H˜Q•K� Q sÐ+<Õ'=Õ%= ÁSÈÃYÐPSÐTgÕPhÔEhÐ>hÐEhÑryð  {Að  BD÷  BLò  BLð  MR÷  MWò  MWð  X\ó  M]÷  Meñ  Með  fió  Mjó  Bkð  loó  spÑiqÐijÐknÐoqð  GKð  LMõ  GN÷  GTñ  GTô  GVô  wHñ  GVñ  @Cð  @Að  Z[ð  cGñ  ZGô  x{ð  xyò  x{ñ  GVò  wHð  qvð  PQð  SXô  PXð  IXð  PXØˆ†KØ	�Š˜˜BŸJšJ u§z¢z°!°D¸µGÐ<MÕ4NÈ{Õ4[Ð\bÕ4cÕ2cÓ'dÓe×	fÒ	fÐkm×kyÒkyÐz|Ð}÷  ~Hò  ~Hð  IN÷  ISò  ISð  TUð  VZð  [\õ  V]ð  ^oõ  Vpð  q}õ  V~ð  Eõ  VFõ  TFó  IGó  ~H÷  lIõ  lIð  Ið  
Iñ 
ð 	Ð5Ð6FÁsÈ1È^ÕK[ÓG\Ð]cÑdgÐhlÓdmÐn|ñ  ~Að  BHó  ~Ið  Jað  bið  jrð  snð  o€ð  qrð  s@õ  q@÷  pLñ  pLð  MQ÷  MWò  MWð  X^ð  fgô  Mhð  imõ  Mmô  pnñ  otð  uy÷  uò  uð  @	F	ð  N	O	ô  uP	ö  oQ	ùò Hjùò  lVùâ4ùò Drùó !\ùó wHs6   ÆXÆ7XÇ>X
ÈX
Ë),XÎ X
ÎX
Ò'X Ò7X 