Skip to content

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

Verify every independent group survives four- and six-event audio (#5)

Cinna Davis47261fee8f75
diff --git a/docs/AUDIO_DISCOVERY.md b/docs/AUDIO_DISCOVERY.md
index ef87d12..9839789 100644
--- a/docs/AUDIO_DISCOVERY.md
+++ b/docs/AUDIO_DISCOVERY.md
@@ -107,3 +107,10 @@ truth. Fourteen known synthetic controls retain8 hits/0 misses/0 false alarms.
The extra unverified reference proposals remain a matching/search cost. Earlier
3.0-threshold evidence and the faint-pass miss stay preserved; no held-out or
100m localization claim follows from this development tuning.
+
+Discovery returns all accepted independent groups; it has no global two- or
+three-event maximum. Four- and six-episode generated audio regressions check that
+later events survive and harmonics count once. These audio-only controls test
+retention, not geographic accuracy. The per-frame peak budget remains an explicit
+bounded-analysis setting, and unsupported or missed tones are not a completeness
+guarantee. The contrast 2.5 settings are frozen for the new public-camera batch.
diff --git a/evidence/audio/w1-sensitivity-20261102/README.md b/evidence/audio/w1-sensitivity-20261102/README.md
index 6e54542..d586bb2 100644
--- a/evidence/audio/w1-sensitivity-20261102/README.md
+++ b/evidence/audio/w1-sensitivity-20261102/README.md
@@ -50,3 +50,12 @@ parent results/ did not exist. The original failure is retained. After mkdir -p
results, the same focused check with a new output path passes1 test in4.83s
(isolated-render-check.log). This was a runner setup correction, with no intake
or detection failure. Discovery settings remain frozen for the new webcam batch.
+
+All-event requirement regression: generated four- and six-episode audio-only
+controls retain every independent group and count each pair of harmonics once.
+Both cases pass in10.20s (all-event-retention-tests.log). Later passes are checked,
+not merely the first2or3. These are deterministic frequency-curve unit controls,
+not independent ADS-B/recording-location fixtures; they do not claim emission-time
+geolocation accuracy or actual four-event upload acceptance. Discovery already
+had no global event-count cap, so no scientific setting or pipeline contract was
+changed. Full physical/upload acceptance remains owned by the integration lane.
diff --git a/evidence/audio/w1-sensitivity-20261102/SHA256SUMS.json b/evidence/audio/w1-sensitivity-20261102/SHA256SUMS.json
index c8296aa..ffd65ae 100644
--- a/evidence/audio/w1-sensitivity-20261102/SHA256SUMS.json
+++ b/evidence/audio/w1-sensitivity-20261102/SHA256SUMS.json
@@ -1,5 +1,6 @@
{
- "README.md": "f3de9f198d69e4108dd1c82f6969a06ff4925c3cd5b6854a58f8d28d8424d29b",
+ "README.md": "f41d7dd0e7a4e16e80c0f583a5e62ac24cbabb26bbf9e2cf2d8d5f151c8d2d08",
+ "all-event-retention-tests.log": "fe04ddabfe9f655caaed4d9a79faa9e2b14c8535c29d6085a7d9f4f937e3fe8a",
"control-regression-predictions.json": "4f01f8727be598c1013552a2d90be9e5152c934072d79acf9086d48b3460df42",
"control-regression-report.json": "4ec33cec0302f991ddf5e518b552bd964ffdf4e27f6bde320508cab5948d3d0f",
"default-equivalence.json": "c8dcc2b28249862902d55de06503fc107fab345ce398c3bc3fd649533ce71085",
diff --git a/evidence/audio/w1-sensitivity-20261102/all-event-retention-tests.log b/evidence/audio/w1-sensitivity-20261102/all-event-retention-tests.log
new file mode 100644
index 0000000..224b71e
--- /dev/null
+++ b/evidence/audio/w1-sensitivity-20261102/all-event-retention-tests.log
@@ -0,0 +1,2 @@
+.. [100%]
+2 passed in 10.20s
diff --git a/tests/test_discovery.py b/tests/test_discovery.py
index adce337..da5bc89 100644
--- a/tests/test_discovery.py
+++ b/tests/test_discovery.py
@@ -1,4 +1,5 @@
import numpy as np
+import pytest
import soundfile as sf
from aircraft_geoloc.contracts import validate_event
@@ -102,3 +103,17 @@ def test_ambiguous_fragment_continuations_remain_separate():
assert len(_stitch_fragments([first, second, competitor], DiscoverySettings())) == 3
assert len(_stitch_fragments([first, second], DiscoverySettings())) == 1
assert len(_stitch_fragments([first, path(50, 80)], DiscoverySettings())) == 2
+
+
[email protected]("count", [4, 6])
+def test_all_independent_flyovers_are_retained(tmp_path, count):
+ centers = [65 + 100 * i for i in range(count)]
+ frequencies = [120, 170, 230, 140, 260, 190]
+ recording = _audio(tmp_path, [(center, frequency, [1, 2])
+ for center, frequency in zip(centers, frequencies)],
+ duration=100 * count + 30)
+ events = discover_events(recording)
+ assert len(events) == count
+ for center, event in zip(centers, events):
+ assert event["start_s"] < center < event["end_s"]
+ assert event["quality"]["harmonic_count"] >= 2