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 @@
|
||||
## One-off corpus extractor (dev-time only; tests never read prototype paths).
|
||||
## usage: nim c -r tools/mkcorpus.nim prototype-server-vision/results/leak-A.jsonl prototype-server-vision/results/leak-B.jsonl > tests/fixtures/corpus.jsonl
|
||||
## usage: nim c -r tools/mkcorpus.nim docs/archive/prototypes/server-vision/results/leak-A.jsonl docs/archive/prototypes/server-vision/results/leak-B.jsonl > tests/fixtures/corpus.jsonl
|
||||
## Replays the GM socket (token positions, door states per gseq) and emits one line per player `vision` message:
|
||||
## {"src":"A|B","g":gseq,"id":"A|B","pos":[x,y],"open":[door ids],"poly":[[x,y]..]} (poly = what the prototype server sent,
|
||||
## computed by the old geometry.nim; "open" = ALL open doors, initial states included). The scene (walls, radius, cell) is tests/fixtures/scene.json.
|
||||
|
||||
Reference in New Issue
Block a user