seriesoftubes/tests
Frederic Jung 56f2d446ea
Sea routing: Suez and Panama crossings, great circles, fastest design back on par
After #133 the coastline router treated Egypt and Panama as solid land, so
Marseille–Singapore sailed round Africa (21,440 km instead of 12,175) and
Miami–Lima round Cape Horn (17,700 km for a 4,220 km hop). Real systems
cross both by land: Port Said to Suez beside the canal, and Panama
(PAN AM). These are now overland edges in the sea graph, priced as the
distance they cover. The Red Sea Crisis shuts Suez, and routes are cached
per set of open passages, also in the survey worker.

Long open-water legs follow the great circle where it stays at sea,
instead of a straight line on the map. The low-latency design may land
further off and backhaul overland, and may follow the corridor of the
fastest in-service cable on the pair when that is shorter, so it matches
Hibernia again (London–New York 25.3 ms, Halifax–London 20.9 ms) and
beats cables that take detours (Lagos–Bude 32.2 against 37.6 ms).

Tests: main's expectations restored where #133 had loosened them
(Marseille–Singapore needs no upgrades, New York–Sydney needs terminals,
express equals the fastest cable); the marine check knows the passages;
new checks for Suez, Panama, the crisis and the corridor rule.
2026-10-26 22:13:16 +01:00
..
fixtures Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
helpers Routing reference test runs on today's routing loop; perf bench reads exported saves 2026-10-26 08:40:20 +01:00
build.test.js Fix map wrap, touch and keyboard input; harden build and release workflow; docs 2026-10-23 17:56:34 +02:00
game.test.js Scrubbing centers in many POPs, with real backhaul (#117) 2026-10-26 16:47:55 +01:00
harness.js Add Italian translation and a language switch 2026-10-24 21:52:27 +02:00
i18n.test.js French: a top-bar label that fits on a phone 2026-10-26 15:16:09 +01:00
issues.test.js Sea routing: Suez and Panama crossings, great circles, fastest design back on par 2026-10-26 22:13:16 +01:00
levels.test.js Router trade-ins, one swap a day, and speed-based requirements (#82) 2026-10-25 21:49:51 +01:00
modes.test.js RouteScript: AI button, help page and ready-made scripts 2026-10-26 21:44:59 +01:00
peering.test.js Merge pull request #18 from NickBouwhuis/add-fries-ix 2026-10-24 21:14:23 +02:00
perf.test.js Benchmark in real Chromium too, and only call a row slower when the samples say so 2026-10-26 12:04:57 +01:00
persist.test.js Performance benchmark on a big network, posted on every PR 2026-10-26 06:39:23 +01:00
regions.test.js Sea routing: Suez and Panama crossings, great circles, fastest design back on par 2026-10-26 22:13:16 +01:00
routing-reference.test.js Routing reference test runs on today's routing loop; perf bench reads exported saves 2026-10-26 08:40:20 +01:00
sea-routing.test.js Sea routing: Suez and Panama crossings, great circles, fastest design back on par 2026-10-26 22:13:16 +01:00
services.test.js Add customers that connect over interconnection fabrics (1.16.0) 2026-10-25 06:29:33 +01:00
speed.test.js Routing makes far less garbage: no temporary arrays or closures in its hot loop 2026-10-26 13:41:13 +01:00