Python tool for aircraft Doppler audio geolocation using historical ADS-B flight data (Source-available)
Python acoustic-geolocationads-baircraft-trackingairplaneaudio-forensicsdoppler-effectdoppler-shiftgeolocationosintsignal-processing
Add four-flyover fixture and preserve automatic and webcam outcomes
Cinna Davis3c8b9da79972
diff --git a/benchmarks/MULTIEVENT.md b/benchmarks/MULTIEVENT.mdnew file mode 100644index 0000000..04c276e--- /dev/null+++ b/benchmarks/MULTIEVENT.md@@ -0,0 +1,37 @@+# Independent four-flyover fixture++Generate into a new directory:++```bash+PYTHONPATH=src .venv/bin/python scripts/make_multievent_benchmark.py --output results/four-events-new+```++This emits a 520-second MP3/WAV with four independent emission-domain flyovers,+1,812 trajectory rows spanning twelve opaque flight IDs in three distant regions,+a normal upload request and a separate truth directory. Seed 502013 is fixed.+The first two events have similarly shaped distant decoys; later decoy timings+and geometry differ. All events share one recording clock. Harmonics remain one+flyover. The inverse search physics is never imported by the renderer.++`inputs/request.json` contains only audio, the explicit synthetic recording clock+and CONUS coverage. It contains no event windows, bands, chosen flight IDs, receiver+coordinate or search box. `inputs/flights.csv` is the entire toy flight universe;+build the operator's FlightIndex from all rows without an aircraft allowlist.+Declare it synthetic complete input coverage, not an actual historical receiver+archive. Constant 122 m ground is a synthetic terrain fixture. The true recorder+coordinate and expected associations occur only in `truth/labels.json` and must+be unavailable to the upload backend. The global search grid remains independent+of the recorder. This is a development case, not a new held-out real recording.++Measured generation output is local at `results/w4-four-event-20261103`.+The actual W1 discovery adapter ran with both truth directories masked under+bubblewrap, using the approved unchanged defaults. Post-run evaluation found+**4/4 events, 0 misses, 0 false alarms**, with four distinct harmonic groups. Full+predictions and labels remain separate. A discovery-only result is inconclusive+for location; these counts do not establish association or localization accuracy.++The normal product upload must use all four supported groups, with one shared+clock/location. If a configured event or work budget prevents this, record+incomplete evidence; do not silently keep a smaller subset. The input and generator+hashes are pinned in the generated provenance. MP3 byte identity also depends on+the installed encoder; retain each generated hash rather than overwriting a run.diff --git a/benchmarks/reports/worker4-live-20261103/README.md b/benchmarks/reports/worker4-live-20261103/README.mdnew file mode 100644index 0000000..328cdab--- /dev/null+++ b/benchmarks/reports/worker4-live-20261103/README.md@@ -0,0 +1,46 @@+# Worker 4 measured integration and public-camera checks++The JSON reports preserve every run in this lane, including work limits, missing+recording clocks and invalid trailing segments. No case below is an independently+validated real national localization success.++- `automatic-synthetic-report.json`: three actual normal-input CLI experiments.+ The finer-grid run wrote all 19,278 tiles but exhausted its 600-second budget+ during refinement. The two 5 km coarse / 1 km grid-refinement runs completed all+ 3,116 CONUS tiles. Both found the correct flight pair and a best diagnostic+ candidate 5.5693 m from independently joined synthetic truth. One replay used+ fully opaque IDs. Both final decisions were `inconclusive /+ alternatives_not_assessed`; a local altitude-only sensitivity radius was also+ 109.74 m under the original 100 m policy. The bounded retained alternatives were+ not exhaustive. These candidates are not counted as accepted locations.+- `public-webcam-report.json`: six actual HTTP uploads. The three original usable+ clips and corrected Herald Square clip returned `needs_input /+ recording_time_required`, with zero proposals. Two invalid encoder tails+ returned `failed / invalid_media`. Input bytes, polling results and artifact+ readback were verified for every case. Zero proposals are observed outcomes,+ not certified aircraft-negative ground truth.+- `receipt.json`: source/input/configuration hashes, completed scope, independent+ regression checks and reported matching-worker regressions. HTTP process memory+ was not measured and remains absent. The matching-worker two-event and faint+ regional errors regressed to 116.16 m and 537.57 m; their clocks/reference labels+ remain limited, and the 606.954 m sensitivity profile reaches a boundary. A+ relaxed error target does not make that truncated profile complete.++The original public-camera audio-only capture collapsed part of the A/V timeline:+the 150-second Times Square segments contain about 147.9/148.5 seconds. All media+and invalid tails are preserved. The corrected Herald capture uses the separate+capture worker's timestamp-preserving script at `654fecc`; no video is saved. It+contains exactly 150.0 decoded seconds, SHA256+`ae0856bb4ec6187bc1b84eef992a9d10e73b276cf2de8d9f4cd36ba1f4ea98d0`,+received over 134.85 wall seconds because the stream is buffered.++Both EarthCam sources publish site markers and advertise audio. Neither inspected+HLS playlist supplies a programme date/time and inspected source frames have no+encoded recording clock. Receipt UTC is not microphone sample-zero UTC; the+map-marker microphone uncertainty is also unestablished. These remain real audio+discovery/product cases, explicitly ineligible for location-error claims. Source+media, stream queries, local decoder logs, credentials and caches are not committed.++Historical results and policy versions are unchanged. The current evaluator shows+100/500/1,000 m tiers, separates diagnostic errors from accepted fixes and reports+all statuses. No result was promoted by changing its original threshold.diff --git a/benchmarks/reports/worker4-live-20261103/automatic-synthetic-report.json b/benchmarks/reports/worker4-live-20261103/automatic-synthetic-report.jsonnew file mode 100644index 0000000..50e9c24--- /dev/null+++ b/benchmarks/reports/worker4-live-20261103/automatic-synthetic-report.json@@ -0,0 +1,151 @@+{+ "schema_version": 1,+ "threshold_m": 1000,+ "distance_thresholds_m": [+ 100,+ 500,+ 1000+ ],+ "event_iou_threshold": 0.3,+ "cases": [+ {+ "case_id": "national-fine",+ "split": "development",+ "scope": "automatic_national_synthetic",+ "status": "inconclusive",+ "reason_code": "work_limit",+ "location_accuracy_eligible": true,+ "eligibility_limit": null,+ "runtime_s": null,+ "peak_memory_bytes": null,+ "location_returned": false+ },+ {+ "case_id": "national-fast",+ "split": "development",+ "scope": "automatic_national_synthetic",+ "status": "inconclusive",+ "reason_code": "alternatives_not_assessed",+ "location_accuracy_eligible": true,+ "eligibility_limit": null,+ "runtime_s": 126.83705656800885,+ "peak_memory_bytes": null,+ "location_returned": false,+ "diagnostic_best_candidate_error_m": 5.569318171598563,+ "diagnostic_within_thresholds_m": {+ "100": true,+ "500": true,+ "1000": true+ },+ "diagnostic_flight_ids_correct": true+ },+ {+ "case_id": "national-opaque",+ "split": "development",+ "scope": "automatic_national_synthetic",+ "status": "inconclusive",+ "reason_code": "alternatives_not_assessed",+ "location_accuracy_eligible": true,+ "eligibility_limit": null,+ "runtime_s": 62.95651010199799,+ "peak_memory_bytes": null,+ "location_returned": false,+ "diagnostic_best_candidate_error_m": 5.569318171598563,+ "diagnostic_within_thresholds_m": {+ "100": true,+ "500": true,+ "1000": true+ },+ "diagnostic_flight_ids_correct": true+ }+ ],+ "summary": {+ "cases": 3,+ "eligible_location_cases": 3,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 3,+ "successful_locations_by_threshold_m": {+ "100": 0,+ "500": 0,+ "1000": 0+ },+ "false_localizations_by_threshold_m": {+ "100": 0,+ "500": 0,+ "1000": 0+ },+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 0,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": null,+ "detection_precision": null+ },+ "by_split": {+ "development": {+ "cases": 3,+ "eligible_location_cases": 3,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 3,+ "successful_locations_by_threshold_m": {+ "100": 0,+ "500": 0,+ "1000": 0+ },+ "false_localizations_by_threshold_m": {+ "100": 0,+ "500": 0,+ "1000": 0+ },+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 0,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": null,+ "detection_precision": null+ }+ },+ "by_scope": {+ "automatic_national_synthetic": {+ "cases": 3,+ "eligible_location_cases": 3,+ "successful_locations_within_threshold": 0,+ "localization_errors_m": [],+ "false_localizations": 0,+ "false_localization_rate": 0.0,+ "false_localization_denominator": 3,+ "successful_locations_by_threshold_m": {+ "100": 0,+ "500": 0,+ "1000": 0+ },+ "false_localizations_by_threshold_m": {+ "100": 0,+ "500": 0,+ "1000": 0+ },+ "inconclusive_rate": 1.0,+ "execution_failures": 0,+ "needs_input": 0,+ "detection_true_positives": 0,+ "detection_misses": 0,+ "detection_false_alarms": 0,+ "detection_recall": null,+ "detection_precision": null+ }+ },+ "limits": [+ "Synthetic and manually configured regional results do not validate automatic national search.",+ "Uncalibrated sensitivity is not a coverage probability."+ ]+}diff --git a/benchmarks/reports/worker4-live-20261103/public-webcam-report.json b/benchmarks/reports/worker4-live-20261103/public-webcam-report.jsonnew file mode 100644index 0000000..4cc207b--- /dev/null+++ b/benchmarks/reports/worker4-live-20261103/public-webcam-report.json@@ -0,0 +1,126 @@+{+ "scope": "Real public-webcam intake/discovery/HTTP tests; no certified aircraft-negative or location labels",+ "request_metadata": {+ "schema_version": 1,+ "search": {+ "coverage": "conus"+ }+ },+ "cases": [+ {+ "case_id": "webcam-001",+ "site": "Times Square Street",+ "audio_sha256": "b421fb88c369a1a470960a4da58289e2a2533e1c2b9b0ef1a349502bbbbf2349",+ "bytes": 1775221,+ "container_duration_s": 147.892245,+ "media_probe_valid": true,+ "status": "needs_input",+ "reason_code": "recording_time_required",+ "events": 0,+ "runtime_s": 9.114015335013391,+ "original_preserved_and_http_readback_verified": true,+ "location_accuracy_eligible": false,+ "clock_established": false,+ "timing_limit": "Original audio-only capture may collapse source A/V offset; retained without clock/location claim."+ },+ {+ "case_id": "webcam-002",+ "site": "Times Square Street",+ "audio_sha256": "402cc0ff42cf4839b7e8d08d3407e296183dc727aedacad07086e1eacc54ed7d",+ "bytes": 1781803,+ "container_duration_s": 148.453878,+ "media_probe_valid": true,+ "status": "needs_input",+ "reason_code": "recording_time_required",+ "events": 0,+ "runtime_s": 12.237967302004108,+ "original_preserved_and_http_readback_verified": true,+ "location_accuracy_eligible": false,+ "clock_established": false,+ "timing_limit": "Original audio-only capture may collapse source A/V offset; retained without clock/location claim."+ },+ {+ "case_id": "webcam-003",+ "site": "Times Square Street",+ "audio_sha256": "64ea7702bd3fbf52f4e630fb62b92adc877b801471a29240d91b4bdad4db042e",+ "bytes": 671,+ "container_duration_s": null,+ "media_probe_valid": false,+ "status": "failed",+ "reason_code": "invalid_media",+ "events": 0,+ "runtime_s": 3.2939275139942765,+ "original_preserved_and_http_readback_verified": true,+ "location_accuracy_eligible": false,+ "clock_established": false,+ "timing_limit": "Original audio-only capture may collapse source A/V offset; retained without clock/location claim."+ },+ {+ "case_id": "webcam-004",+ "site": "Herald Square",+ "audio_sha256": "09c2e6f93df43bc748fc8e168092c0e77dc2ca36e0a09ea0b342fa031a341577",+ "bytes": 1800620,+ "container_duration_s": 149.994,+ "media_probe_valid": true,+ "status": "needs_input",+ "reason_code": "recording_time_required",+ "events": 0,+ "runtime_s": 6.586347941018175,+ "original_preserved_and_http_readback_verified": true,+ "location_accuracy_eligible": false,+ "clock_established": false,+ "timing_limit": "Original audio-only capture may collapse source A/V offset; retained without clock/location claim."+ },+ {+ "case_id": "webcam-005",+ "site": "Herald Square",+ "audio_sha256": "bcf03d7a9ee849cf8268fd5426ce316519915ee4c90d6c6e603ce475b10da1b2",+ "bytes": 908,+ "container_duration_s": null,+ "media_probe_valid": false,+ "status": "failed",+ "reason_code": "invalid_media",+ "events": 0,+ "runtime_s": 2.880529337009648,+ "original_preserved_and_http_readback_verified": true,+ "location_accuracy_eligible": false,+ "clock_established": false,+ "timing_limit": "Original audio-only capture may collapse source A/V offset; retained without clock/location claim."+ },+ {+ "case_id": "webcam-corrected-herald",+ "site": "Herald Square",+ "audio_sha256": "ae0856bb4ec6187bc1b84eef992a9d10e73b276cf2de8d9f4cd36ba1f4ea98d0",+ "decoded_duration_s": 150.0,+ "capture_receipt_start_utc": "2026-11-03T01:13:04.963351Z",+ "capture_receipt_finish_utc": "2026-11-03T01:15:19.815728Z",+ "capture_elapsed_s": 134.85238375599147,+ "source_timeline_preserved": true,+ "capture_tool_commit": "654fecc",+ "status": "needs_input",+ "reason_code": "recording_time_required",+ "events": 0,+ "runtime_s": 2.5531524200050626,+ "original_preserved_and_http_readback_verified": true,+ "location_accuracy_eligible": false,+ "clock_established": false,+ "map_marker_precision": "unestablished microphone uncertainty"+ }+ ],+ "summary": {+ "cases": 6,+ "needs_input": 4,+ "invalid_media_failures": 2,+ "proposals": 0,+ "accepted_locations": 0+ },+ "source_pages": [+ "https://www.earthcam.com/usa/newyork/timessquare/?cam=tsstreet",+ "https://www.earthcam.com/usa/newyork/heraldsquare/?cam=heraldsquare_nyc"+ ],+ "limits": [+ "Capture/HTTP times are receipt times, not microphone sample-zero UTC.",+ "A map marker does not establish a surveyed microphone coordinate or uncertainty.",+ "Broadcaster segment timestamps, if present, still require binding to the first captured audio sample."+ ]+}diff --git a/benchmarks/reports/worker4-live-20261103/receipt.json b/benchmarks/reports/worker4-live-20261103/receipt.jsonnew file mode 100644index 0000000..ba69dd4--- /dev/null+++ b/benchmarks/reports/worker4-live-20261103/receipt.json@@ -0,0 +1,180 @@+{+ "scope": "Worker4 measured stage integration, abstention, webcam timing and all-case audit",+ "evaluation_source_commit": "ed806545beb1d86e8276a26cdb664584c80981ad",+ "synthetic_runs": [+ {+ "case_id": "national-fine",+ "result_sha256": "65268053ce1ac7bcc77e24e1e24bef0619514dbb60d4e17d53b194d0cd0b105b",+ "provenance_sha256": "5d45ab3364b36300d919c03547d3934f4458dd55e396ed7f4cb1c14289bcccdc",+ "implementation_files": {+ "__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "automatic.py": "8369ae3bbfd6ef5548533ee22d9d04583dc6d37e52518adf3921c3fa330aa3fa",+ "cli.py": "91f62e955aa3a343ae2f916cff83ef7f58bc3b55e13dc5f40ff795bb6bd7e447",+ "confidence.py": "b34e41b7db279c8a601adb6eb6b5cd7d5936cadfb43f941523f6c9daaa6c9b79",+ "contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "data_access.py": "c11b24a34cc7f3737a04d63c0fd096a42f5b841b2867a25e001e998bcd4e2494",+ "discovery.py": "8c5c6e72289ee1db9cd9d70a7eafe60e07587fa0449d880437eda17ad6e8a26d",+ "evaluation.py": "5331eee02df2e22396e44c8c07110129297c9cedadeee4d9bccd415b9b0ad071",+ "geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "jobs.py": "b493140edabde20674d46022d683a462002bb336a30e2db4fde6f65890a8e0d9",+ "matching.py": "323e3028ba1d2734e65e5185c01d5c9e05ed0dda30e688013ca417b51f442061",+ "pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "search.py": "7e1277bf1827d053dd4905d474aba3156a327c34c1d62b79775241012b5ae689",+ "service.py": "0a5c81b6c88a7bf83a487272019e14a102dccc8fe27b823ad4f3335a28476f4d",+ "terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "tiled_search.py": "4c7dba13a45c7060300a72cd7e61d8676aacea2d368bed1f4487cc4e7fe31218",+ "tracks.py": "9af648eaa1f7880ba00bead2a66cd7b05fb98f6a5d6045d506cf3276604ae6e3"+ },+ "operator_sha256": "812aec614dc951f7eedf623c54a51d39275d7de7ae6273340e6312666e2acd14",+ "scope": {+ "search_complete": false,+ "data_status": "unavailable",+ "limitations": [],+ "requested_area": {+ "coverage": "conus"+ }+ },+ "declared_wall_budget_s": 600,+ "search": {+ "status": null,+ "tiles_total": null,+ "tiles_completed": null,+ "elapsed_s": null,+ "process_peak_rss_mib": null,+ "data_scope_complete": null,+ "alternative_modes_exhaustively_assessed": null+ },+ "completed_tile_artifacts": 19278,+ "truth_isolation": "Opaque/fast runs masked benchmark truth and replaced synthetic truth file with empty read-only file. Fine run is retained as a work-limit failure, not an isolation claim."+ },+ {+ "case_id": "national-fast",+ "result_sha256": "3c6b445f011daffb8e39de774855206b0899f0904cb92d98e9ac8ba84ea5e0b5",+ "provenance_sha256": "d1c8e5e74945887df0cb725fa1e4292f472deb09e9fbe878d21a97f2935b7a48",+ "implementation_files": {+ "__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "automatic.py": "8369ae3bbfd6ef5548533ee22d9d04583dc6d37e52518adf3921c3fa330aa3fa",+ "cli.py": "91f62e955aa3a343ae2f916cff83ef7f58bc3b55e13dc5f40ff795bb6bd7e447",+ "confidence.py": "b34e41b7db279c8a601adb6eb6b5cd7d5936cadfb43f941523f6c9daaa6c9b79",+ "contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "data_access.py": "c11b24a34cc7f3737a04d63c0fd096a42f5b841b2867a25e001e998bcd4e2494",+ "discovery.py": "8c5c6e72289ee1db9cd9d70a7eafe60e07587fa0449d880437eda17ad6e8a26d",+ "evaluation.py": "5331eee02df2e22396e44c8c07110129297c9cedadeee4d9bccd415b9b0ad071",+ "geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "jobs.py": "b493140edabde20674d46022d683a462002bb336a30e2db4fde6f65890a8e0d9",+ "matching.py": "323e3028ba1d2734e65e5185c01d5c9e05ed0dda30e688013ca417b51f442061",+ "pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "search.py": "7e1277bf1827d053dd4905d474aba3156a327c34c1d62b79775241012b5ae689",+ "service.py": "0a5c81b6c88a7bf83a487272019e14a102dccc8fe27b823ad4f3335a28476f4d",+ "terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "tiled_search.py": "4c7dba13a45c7060300a72cd7e61d8676aacea2d368bed1f4487cc4e7fe31218",+ "tracks.py": "9af648eaa1f7880ba00bead2a66cd7b05fb98f6a5d6045d506cf3276604ae6e3"+ },+ "operator_sha256": "e6596903889947855dfaae1be3058b578b6bf40e7d0adf8c283a7d346b9ed269",+ "scope": {+ "search_complete": true,+ "data_status": "available",+ "limitations": [+ "Historical receiver archives may omit aircraft or trajectory samples.",+ "A constant terrain model was supplied; real terrain and altitude-datum accuracy are not established."+ ],+ "requested_area": {+ "coverage": "conus"+ },+ "missing_data": []+ },+ "declared_wall_budget_s": 600,+ "search": {+ "status": "complete",+ "tiles_total": 3116,+ "tiles_completed": 3116,+ "elapsed_s": 62.74625199998263,+ "process_peak_rss_mib": 363.625,+ "data_scope_complete": true,+ "alternative_modes_exhaustively_assessed": false+ },+ "completed_tile_artifacts": 3116,+ "truth_isolation": "Opaque/fast runs masked benchmark truth and replaced synthetic truth file with empty read-only file. Fine run is retained as a work-limit failure, not an isolation claim."+ },+ {+ "case_id": "national-opaque",+ "result_sha256": "79c930c4b2a19ee97c7e995418edbf52f2f7325bf4a1f728b028f078dd19b48e",+ "provenance_sha256": "b3ede69c376c41ae2375323a9eefef9d0643c033b4c0cb80014981bcd8914956",+ "implementation_files": {+ "__init__.py": "01428b7938817c1cfe7eb3cf7e186f35b3fa7bc2d85f14204d07e0aa251d2c88",+ "audio.py": "f9248876059f7f05f3f3db8575e43b9c12f96c536c70b8afc298cfdebcb977a0",+ "automatic.py": "8369ae3bbfd6ef5548533ee22d9d04583dc6d37e52518adf3921c3fa330aa3fa",+ "cli.py": "91f62e955aa3a343ae2f916cff83ef7f58bc3b55e13dc5f40ff795bb6bd7e447",+ "confidence.py": "b34e41b7db279c8a601adb6eb6b5cd7d5936cadfb43f941523f6c9daaa6c9b79",+ "contracts.py": "66e311197e69fc6636dea33e25ae2acccfeba2845b0561963f33112c932a969f",+ "data_access.py": "c11b24a34cc7f3737a04d63c0fd096a42f5b841b2867a25e001e998bcd4e2494",+ "discovery.py": "8c5c6e72289ee1db9cd9d70a7eafe60e07587fa0449d880437eda17ad6e8a26d",+ "evaluation.py": "5331eee02df2e22396e44c8c07110129297c9cedadeee4d9bccd415b9b0ad071",+ "geometry.py": "f892fac88864d8095ce47a1e3e6139235b86061fb0814944867436cb5a92bb94",+ "intake.py": "c1d4c792c9e1cec1a9315b354d6fa58c0d4326c6773b19719bd859e7571c5648",+ "jobs.py": "b493140edabde20674d46022d683a462002bb336a30e2db4fde6f65890a8e0d9",+ "matching.py": "323e3028ba1d2734e65e5185c01d5c9e05ed0dda30e688013ca417b51f442061",+ "pipeline.py": "d2361725283053a0911a803717f8dab6e59ed8e1c20e305f191aeea693156adb",+ "search.py": "7e1277bf1827d053dd4905d474aba3156a327c34c1d62b79775241012b5ae689",+ "service.py": "0a5c81b6c88a7bf83a487272019e14a102dccc8fe27b823ad4f3335a28476f4d",+ "terrain.py": "b8258fa2d950c2348c78e019f9e97ce9fe6c760cf7fd47a81d1a21d23362948a",+ "tiled_search.py": "4c7dba13a45c7060300a72cd7e61d8676aacea2d368bed1f4487cc4e7fe31218",+ "tracks.py": "9af648eaa1f7880ba00bead2a66cd7b05fb98f6a5d6045d506cf3276604ae6e3"+ },+ "operator_sha256": "02d9638830fce977d5ea4d21bbc90f6f243e52ed18f2688b40cf685a94267d77",+ "scope": {+ "search_complete": true,+ "data_status": "available",+ "limitations": [+ "Historical receiver archives may omit aircraft or trajectory samples.",+ "A constant terrain model was supplied; real terrain and altitude-datum accuracy are not established."+ ],+ "requested_area": {+ "coverage": "conus"+ },+ "missing_data": []+ },+ "declared_wall_budget_s": 600,+ "search": {+ "status": "complete",+ "tiles_total": 3116,+ "tiles_completed": 3116,+ "elapsed_s": 35.26337094398332,+ "process_peak_rss_mib": 364.0703125,+ "data_scope_complete": true,+ "alternative_modes_exhaustively_assessed": false+ },+ "completed_tile_artifacts": 3116,+ "truth_isolation": "Opaque/fast runs masked benchmark truth and replaced synthetic truth file with empty read-only file. Fine run is retained as a work-limit failure, not an isolation claim."+ }+ ],+ "independent_tests": {+ "source": "f67fc3145ed1401ba6f78a6021a7f9a0165e8c1e",+ "result": "35 passed including all4 independent invariants and W4 confidence/evaluation cases",+ "combined_source": "8a93359f24c041578e63910c8de1217b21c9d15d"+ },+ "reported_matching_worker_regressions": {+ "source_discussion": "https://github.com/1337isnot1337/DOPPLERGEIST/discussions/39#discussioncomment-19363722",+ "verification": "Reported by matching worker; not independently rerun in this lane. Regional/manual, reference precision and clock limitations persist.",+ "two_event_error_before_after_m": [+ 43.8585,+ 116.16+ ],+ "faint_error_before_after_m": [+ 357.4687,+ 537.57+ ],+ "two_event_sensitivity_m": 606.954,+ "boundary_limited": true+ },+ "limits": [+ "No independently timed precise-microphone real location case established.",+ "No synthetic diagnostic candidate under inconclusive status counts as an accepted location.",+ "HTTP job-process peak memory was not measured; no invented RSS values.",+ "Source media, ephemeral stream URLs, logs and caches remain local."+ ]+}diff --git a/scripts/make_multievent_benchmark.py b/scripts/make_multievent_benchmark.pynew file mode 100644index 0000000..ea6a2f3--- /dev/null+++ b/scripts/make_multievent_benchmark.py@@ -0,0 +1,98 @@+"""Independent four-flyover MP3 fixture with opaque flight IDs and separate truth.++The first two events have distant geometric decoys; later locked timings differ.+The renderer transports emission phase, never calling the inverse search model.+"""+import argparse+from datetime import datetime, timezone+import hashlib+import json+from pathlib import Path+import subprocess++import numpy as np+import pandas as pd+from pyproj import Transformer+import soundfile as sf+++def dump(path, value):+ path.write_text(json.dumps(value, indent=2, allow_nan=False) + "\n")+++def generate(output, seed=502013):+ output = Path(output)+ output.mkdir(parents=True, exist_ok=False)+ inputs, hidden = output / "inputs", output / "truth"+ inputs.mkdir()+ hidden.mkdir()+ rng = np.random.default_rng(seed)+ sr, duration, epoch = 8000, 520, 1790000000.0+ time = np.arange(duration * sr) / sr+ audio = rng.normal(0, 0.02, len(time))+ truth = {"location": [36.11951, -96.32709], "elev_m": 122., "recording_start_time_s": epoch,+ "location_accuracy_eligible": True, "flight_ids": [], "events": []}+ earth = Transformer.from_crs("EPSG:4979", "EPSG:4978", always_xy=True)+ observer = np.array(earth.transform(truth["location"][1], truth["location"][0], truth["elev_m"]))+ rows = []+ for region, (lat0, lon0) in enumerate([truth["location"], [33.1, -87.2], [44.3, -112.1]]):+ inverse = Transformer.from_crs(f"+proj=aeqd +lat_0={lat0} +lon_0={lon0} +datum=WGS84 +units=m", "EPSG:4326", always_xy=True)+ for index, center in enumerate([65., 185., 305., 425.]):+ identity = hashlib.sha256(f"{seed}:{region}:{index}".encode()).hexdigest()[:16]+ heading = [0., np.pi/2, np.pi/3, 2*np.pi/3][index]++ def position(t):+ speed = [75., 82., 88., 70.][index] * (1.12 if region and index >= 2 else 1.)+ along = speed*t + 0.035*t*t+ cross = 1000 + 140*index + 0.045*t*t + (450 if region and index >= 2 else 0)+ return (along*np.cos(heading)-cross*np.sin(heading),+ along*np.sin(heading)+cross*np.cos(heading), 900+180*index+0.5*t)++ # All regions participate in input data. No target-flight allowlist.+ shift = (12. if index == 2 else 25.) if region and index >= 2 else 0.+ relative = np.arange(-75., 76.)+ x, y, h = position(relative)+ lon, lat = inverse.transform(x, y)+ for j in range(len(relative)):+ rows.append({"flight_id": identity, "time_s": epoch+center+shift+relative[j],+ "lat": lat[j], "lon": lon[j], "alt_m": h[j]+truth["elev_m"],+ "altitude_basis": "synthetic_geometric_wgs84", "typecode": "C172"})+ if region:+ continue+ emission = np.arange(-40*sr, 40*sr) / sr+ x, y, h = position(emission)+ lon, lat = inverse.transform(x, y)+ xyz = np.column_stack(earth.transform(lon, lat, h+truth["elev_m"]))+ distance = np.linalg.norm(xyz-observer, axis=1)+ arrival = center+emission+distance/343.+ frequency = [122., 145., 174., 101.][index]+ envelope = np.hanning(len(emission)) * np.minimum(1., 1600/distance)+ source = 0.22*envelope*(np.sin(2*np.pi*frequency*emission)+0.45*np.sin(4*np.pi*frequency*emission+0.3))+ audio += np.interp(time, arrival, source, left=0, right=0)+ truth["flight_ids"].append(identity)+ truth["events"].append({"start_s": float(arrival[0]), "end_s": float(arrival[-1])})+ sf.write(inputs / "recording.wav", audio, sr, subtype="PCM_16")+ subprocess.run(["ffmpeg", "-nostdin", "-v", "error", "-i", str(inputs / "recording.wav"),+ "-map_metadata", "-1", "-codec:a", "libmp3lame", "-b:a", "96k", str(inputs / "recording.mp3")], check=True)+ pd.DataFrame(rows).to_csv(inputs / "flights.csv", index=False)+ start = datetime.fromtimestamp(epoch, timezone.utc).isoformat().replace("+00:00", "Z")+ dump(inputs / "request.json", {"schema_version": 1, "audio_path": "recording.mp3", "search": {"coverage": "conus"},+ "time_window": {"start_utc": start, "end_utc": start, "source": "user", "source_detail": "Predeclared synthetic renderer epoch."}})+ dump(inputs / "manifest.json", {"schema_version": 1, "cases": [{"case_id": "multievent-001", "split": "development",+ "scope": "automatic_multievent_synthetic", "request": "request.json",+ "audio_sha256": hashlib.sha256((inputs / "recording.mp3").read_bytes()).hexdigest(), "duration_s": duration}]})+ dump(hidden / "labels.json", {"multievent-001": truth})+ dump(output / "provenance.json", {"generator_sha256": hashlib.sha256(Path(__file__).read_bytes()).hexdigest(),+ "seed": seed, "sample_rate_hz": sr, "duration_s": duration,+ "input_sha256": {p.name: hashlib.sha256(p.read_bytes()).hexdigest() for p in sorted(inputs.iterdir())},+ "scope": "Four independent synthetic events, three-region toy flight universe; no real accuracy claim.",+ "license": "Generated audio contains no third-party media; repository has no declared license."})+ return inputs / "manifest.json"+++if __name__ == "__main__":+ parser = argparse.ArgumentParser(description=__doc__)+ parser.add_argument("--output", type=Path, required=True)+ parser.add_argument("--seed", type=int, default=502013)+ args = parser.parse_args()+ print(generate(args.output, args.seed))