# R1 Local evaluation set

Status: started. The [development manifest](r1-development-fields.csv) records four fields and preserves 59 point observations in [the original export](../results/diatom-practice-round1.json). Two fields are marked reviewed. The other two have useful observations but were not marked fully reviewed. These points are provisional and unmarked pixels carry no negative label.

The existing six-slide field review used nine fields per slide and is already exposed to the project. Reserve independent biological samples outside those slides for evaluation after the lab establishes which slides share samples. The inventory contains 28 slides, but slide identifiers alone do not prove biological independence. Expert review, adjudication and the one-to-one scorer remain to be built. Do not calculate recall or false-positive rates from the provisional clicks.

Promising next step: use the 14 crossing-flagged observations to select development cases and check whether points distinguish individuals. Collect axes or a second point when needed to resolve crossings.

## One-to-one matching diagnostic

An initial [click-to-box matcher](r1_anchor_matching.py) and [visual result](../results/r1/) now make the merged-box problem explicit. On GC104889a field 1, one YOLO box contains six provisional possible-diatom marks. Naive point-in-any-box coverage credits all six; the maximum-cardinality one-to-one assignment credits at most one. Across the four practice fields, naive coverage is 13 of 54 marks and one-to-one matching is 8 of 54. These figures count provisional marks, not biologically verified recall. The two fields that were not marked fully reviewed remain incomplete; unmarked areas provide no negative labels. Boxes are not penalized as false positives.

Matches use containment of a field-local point in a predicted field-local box. No focal-plane registration, taxonomic identity, size constraint, orientation check or expert adjudication is applied. Any single large box can be assigned to one point within it even if it doesn't represent that particular candidate. When multiple equally valid matches exist, the selected point is arbitrary and should not be interpreted as identification. A match is therefore a diagnostic upper bound on what this assignment can credit, not a correct detection.

The assignment algorithm was checked against exhaustive enumeration on 100 small random cases and explicit merged-box, duplicate-box, empty-input, invalid-box and reassignment cases. It is a maximum-cardinality bipartite match. The reproducible regression checks are in [test_r1_anchor_matching.py](test_r1_anchor_matching.py). The source annotation and prediction focal planes sometimes differ; verify registration before using the same approach on high-resolution measurements. The next benchmark needs fully reviewed fields, matching tolerances and an explicit protocol for unresolved or ignored instances.
