Skip to content

Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)

State the finite-point assessment scope explicitly

Cinna Davis9bb13cacfd10
diff --git a/docs/FINITE_SEARCH_DECISION.md b/docs/FINITE_SEARCH_DECISION.md
index a9481c4..aaf4c30 100644
--- a/docs/FINITE_SEARCH_DECISION.md
+++ b/docs/FINITE_SEARCH_DECISION.md
@@ -63,6 +63,15 @@ representation must retain or improve each mode's original score, within numeric
tolerance. These checks prevent a mapping or normalization error from hiding a
better original grid hypothesis.
+For this narrow scope, a completed, fully supported core score at the frozen
+position/shared-clock/association/event subset and declared model counts as an
+assessment. Joint refinement of every retained point is not required. Failed,
+unvisited or unsupported core evaluations are unassessed. Unperformed refinements
+are explicit limitations, not an inferred continuous score bound. The leading
+estimate still needs successful complete measurement/model sensitivity profiles;
+all retained seeds remain in the ambiguity comparison. Do not turn on the old
+exhaustion/refinement boolean using this narrower meaning.
+
## Decision interpretation
A supplied finite object takes precedence over an optimistic legacy boolean.
@@ -79,7 +88,8 @@ undergoes the existing position/association near-tie checks against the actual
returned radius. Full measurement/model sensitivity and optimizer/boundary guards
remain mandatory.
-An accepted finite object records its grid resolutions, counts, bound, limitations
+An accepted finite object uses policy version `engineering-v4-finite-grid` and
+records its grid resolutions, counts, bound, limitations
and `continuous_space_uniqueness: not established` in the decision artifact. A
passing result supports only these declared assumptions. There is no new claim
that an uncalibrated radius guarantees the 1,000 m benchmark target.
diff --git a/src/aircraft_geoloc/confidence.py b/src/aircraft_geoloc/confidence.py
index 5ed0d67..231809d 100644
--- a/src/aircraft_geoloc/confidence.py
+++ b/src/aircraft_geoloc/confidence.py
@@ -253,6 +253,7 @@ def decide_location(events, candidates, coverage, *, matching_diagnostics=None,
"Competing hypotheses fit nearly as well; no unique precise location is supported.")
finite = evidence.get("finite_search_evidence")
if finite is not None:
+ diagnostics["policy_version"] = "engineering-v4-finite-grid"
try:
counts = [len({lookup[key].get("harmonic_group_id", key) for key in candidate["event_ids"]}) for candidate in candidates]
reason, details = _finite_search(finite, evidence, candidates, counts, policy)
@@ -290,4 +291,6 @@ def decide_location(events, candidates, coverage, *, matching_diagnostics=None,
diagnostics["radius_m"] = uncertainty["radius_m"]
if uncertainty["radius_m"] > policy.target_radius_m:
return result("location_uncertainty_too_large", "Spatial sensitivity exceeds the declared precision target.")
- return result("supported_by_evidence_checks", "Location passes the declared evidence checks; its sensitivity remains uncalibrated.", "succeeded")
+ message = ("Location passes the evaluated finite-grid and sensitivity checks; its uncertainty remains uncalibrated."
+ if finite is not None else "Location passes the declared evidence checks; its sensitivity remains uncalibrated.")
+ return result("supported_by_evidence_checks", message, "succeeded")
diff --git a/tests/test_confidence.py b/tests/test_confidence.py
index e4ca8a1..6db14ea 100644
--- a/tests/test_confidence.py
+++ b/tests/test_confidence.py
@@ -36,6 +36,7 @@ def test_complete_fixture_passes_without_probability_and_preserves_inputs():
before = deepcopy(bundle)
result = decide(bundle)
assert result["status"] == "succeeded"
+ assert result["diagnostics"]["policy_version"] == "engineering-v4-finite-grid"
assert result["diagnostics"]["probability"] is None
assert result["diagnostics"]["calibration"] == "uncalibrated"
assert bundle == before