test(m4): finish audit, measurement and archive (#76)
- client/e2e/audit.test.mjs: independent player-browser traffic audit (own frame catalogue and banned-key list, never leakcheck.nim), with a -d:leakfault/otherVision negative control. - client/e2e/fogbench.test.mjs + tools/fogbench.nim: 50 tokens on a 16384 px map (server move path and headless SwiftShader cadence); results/m4-fog-bench.md records both honestly (SW is not the phone gate). - Archive prototype-* under docs/archive/prototypes (Q24); DESIGN 13 M4 done, TESTING 13 M4 accept result, HANDOFF-M4 close-out. - mutation.sh c1/c2 patch the post-#65 tile-gate line again (they had silently become sed no-ops).
This commit is contained in:
+1
-1
@@ -1,5 +1,5 @@
|
||||
## TEST-ONLY reference: the prototype implementations that M2 replaced, kept verbatim (renamed) as differential oracles.
|
||||
## Never imported by server code. Source: prototype-server-vision/src/geometry.nim (M1 port).
|
||||
## Never imported by server code. Source: docs/archive/prototypes/server-vision/src/geometry.nim (M1 port).
|
||||
import std/math
|
||||
import geometry
|
||||
|
||||
|
||||
+1
-1
@@ -277,7 +277,7 @@ const PrototypeTokenRadius = 20.0
|
||||
## carries one (nor its stale `tileSize`, nor index token ids). Only this seed test uses it.
|
||||
|
||||
proc loadScene(): Scene =
|
||||
# fixtures are copies of prototype-server-vision/data/scene.json; a missing file fails, never skips
|
||||
# fixtures are copies of docs/archive/prototypes/server-vision/data/scene.json; a missing file fails, never skips
|
||||
let j = parseFile(currentSourcePath().parentDir / "fixtures" / "scene.json")
|
||||
for w in j["walls"]:
|
||||
result.walls.add Wall(a: (w["a"][0].getFloat, w["a"][1].getFloat), b: (w["b"][0].getFloat, w["b"][1].getFloat),
|
||||
|
||||
Reference in New Issue
Block a user