{
  "format": "r115-gunduz-protocol-v1",
  "source": "H\u00fcseyin G\u00fcnd\u00fcz Diatom Dataset, CC BY-NC-SA 4.0; binary foreground components matched structurally to XML boxes are only proxies, not expert-confirmed instance masks.",
  "inventory_sha256": "2eada75a62178a9afbac4cec81575aaf3d0ed80fe2892396465606e2c9c18cd2",
  "id_screen_sha256": "5a3801d977007a70743bf3e68bc35440beb32291368093dec4474c16a9482716",
  "prior_polygon_results_sha256": "38a838fe4ac83887d7e53d2a515228950812ec06c8ae93aa0af073f749779b16",
  "prior_medoid_results_sha256": "13ec8795e3e5e1d6c2f91204d9fecc34b5ad2629a9f97538b637c0a9f0154d6f",
  "model_sha256": "6dbb90523a35330fedd7f1d3dfc66f995213d81b29a5ca8108dbcdd4e37d6c2f",
  "seed": 20261203,
  "preselection": [
    "2567",
    "395",
    "167",
    "2608",
    "537",
    "960",
    "847",
    "954",
    "288",
    "1661",
    "2609",
    "1150",
    "407",
    "2493",
    "309",
    "1905",
    "1637",
    "1320",
    "2640",
    "1360",
    "2042",
    "2192",
    "2019",
    "463",
    "2214",
    "1313",
    "948",
    "1721",
    "841",
    "1731",
    "1595",
    "409",
    "1922",
    "1238",
    "135",
    "1239",
    "2252",
    "1575",
    "1422",
    "143",
    "1386",
    "16",
    "2662",
    "2564",
    "1764",
    "1357",
    "516",
    "926"
  ],
  "annotation_selection": "Before any selected source image pixels are fetched, audit 48 preselected XML files and binary annotation masks. Require existing connected-component/box rule: non-intersecting boxes, 8-connected binary components area >=20, one-to-one mapping and >=98% within exactly one box. Pick first 24 passing file IDs in fixed sampled order. For each selected image pick the largest matched component; tie by box index. Do not replace after image download.",
  "duplicate_screen": "Before inference, compare each selected whole image and chosen component crop to all 29 prior R112 polygon-proxy source crops using exact whole-image SHA256 and 63-bit masked DCT hash over eight orientations. Quarantine if whole-image SHA matches or any crop DCT distance <=8; report all comparisons, no replacement. This coarse screen can miss related images or flag similar distinct specimens; it cannot establish independence.",
  "crop_prompt": "Take the chosen matched XML box with 15% longer-side padding, clipped to native image; convert to grayscale. Use its binary component as reference. Derive contour from largest 8-connected component external boundary via OpenCV CHAIN_APPROX_SIMPLE; use its vertex mean and \u00b120% principal-axis span with the same UDE helper. Resize/pad grayscale to 512 as in prior study. Crops and prompts derive from reference and are oracle-assisted.",
  "methods": "Compare same fixed center, 3-mask medoid (maximum sum of pairwise IoUs; ties center, minus, plus), and prior predeclared gated rule (center if existing geometric consistency triage passes, medoid otherwise). Triage requires minimum pair IoU >=0.75 and 3\u201375% center crop coverage. No reference-dependent candidate selection.",
  "outcomes": "For every non-quarantined field and selected component report source-relative IoU for each rule, >=0.5 and >=0.75 counts, mean/median IoU, wins/losses, triage, ambiguity and all prompt positions/masks. Do not pool correlated cases as independent samples or treat source masks as expert-verified ground truth.",
  "limits": "Different source dataset but already examined in project, unknown image/sample/site or base-model training independence. Structural mapping excludes intersecting boxes and cannot test real overlap recovery or false positives. Source annotation author expertise and completeness are unknown. Whole image and crop fingerprint screening is not proof of independent biology. No Academy, species or production accuracy claim.",
  "implementation_sha256": {
    "research/r115_preselect.py": "4d7ce77c56f9578594b226f0b9896d78ce089f2b89da73942638e5752a62e1fe",
    "research/r115_annotation_audit.py": "abe45142ab47778b1f20917271380c9d6109e48b0ee8cd3f8a0afc37a2554677",
    "research/r115_fetch_images.py": "bffc09d01603ae0c1c49605b70cca5ed0dce52d5eb4f165e6f92025ebb74a21d",
    "research/r115_leak_screen.py": "1e25a70b0520a265490d0e25a4de71df40dd830278f5d69d759e523c974a11ad",
    "research/r115_evaluate.py": "035f81eb3381b440f1d451446dcfbd7bc7415b738cf7a2c2e46edf6a8731854c",
    "research/r46_fetch_cases.py": "77b26ea5d36abd0e4bbf01579ebf6321532658dfe06c0d56082160aae5e08261",
    "research/r46_audit_boxes.py": "c2c80b5b51c53ecb342d3e8e1611d8b1e887b0bcb22fe9af5f47d1ac720f2292",
    "diatom_pilot/mask_component_guard.py": "c535508301d8920c97729da1d28c3569cd5f42e870c203d1538532cbe7b31d93",
    "research/r76_source_audit.py": "850bc62190ac7fd70f6ae646d26586d9b607ca339e24145c606cefc0b995a89a",
    "research/r112_new_taxa_masks.py": "996ffe602d6bee813f19b04881b0466297db87c40feca0751ea2bbbf04780d09",
    "research/r112_scaleup_synthetic_compare.py": "9b8b6513420633af22169a752efc2a08cb82170672696b249200c81d12701cf7"
  }
}
