Evidence platform and governance
ADR-0037 — Label-sealed acquisition, because the leak happens before the model
- Repository path
- docs/decisions/ADR-0037-label-sealed-feature-acquisition.md
- Size · SHA-256
- 5.1 KB · 71cdd4c1422a7d39231446a7c06ee7a847ccb1725a7560a19de1ae3247f4103d
Status
Accepted (Phase 15).
Context
Phase 14 ended on a leak no validation could detect. The only covariate available — the Yilgarn Craton polygon — had been ingested in Phase 11 because the corpus's deposits were inside it, and the dataset record said so in as many words. Cross-validation cannot repair that, because the decision was made before any data existed to split.
This is a class of error with no statistical remedy. It is a procedural error, and the only defence is procedural.
Decisions
1. The pre-registration is a commit, not a document.
FeatureAcquisitionPlan records the hypothesis, the feature families, the acceptance and
rejection criteria and the study-area criteria — and it was committed in f397e50 before
any dataset was searched for. Its value is entirely positional. A pre-registration written
afterwards is a rationalisation, and the only thing that distinguishes the two is the
history.
2. Label exposure is declared, not denied.
The author had read Phase 14 and knew where the Australian positives are. Claiming blindness would have been false and would have hidden the risk instead of bounding it. The plan states the exposure and states the defence: all 26 ultramafic lithology values were taken rather than a subset, so no choice among rock types could have been steered by knowing that Murrin Murrin sits in komatiite.
A second exposure is inherited and cannot be removed: the USGS deposit model supplying the hypothesis names Murrin Murrin, New Caledonia, Moa Bay and Falcondo as examples. The framework itself was written by people who knew where the deposits were. That is how deposit models are made, and it means validating against those same deposits is closer to consistency-checking than to prediction.
3. A two-stage workflow, enforced by a test.
Stage A builds features and may read a dataset record and a raw artefact. Stage B joins labels and may not change anything. A test reads the Stage A script and asserts it contains no label-bearing import or path — checking the code, with comments stripped, after an earlier version flagged the comment explaining why the seal exists.
4. The manifest freeze is a hash, and it caught a real mutation.
Everything about every candidate feature is hashed before labels are joined. The first diagnostics run refused: Prettier had reformatted the canonical layer, invalidating the freeze. That is the Phase 11 defect recurring in a directory that had not yet been protected — and this time a gate caught it rather than a person noticing months later.
5. FEATURE_SELECTED_BY_LABEL bars admission at the schema level.
Not a validator that could be argued with: a .refine that fails to load. The Phase 14
Yilgarn feature stays leaked and stays excluded. Acquiring broad geology later does not
retroactively clean a feature that was chosen because the deposits were inside it; a new
label-blind acquisition of the same concept is a new feature with new provenance.
6. Unknown acquisition history is not a clean record.
ACQUISITION_HISTORY_UNKNOWN bars admission too. Not knowing whether a feature was chosen
by its labels is not the same as knowing it was not.
Consequences
The corpus has its first admissible feature: mapped ultramafic protolith, national, 1:1M, 2,417 units, chosen on rock type alone with no spatial filter.
The post-freeze diagnostics then produced the result that could not be adjusted. One of four positives falls inside a mapped ultramafic unit, and the one that does not includes Murrin Murrin, the type example the model itself names.
That may be exactly what the geology predicts. The layer maps surface geology; a nickel laterite is a thick weathering profile developed on ultramafic rock, so where the laterite is well developed the surface is regolith and the protolith is buried. Feature and label would then be anti-correlated by construction. This is a hypothesis and is recorded as one — testing it needs the regolith layer the plan already marks ESSENTIAL. It is at least as likely to be evidence that one layer is not enough as evidence that the concept is wrong.
The background is now constructible, which was Phase 14's central failure. Mapped ultramafic-bearing units cover 11,106 km², 0.15% of the mainland, against the 798,384 km² (10.5%) Phase 14 was forced to assume. The geologically correct population is about seventy times smaller than the province proxy — the quantitative form of why that null was wrong.
Alternatives considered
Widening the lithology filter until more positives fell inside. This is the temptation the whole phase exists to refuse, and it would have converted a label-blind feature into a label-fitted one in a single edit. The 1-of-4 result stands.
Rejecting the protolith feature because it captures only one positive. Also refused, and also label-based selection — in the opposite direction. §45 of the brief names it, and the plan prohibits it. A geologically justified feature may perform poorly; Phase 16 decides whether it has predictive value, not this one.