mirror of
https://github.com/bilawalsidhu/gods-eye-view.git
synced 2026-11-13 14:52:19 +00:00
scripts/report-engine-coupling.mjs counts the engine-specific code left outside src/globe/cesium and src/globe/navara: layer renderer lines per engine, Cesium imports, `viewer` mentions, engine-name checks, raw Navara reads, Navara ground passes, Cesium SDK loads and ScreenSpaceEventHandler users. engineCoupling.test.mjs fails npm test when a count grows past scripts/engine-coupling-baseline.json, so each step towards drawing through the globe contract can only lower them. scripts/qa-contract-suite.mjs runs src/globe/testing/contractSuite.mjs in headless Chrome on the Cesium and Navara of a keyless dev server, which until now only ran on the fake engine. The page imports the suite from the dev server, starts at a fixed view, waits for the camera to rest and lets the pointer through the panels. Cesium passes 57 of 57 checks, Navara 64 of 67; docs/CURRENT-STATE.md names the three that fail.
17 lines
432 B
JSON
17 lines
432 B
JSON
{
|
|
"metrics": {
|
|
"cesiumLayerRendererLines": 5239,
|
|
"navaraLayerRendererLines": 12331,
|
|
"cesiumImportFiles": 69,
|
|
"viewerLines": 2424,
|
|
"navaraKindChecks": 17,
|
|
"engineSniffCalls": 51,
|
|
"navaraViewsReads": 27,
|
|
"groundEffectPasses": 9,
|
|
"cesiumSdkLoads": 6,
|
|
"screenSpaceHandlerFiles": 20,
|
|
"engineNameLines": 175
|
|
},
|
|
"measuredAt": "german/navara merged with origin/main 8da8c05e, 2026-11-07"
|
|
}
|