Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)
Python acoustic-geolocationads-baircraft-trackingairplaneaudio-forensicsdoppler-effectdoppler-shiftgeolocationosintsignal-processing
Record actual discovery controls with truth directories masked
Cinna Davis8b3470d071c6
diff --git a/benchmarks/README.md b/benchmarks/README.mdindex fce03a9..35f30b8 100644--- a/benchmarks/README.md+++ b/benchmarks/README.md@@ -67,6 +67,20 @@ detector settings on development controls before examining held-out predictions.These small public synthetic splits are regression controls, not independent realvalidation or an estimate of performance over arbitrary sound distributions.+The [isolated live receipt](reports/discovery-isolation-20261102/receipt.json) and+[all-case report](reports/discovery-isolation-20261102/report.json) exercise the+actual W1 intake/discovery source frozen at `62066ac` (discovery `4a49646`). Each+subprocess had both truth directories masked with bubblewrap, a read-only root,+private `/tmp`, disabled network and only its own output directory writable.+A separate probe verified label files were absent inside that namespace. All+14 cases completed: 8/8 labelled events, zero misses and zero false alarms, with+4/4 events in each split. All cases remain discovery-only inconclusive without+coordinates. Total per-case elapsed time was 120.1 s; maximum per-case peak RSS+was 240,021,504 bytes, including plotting/import/codec overhead. The receipt pins+source/input/prediction hashes and preserves the two failed isolation-harness+attempts; their failures are not detector outcomes. These results do not measure+historical flight association or real-world localization accuracy.+Detection evaluation merges harmonic groups and uses maximum-cardinality temporalIoU matching at 0.3 (predeclared). It reports TP, misses and false alarms. Localizationuses WGS84 geodesic error with a 100 m threshold, marks wrong flight associations asdiff --git a/benchmarks/reports/discovery-isolation-20261102/receipt.json b/benchmarks/reports/discovery-isolation-20261102/receipt.jsonnew file mode 100644index 0000000..1e4cb14--- /dev/null+++ b/benchmarks/reports/discovery-isolation-20261102/receipt.json@@ -0,0 +1,58 @@+{+ "scope": "Actual synthetic whole-file intake/discovery with truth masked; not location validation",+ "audio_source_commit": "62066ac",+ "discovery_implementation_commit": "4a49646",+ "evaluator_commit": "0b6fb44f7bdca45cf09a90b6f07541bdc4a389ef",+ "generator_sha256": "d6701bd7a2669da20c226259dc06b47f224f01911b7cff59ab9f328194db6d63",+ "source_sha256": {+ "discover_benchmark_case.py": "a1982c2e465aa0c40c57cf9e22327ba7749e4073ee470a6f55823e55862e9b5a",+ "scripts/discover_benchmark_case.py": "a1982c2e465aa0c40c57cf9e22327ba7749e4073ee470a6f55823e55862e9b5a",+ "src/aircraft_geoloc/__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "src/aircraft_geoloc/audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "src/aircraft_geoloc/cli.py": "591b4f6b6f08fb649acd0003f432bbd4f01ab3f9f8858b094245c54b9260ac00",+ "src/aircraft_geoloc/contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "src/aircraft_geoloc/discovery.py": "8c5c6e72289ee1db9cd9d70a7eafe60e07587fa0449d880437eda17ad6e8a26d",+ "src/aircraft_geoloc/geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "src/aircraft_geoloc/intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "src/aircraft_geoloc/matching.py": "dcf50d8583a99ed68483f68c9e61610dd47a19955a546fde017219b1d23f56ef",+ "src/aircraft_geoloc/pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "src/aircraft_geoloc/search.py": "7e1277bf1827d053dd4905d474aba3156a327c34c1d62b79775241012b5ae689",+ "src/aircraft_geoloc/terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "src/aircraft_geoloc/tracks.py": "9af648eaa1f7880ba00bead2a66cd7b05fb98f6a5d6045d506cf3276604ae6e3"+ },+ "input_manifest_sha256": "0451287ff21adac8947d9bf935b77d340bcb21146db529630625ff1112370e7a",+ "evaluation_truth_sha256": "cccfdef7034ca8e5cf3eac3bd5a41b9b061e5740465b9a040ea324eb84dfdc69",+ "raw_predictions_sha256": "fc962714df6eb37f3530c115df1c455df4b98568e0dda0d587c9925eac840c35",+ "report_sha256": "c1f852c4e38492802e255307cbca2d35d28ef84dccd675db84d84a797b3c61c1",+ "runtime_s_total": 120.11684894590871,+ "peak_memory_bytes_max": 240021504,+ "isolation": {+ "implementation": "bubblewrap",+ "network": "unshared",+ "root_filesystem": "read-only",+ "temporary_filesystem": "private /tmp",+ "writable_host_paths": "per-case output directory only",+ "truth_masked": [+ "controls/truth",+ "benchmarks/truth"+ ],+ "probe": "Asserted both labels.json and frozen-labels.json were absent in the same namespace configuration."+ },+ "command_template": "PYTHONPATH=src python scripts/run_benchmark.py CONTROL/inputs/manifest.json --output NEW_RUN -- bwrap --ro-bind / / --proc /proc --dev /dev --unshare-net --tmpfs /tmp --tmpfs CONTROL/truth --tmpfs REPO/benchmarks/truth --bind {output} {output} --setenv PYTHONPATH SNAPSHOT/src --setenv PYTHONDONTWRITEBYTECODE 1 --setenv MPLCONFIGDIR {output}/.matplotlib python SNAPSHOT/scripts/discover_benchmark_case.py {request} {output}",+ "superseded_harness_runs": [+ {+ "directory": "/home/cinna/dopplergeist-w4-evaluation/results/w4-discovery-hidden-truth-20261102",+ "completed_case_records": 14,+ "failures": 14,+ "reason": "No writable temporary directory in sandbox; all subprocesses failed before decoding.",+ "predictions_sha256": "4420970e8f1d7e28ec7d1bf2694803145d7fcffb48b5ce51a9400793a2d50b67"+ },+ {+ "directory": "/home/cinna/dopplergeist-w4-evaluation/results/w4-discovery-hidden-truth-v2-20261102",+ "completed_case_records": 9,+ "failures": 9,+ "reason": "Snapshot adapter placed outside scripts/, so provenance path failed after detection; runner stopped after recognizing failure.",+ "predictions_sha256": "4329a84b96dd62ea990cafc1b79a8def909f0b7570d80f457fd3af637ee24422"+ }+ ]+}diff --git a/benchmarks/reports/discovery-isolation-20261102/report.json b/benchmarks/reports/discovery-isolation-20261102/report.jsonnew file mode 100644index 0000000..ffe9460--- /dev/null+++ b/benchmarks/reports/discovery-isolation-20261102/report.json@@ -0,0 +1,298 @@+{+ "schema_version": 1,+ "threshold_m": 100,+ "event_iou_threshold": 0.3,+ "cases": [+ {+ "case_id": "control-001",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 8.060110419988632,+ "peak_memory_bytes": 154537984,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-002",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 11.68624528698274,+ "peak_memory_bytes": 154353664,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-003",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 10.471802457002923,+ "peak_memory_bytes": 154898432,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-004",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 7.012917518004542,+ "peak_memory_bytes": 217169920,+ "true_positives": 1,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-005",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 7.109498978999909,+ "peak_memory_bytes": 233148416,+ "true_positives": 2,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-006",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 6.204063816985581,+ "peak_memory_bytes": 147955712,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-007",+ "split": "development",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 6.392352189985104,+ "peak_memory_bytes": 216186880,+ "true_positives": 1,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-008",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 5.389929319993826,+ "peak_memory_bytes": 154587136,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-009",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 5.845560258982005,+ "peak_memory_bytes": 154497024,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-010",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 4.8710070149973035,+ "peak_memory_bytes": 154693632,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-011",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 6.97275784201338,+ "peak_memory_bytes": 217161728,+ "true_positives": 1,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-012",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 9.374756984994747,+ "peak_memory_bytes": 240021504,+ "true_positives": 2,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-013",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 7.15562208899064,+ "peak_memory_bytes": 148459520,+ "true_positives": 0,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ },+ {+ "case_id": "control-014",+ "split": "held_out",+ "scope": "synthetic_discovery_control",+ "status": "inconclusive",+ "reason_code": "discovery_only",+ "location_accuracy_eligible": false,+ "eligibility_limit": "Discovery-only audio control, no location-labelled historical flight corpus.",+ "runtime_s": 23.570224767987384,+ "peak_memory_bytes": 215949312,+ "true_positives": 1,+ "misses": 0,+ "false_alarms": 0,+ "location_returned": false+ }+ ],+ "summary": {+ "cases": 14,+ "eligible_location_cases": 0,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 14,+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 8,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": 1.0,+ "detection_precision": 1.0+ },+ "by_split": {+ "development": {+ "cases": 7,+ "eligible_location_cases": 0,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 7,+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 4,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": 1.0,+ "detection_precision": 1.0+ },+ "held_out": {+ "cases": 7,+ "eligible_location_cases": 0,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 7,+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 4,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": 1.0,+ "detection_precision": 1.0+ }+ },+ "by_scope": {+ "synthetic_discovery_control": {+ "cases": 14,+ "eligible_location_cases": 0,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 14,+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 8,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": 1.0,+ "detection_precision": 1.0+ }+ },+ "limits": [+ "Synthetic and manually configured regional results do not validate automatic national search.",+ "Uncalibrated sensitivity is not a coverage probability."+ ],+ "input_sha256": {+ "manifest.json": "0451287ff21adac8947d9bf935b77d340bcb21146db529630625ff1112370e7a",+ "predictions.json": "fc962714df6eb37f3530c115df1c455df4b98568e0dda0d587c9925eac840c35",+ "labels.json": "cccfdef7034ca8e5cf3eac3bd5a41b9b061e5740465b9a040ea324eb84dfdc69"+ }+}