# R115 · Test proposal agreement as a source-mask quality signal

Status: **needs review after a different-source development replay**. [29-case source-polygon diagnostic](/results/r112/source-mask-polygon-proxy/) · [post-hoc medoid and gated choices](/results/r112/source-mask-polygon-proxy/medoid-exploration.json).

On 29 previously used Khanom source polygons with reference-derived crops and prompts, the existing geometric rule marked 25 triads consistent and four for inspection; center-to-published-polygon IoU ≥0.5 was 25/25 and 1/4 respectively. After inspecting the cases, selecting the proposal with the largest sum of pairwise IoUs (ties center, minus, plus) matched 28/29 vs 26/29 for always-center at ≥0.5, but both matched 24/29 at ≥0.75; exact IoU increased in eight cases and decreased in four. A post-hoc gated policy (medoid only when existing triage flags the triad) scored 28/29 and 26/29 at those cutoffs. Both policies were chosen after examining this small, non-independent, reference-assisted set. Published polygons are author-provided, with unknown boundary conventions and expert status, not guaranteed biological truth.

## Next actionable experiment

1. Before inspecting new image pixels, freeze the exact center, medoid and gated rules, tie behavior, crop padding, three prompt construction, model and preprocessing, all thresholds and outcomes, source/exposure inventory, and sample selection. Do not change rules based on test outcomes. Preserve the Khanom results as development, not test.
2. Identify an accessible **different-source** annotated freshwater set with adequate instance boundaries and usage rights. If considering the Gündüz binary masks, explicitly audit foreground components, boxes and nonoverlap assumptions before source-pixel access; exclude previously used image IDs and investigate sample/slide identity. Structural components are proxies, not expert-confirmed instance masks. The reserved RepOD and FRESHBAR images remain off-limits until their separate R114 evaluation and sample/rights protocol is frozen.
3. Compare center, medoid and gated proposals against each source's stated boundary convention at IoU 0.5 and 0.75, report every case and triage stratum, and keep results separate for privileged reference-derived crops/prompts versus automatic acquisition. Record empty masks, mismatched objects and disagreement, including cases where all three agree but are wrong. Retain all alternatives and provenance; no ground-truth or species claim from shared-model consensus.
4. Only adopt a policy for training data after it survives a source- and sample-separated, predeclared comparison and real-scene specialist review. A positive result on previously viewed fields or a few overlapping pixels is insufficient.

## Predeclared Gündüz source-component replay

[All 20 case images](/results/r115/) · [frozen protocol](/results/r115/protocol.json) · [structural annotation audit](/results/r115/annotation-audit.json) · [independently replayed coarse similarity screen](/results/r115/leak-screen.json) · [results](/results/r115/results.json) · [verification](/results/r115/verify.json). Before fetching annotations or source image pixels, froze 48 numeric IDs absent from a limited local prior-use scan, plus the exact center, medoid and gated rules, source-mask eligibility, model, crop and prompt construction, similarity quarantine and metrics. The source is Hüseyin Gündüz’s CC BY-NC-SA 4.0 Diatom Dataset, previously used in this project. All 48 public binary masks and XML box files were structurally audited; 46 passed the existing non-intersecting-box, one-to-one component and 98% containment rule. Selected the first 24 passing IDs and the largest structurally mapped component per field, then downloaded those 24 source images.

Before inference, exact source-file hash and an eight-orientation masked DCT comparison against all 29 prior Khanom polygon crops quarantined four files under the frozen ≤8-distance rule; they were not replaced or evaluated. This screen can both flag lookalikes and miss related specimens and cannot prove source, site or pretraining independence. All 20 evaluated reference-derived prompts fell inside their matched source components. The masks are structurally inferred from source binary foreground and boxes, not expert-confirmed instance boundaries.

| Fixed choice | Source-component IoU ≥0.5 | IoU ≥0.75 | Mean IoU | Median IoU |
|---|---:|---:|---:|---:|
| Center | 17/20 | 17/20 | 0.812 | 0.936 |
| Agreement medoid | 20/20 | 19/20 | 0.923 | 0.951 |
| Gated medoid | 20/20 | 19/20 | 0.911 | 0.945 |

The medoid choice increased IoU in nine cases and decreased it in one; the gated rule changed three, improving all three relative to center against these source components. Those three were the only triads flagged by the geometry rule; the other 17 remained center by construction. This is encouraging evidence for another local comparison, not a calibrated mask-quality estimate: the reference determines both crop and prompts, source regions are selected for nonintersecting boxes, annotations may be incomplete, and 20 sampled files may be correlated or overlap earlier model training. It does not assess overlap recovery, automatic detection, species identification, Academy scans or label correctness. Do not silently replace the current center masks or label this independent biological validation.

The annotation component assignment and coarse screen were independently replayed; the results verifier reconstructed every crop, component, prompt, saved output hash, rule decision and metric without rerunning neural inference. License, source files and noncommercial/share-alike terms are recorded in [the local source mirror](/datasets/r115-gunduz/README.md). A further experiment must test genuinely independent expert-reviewed specimens, blind field proposals and difficult real overlaps; such evidence remains outstanding.

## Full-pool caution after the proxy replay

[Paired candidate render](/results/r112/gated-alternative-scenes/) · [area-risk audit and examples](/results/r112/gated-mask-risk-audit/). Applying the frozen gated rule as an explicitly separate development experiment selected non-center proposals for 409 placements (366 distinct sources). Visual inspection revealed masks covering broad rectangular or background-like regions. Selected proposals covered over 75% of the source crop in 126/366 changed sources; 40/409 changed placements had more than five times the original in-frame support area. Such metrics do not themselves prove an incorrect mask, since a real specimen may fill its crop or a center proposal may be nearly empty. The visible failures nevertheless show that the 20-case proxy replay does not justify automatic promotion of the gate to training labels. Original scenes are unchanged, all candidates remain unverified, and further expert and real-field assessment is needed.


## Other source-boundary approach to revisit

The [GrabCut pilot](/results/r112/grabcut-source-pilot/) matched 19/20 prior Gündüz component proxies at both IoU cutoffs versus 17/20 for MobileSAM center, but used reference-derived tight boxes and points on already consumed cases. It underperformed MobileSAM on the previously used Khanom polygon proxies, and 26/36 UDE candidates covered at most 1% of the crop; a known UDE failure collapsed to the seed. This is a possible source-specific fallback worth testing only with realistic rough boxes and a genuinely independent expert-reviewed sample, not a basis for automatic mask replacement.


## Consumed development source assets

The same 20 evaluated images and their structurally matched named components have now been prepared as [26 species-labeled development candidates](/results/r112/gunduz-species-assets/). Their prior R115 results were already development evidence and must not be reused as a fresh holdout. Source pixel scale, sample independence, taxon reconciliation and component correctness remain unresolved; backgrounds may contain neighboring organisms. The source's CC BY-NC-SA terms apply.


## Previously annotation-audited candidates designated development

The 22 remaining structurally matched images from the original 48-ID annotation preselection were later downloaded as explicit development material. Their annotation metadata had already been examined; they are not a fresh holdout. An additional coarse similarity screen quarantined eight of 33 components, and [25 remaining source-mask/name candidates](/results/r112/gunduz-expansion-assets/) were extracted. The screen does not establish independence, and scale, taxonomy and instance association remain unresolved.
