From ae52695b15adc8d18f12521d1abda3f746c1ceb3 Mon Sep 17 00:00:00 2001 From: German Khokhlov Date: Fri, 16 Oct 2026 19:28:12 +0400 Subject: [PATCH] test(qa): seeded synthetic feeds for the W1 baseline; requests compared Review of Task 0: the recorded live feeds left vessels (no AIS key here) and local ADS-B (no receiver) empty, and flights held one adsb.lol viewport answer. src/tooling/w1Feeds.js builds seeded answers relative to one frozen instant (2026-10-16T12:00Z): a global /api/flights OpenSky snapshot (8 000 aircraft, 2 000 within 60 km of JFK), /api/vessels with 12 000 AIS rows worldwide and the rows within the city area (the area answer first, the global one last as the replay's fallback), and /api/local-receivers/aircraft with 40 aircraft near JFK on 1090 MHz and 978 MHz UAT. Tests read them back through the app's own parsers. qa-w1-baseline --synthesize=DIR writes them beside the recorded military, satellites and launches; a replay now logs every feed request and how it was answered (exact / as another key / none) into summary.json, and --compare diffs those too. Replayed on d50eaa28 and HEAD: flights 8 000, military 154, local ADS-B 40, vessels 12 000, satellites 824, launches 24; the runs agree (counts, known objects, screen points, tracking poses, requests). The Cesium reference is re-recorded this way before Tasks 10a, 12a and 13a. --- scripts/format-scope.json | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scripts/format-scope.json b/scripts/format-scope.json index c3218943a..b2e62e82a 100644 --- a/scripts/format-scope.json +++ b/scripts/format-scope.json @@ -1081,5 +1081,6 @@ "src/globe/pickDelivery.test.mjs", "src/globe/navara/picking.test.mjs", "src/data/selectionDispatcher.test.mjs", - "src/globe/navara/cascadedLightCopy.test.mjs" + "src/globe/navara/cascadedLightCopy.test.mjs", + "src/tooling/w1Feeds.test.mjs" ]