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:
+20
-17
@@ -1,22 +1,25 @@
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
== prototype scene (60 walls, 8 tokens, radius 400, cell 32) ==
|
||||
1 poly (jittered start positions): n=2000 avg=0.009ms worst=0.054ms
|
||||
6 polys (one 6-token party): n=500 avg=0.053ms worst=0.100ms
|
||||
1 poly + cellsTouched (scanline): n=2000 avg=0.016ms worst=0.043ms
|
||||
6 polys + cellsTouched (scanline): n=300 avg=0.094ms worst=0.225ms
|
||||
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.534ms worst=1.975ms
|
||||
TARGET polygon+cells, prototype scene (prototype baseline 0.451): 0.016 ms vs <= 0.451 ms: PASS
|
||||
1 poly (jittered start positions): n=2000 avg=0.013ms worst=0.075ms
|
||||
6 polys (one 6-token party): n=500 avg=0.074ms worst=0.123ms
|
||||
1 poly + cellsTouched (scanline): n=2000 avg=0.019ms worst=0.072ms
|
||||
6 polys + cellsTouched (scanline): n=300 avg=0.172ms worst=0.252ms
|
||||
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.685ms worst=2.616ms
|
||||
TARGET polygon+cells, prototype scene (prototype baseline 0.451): 0.019 ms vs <= 0.451 ms: PASS
|
||||
== 5k sparse: genScene(world=16384., n=5000, seed=1), avg walls in vision bbox 15.6 ==
|
||||
1 poly, 5k sparse: n=2000 avg=0.035ms worst=0.094ms
|
||||
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.046ms worst=0.102ms
|
||||
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.008ms worst=0.044ms
|
||||
1 poly, 5k sparse: n=2000 avg=0.035ms worst=0.433ms
|
||||
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.047ms worst=0.451ms
|
||||
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.007ms worst=0.466ms
|
||||
TARGET polygon, 5k-wall scene: 0.035 ms vs <= 1.0 ms: PASS
|
||||
== 5k dense: genScene(world=4096., n=5000, seed=1), avg walls in vision bbox 206.9 ==
|
||||
1 poly, 5k dense: n=2000 avg=0.737ms worst=2.470ms
|
||||
1 poly + cellsTouched, 5k dense: n=2000 avg=0.768ms worst=2.299ms
|
||||
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.007ms worst=0.043ms
|
||||
1 poly, 5k dense: n=2000 avg=0.747ms worst=1.900ms
|
||||
1 poly + cellsTouched, 5k dense: n=2000 avg=0.811ms worst=1.614ms
|
||||
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.008ms worst=0.042ms
|
||||
== egress (#28: 6 players x 40 encountered entries, 262144 explored cells) ==
|
||||
GM egress pass (fresh diff base): n=200 avg=0.230ms worst=0.393ms
|
||||
player egress pass (fresh diff base): n=200 avg=0.077ms worst=0.132ms
|
||||
(sink 6038922)
|
||||
GM egress pass (fresh diff base): n=200 avg=0.423ms worst=1.106ms
|
||||
player egress pass (fresh diff base): n=200 avg=0.109ms worst=0.214ms
|
||||
== tile gate (#65): old SQL-under-lock path vs published snapshot ==
|
||||
tile gate old: parse + SHA-256 + session JOIN + HashSet: n=2000 avg=0.012ms worst=0.023ms
|
||||
tile gate new: parse + SHA-256 + cache lookup + bitmap: n=2000 avg=0.002ms worst=0.024ms
|
||||
explored snapshot build (262144 cells): n=20 avg=3.472ms worst=3.852ms
|
||||
explored incremental mark (16 fresh cells): n=5000 avg=0.001ms worst=0.011ms
|
||||
(sink 24393102)
|
||||
|
||||
@@ -0,0 +1,10 @@
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
== M4 fog bench: 16384 px map, cell 32 (512x512 cells), 50 tokens, 4979 walls ==
|
||||
server vision refresh, one player (1 polygon, radius 300, ~5k walls): n=500 avg=0.054ms worst=0.132ms
|
||||
player egress frames with 50 visible tokens: 52 frames, "vision","explored","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token","token"
|
||||
player egress pass, 50 visible tokens (fresh Known): n=300 avg=0.089ms worst=0.167ms
|
||||
player egress pass, warm Known (no changes): n=2000 avg=0.094ms worst=0.261ms
|
||||
explored snapshot size: 316 cells on the 16384 px map
|
||||
TARGET move path: refresh + 50-token egress 0.143 ms vs <= 16.7 ms (one 60 fps frame): PASS
|
||||
(sink 20800)
|
||||
@@ -0,0 +1,55 @@
|
||||
# M4 fog measurement: 50 tokens on a 16384 px map (#76)
|
||||
|
||||
Recorded 2026-11-21 on the M4 finish tree. Command: `devbox run fogbench` (server half,
|
||||
`tools/fogbench.nim`, raw log `results/m4-fog-bench.log`) and
|
||||
`client/e2e/fogbench.test.mjs` (headless client half, `devbox run e2e`).
|
||||
|
||||
The question this answers (spec #63, Testing notes): **does M4 need the per-token polygon cache
|
||||
(build item 3) or incremental wall-edit refresh (build item 4) before the phone run?** The answer is
|
||||
no: the measured move path is two orders of magnitude inside one 60 fps frame.
|
||||
|
||||
## Server recompute (real modules, release build)
|
||||
|
||||
Scene: 16384 x 16384 px, cell 32 (512 x 512 cells = 262 144), 4 979 sparse walls
|
||||
(`genScene(16384, 5000, 1)` with the 50-token cluster box cleared), 50 tokens, one controlled token
|
||||
with `vision` and radius 300. This is what `main.refreshPlayer` runs for one `token.move`, plus the
|
||||
egress that follows it for that player.
|
||||
|
||||
| Measurement | n | avg | worst |
|
||||
|---|---:|---:|---:|
|
||||
| vision refresh: polygon + `cellsTouched` + explored fold (1 token, 5k walls) | 500 | **0.044-0.054 ms** | 0.132 ms |
|
||||
| player egress, 50 visible tokens (`token` frames, fresh `Known` = reconnect) | 300 | **0.075-0.089 ms** | 0.167 ms |
|
||||
| player egress, warm `Known` (no changes) | 2000 | 0.084-0.094 ms | 0.261 ms |
|
||||
| move path total (refresh + 50-token egress) | | **0.119-0.143 ms** | |
|
||||
|
||||
(Brackets are run-to-run spread across the finish runs; the raw last run is in
|
||||
`results/m4-fog-bench.log`.)
|
||||
|
||||
Budget: one 60 fps frame is 16.7 ms. The move path uses ~1 % of it. Cached per-token polygons
|
||||
would save ~0.05 ms while adding an invalidation surface; **not built** (ticket AC: no
|
||||
polygon-cache work unless the measurement says so). `results/bench.log` holds the M1-M3 baselines
|
||||
(polygon 0.041 ms sparse, 0.73 ms dense 5k) and the explored/tile-gate numbers.
|
||||
|
||||
## Headless client frame cadence (correctness floor only)
|
||||
|
||||
Scene: the real server on the prepared 16384 px scene (scene row patched before boot; only the M6
|
||||
importer owns `w`/`h`), 50 tokens inside the sight, fog active, first viewport filled. Emulation:
|
||||
412 x 869 CSS px, DPR 2.625, touch, mobile, then CDP 4x CPU throttle for the second sample.
|
||||
|
||||
| Measurement | value |
|
||||
|---|---:|
|
||||
| fog explored snapshot at connect (512 x 512 cells) | **2.0-2.2 ms** |
|
||||
| explored cells in the sight | 540 |
|
||||
| rAF cadence, real CPU (120 frames) | median **70-78 ms**, p95 81-166 ms |
|
||||
| rAF cadence, 4x CPU (90 frames) | median **77-83 ms**, p95 83-167 ms |
|
||||
|
||||
**These are SwiftShader numbers, not phone numbers.** Headless Chromium in this repo renders with
|
||||
the software rasteriser (no GPU), so its cadence is a floor for correctness and regression work. It
|
||||
is deliberately **not a gate** (spec #63: no timing gate in the client suite). The 4096 px/50-token
|
||||
run in `client/e2e/fog.test.mjs` records the same order (median 72-98 ms) and is also recorded only.
|
||||
The real 60 fps pass on the Note 10 and the laptop is **#77** and is the authority for the M4 accept.
|
||||
|
||||
## What was not measured here
|
||||
|
||||
- The actual phone GPU, thermal throttling, LAN latency and real map art: #77.
|
||||
- 2000-token or 500-wall-dense scenes: outside the M4 accept target (DESIGN §13, Q2).
|
||||
+125
-110
@@ -292,6 +292,14 @@
|
||||
[OK] exactly n walls, deterministic per seed, seeds differ
|
||||
[OK] doors are every 10th wall, all closed; walls stay inside the world (+- jitter)
|
||||
[OK] walls are non-degenerate and axis-ish segments of room-edge length
|
||||
[OK] a revocation drops every cached session of that player and no other
|
||||
[OK] player removal drops the sessions and the explored bitmap
|
||||
[OK] sessions survive a restart through the database, replaced ones do not
|
||||
[OK] the bitmap holds the same cells as the set, with the cell-index layout
|
||||
[OK] a refresh marks only its fresh cells, and the snapshot only grows
|
||||
[OK] the GM is always allowed; a player only through an explored bit
|
||||
[OK] the URL is decided before any session is looked at
|
||||
[OK] a scene republish changes the parse result, never a mixture
|
||||
[OK] canonical numbers: digits only, bounded, no leading zero
|
||||
[OK] a canonical URL parses to its three integers
|
||||
[OK] leading zero tile coordinates are malformed
|
||||
@@ -331,6 +339,7 @@
|
||||
[OK] status helpers keep the entry set unique and ordered
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[OK] the set of tokens follows the visibility rule
|
||||
[OK] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -462,7 +471,7 @@ control: exit=0 expected_failed=0 ok
|
||||
[FAILED] prototype scene, all tokens, doors closed and opened
|
||||
[FAILED] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/a/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/a/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] rays nudged past a corner: area just beyond a wall end is visible
|
||||
|
||||
@@ -518,7 +527,7 @@ a: exit=1 expected_failed=1 ok
|
||||
[FAILED] prototype scene, all tokens, doors closed and opened
|
||||
[FAILED] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/a2/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/a2/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 5
|
||||
[FAILED] corpus polygons are bit-identical to the all-segments fan
|
||||
[FAILED] seed scene tokens, doors and every switch shape: bit-identical
|
||||
@@ -578,7 +587,7 @@ a2: exit=1 expected_failed=5 ok
|
||||
[OK] prototype scene, all tokens, doors closed and opened
|
||||
[OK] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/b/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/b/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] '<' apex: ray through the shared tip must not leak
|
||||
[FAILED] every segment endpoint is a polygon vertex (lower and upper end inclusive)
|
||||
@@ -635,7 +644,7 @@ b: exit=1 expected_failed=2 ok
|
||||
[FAILED] prototype scene, all tokens, doors closed and opened
|
||||
[OK] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/c/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] '<' apex: ray through the shared tip must not leak
|
||||
[FAILED] every segment endpoint is a polygon vertex (lower and upper end inclusive)
|
||||
@@ -692,7 +701,7 @@ c: exit=1 expected_failed=2 ok
|
||||
[OK] prototype scene, all tokens, doors closed and opened
|
||||
[OK] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/d1/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/d1/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] shared vertex: both arms required (mutation d1/d2)
|
||||
|
||||
@@ -748,7 +757,7 @@ d1: exit=1 expected_failed=1 ok
|
||||
[OK] prototype scene, all tokens, doors closed and opened
|
||||
[OK] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/d2/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/d2/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] shared vertex: both arms required (mutation d1/d2)
|
||||
|
||||
@@ -789,7 +798,7 @@ d2: exit=1 expected_failed=1 ok
|
||||
[FAILED] one field is enough; a patch with none is invalid
|
||||
[FAILED] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/d3/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/d3/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] one field is enough; a patch with none is invalid
|
||||
|
||||
@@ -843,7 +852,7 @@ d3: exit=1 expected_failed=1 ok
|
||||
[FAILED] prototype scene, all tokens, doors closed and opened
|
||||
[FAILED] random wall fields, cell 32 and 25
|
||||
[FAILED] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/e/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 4
|
||||
[FAILED] random visibility polygons: identical cell lists
|
||||
[FAILED] random simple polygons (star-shaped, concave): identical cell lists
|
||||
@@ -884,7 +893,7 @@ e: exit=1 expected_failed=4 ok
|
||||
[FAILED] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e1/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/e1/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a link change moves the snapshot to the character's names, link and knowledge (#29)
|
||||
|
||||
@@ -922,7 +931,7 @@ e1: exit=1 expected_failed=1 ok
|
||||
[FAILED] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e2/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/e2/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a character rename rewrites the live snapshots and the rows alike (#30, #27)
|
||||
|
||||
@@ -960,7 +969,7 @@ e2: exit=1 expected_failed=1 ok
|
||||
[OK] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e3/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/e3/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] linking through a patch hands the names over (#29)
|
||||
|
||||
@@ -982,11 +991,11 @@ e3: exit=1 expected_failed=1 ok
|
||||
[OK] every impossible wall row is rejected by the database
|
||||
[OK] a failing step 8 rolls back the rebuild, the history row and the version
|
||||
[OK] a malformed props_gm refuses step 8 and leaves the schema-7 DB untouched
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: cannot start a transaction within a transaction [DbError]
|
||||
[FAILED] withTransaction rolls back a Defect and leaves the connection usable
|
||||
[OK] authoringTransaction rolls back a Defect and restores NORMAL
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e4/w/tests/tdb'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/e4/w/tests/tdb'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] withTransaction rolls back a Defect and leaves the connection usable
|
||||
|
||||
@@ -1009,10 +1018,10 @@ e4: exit=1 expected_failed=1 ok
|
||||
[OK] a failing step 8 rolls back the rebuild, the history row and the version
|
||||
[OK] a malformed props_gm refuses step 8 and leaves the schema-7 DB untouched
|
||||
[OK] withTransaction rolls back a Defect and leaves the connection usable
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: Safety level may not be changed inside a transaction [DbError]
|
||||
[FAILED] authoringTransaction rolls back a Defect and restores NORMAL
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e5/w/tests/tdb'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/e5/w/tests/tdb'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] authoringTransaction rolls back a Defect and restores NORMAL
|
||||
|
||||
@@ -1041,7 +1050,7 @@ e5: exit=1 expected_failed=1 ok
|
||||
[OK] propsJson carries all three buckets, always as objects
|
||||
[OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
[OK] normalize repairs nil buckets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/f1/w/tests/tprops'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/f1/w/tests/tprops'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] size: exactly 8 KB is accepted, one byte over is refused
|
||||
|
||||
@@ -1070,7 +1079,7 @@ f1: exit=1 expected_failed=1 ok
|
||||
[OK] propsJson carries all three buckets, always as objects
|
||||
[OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
[OK] normalize repairs nil buckets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/f2/w/tests/tprops'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/f2/w/tests/tprops'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] keys: 64 per object is accepted, 65 is refused, and it is per object
|
||||
|
||||
@@ -1103,7 +1112,7 @@ f2: exit=1 expected_failed=1 ok
|
||||
[OK] propsJson carries all three buckets, always as objects
|
||||
[OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
[OK] normalize repairs nil buckets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/f3/w/tests/tprops'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/f3/w/tests/tprops'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] depth: 8 containers is accepted, 9 is refused
|
||||
|
||||
@@ -1180,7 +1189,7 @@ f3: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/f/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/f/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped
|
||||
|
||||
@@ -1257,7 +1266,7 @@ f: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/g/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/g/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] GM: ignores walls, step cap and the lock; bounds still apply
|
||||
|
||||
@@ -1334,7 +1343,7 @@ g: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/h/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/h/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] corner clipping: path passes the wall end closer than r though both ends are clear
|
||||
[FAILED] leg of the path inside r of a non-start wall blocks even if start and end are clear
|
||||
@@ -1410,13 +1419,13 @@ h: exit=1 expected_failed=2 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/i/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/i/w/tests/tmoverules'
|
||||
[FAILED] P1: probes longer than the cap get one fixed nack regardless of the scene
|
||||
[OK] P2: scenes differing only beyond the bound give identical replies over 3000 probes
|
||||
[OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail)
|
||||
[OK] P4: probing cannot unlock or move a locked token
|
||||
[OK] doors beyond the bound: opening or closing them changes no reply
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/i/w/tests/tprobing'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/i/w/tests/tprobing'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] step cap = scene default without vision, token vision radius with it
|
||||
[FAILED] P1: probes longer than the cap get one fixed nack regardless of the scene
|
||||
@@ -1494,7 +1503,7 @@ i: exit=1 expected_failed=2 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[FAILED] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/j/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/j/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] wall added within r of the circle (centre not on it) sets stuck; exactly r does not
|
||||
[FAILED] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too
|
||||
@@ -1572,7 +1581,7 @@ j: exit=1 expected_failed=2 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/k/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/k/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees
|
||||
[FAILED] KEEP: wall update away from one of two overlapping walls keeps blocked
|
||||
@@ -1648,7 +1657,7 @@ k: exit=1 expected_failed=2 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/l/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/l/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 3
|
||||
[FAILED] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked
|
||||
[FAILED] GM drops a token inside a wall -> blocked; a door counts only while closed
|
||||
@@ -1727,7 +1736,7 @@ l: exit=1 expected_failed=3 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/m/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/m/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 3
|
||||
[FAILED] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too
|
||||
[FAILED] push: centre on the door line -> side of the previous position; no history -> left of a->b
|
||||
@@ -1806,7 +1815,7 @@ m: exit=1 expected_failed=3 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/n/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/n/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] push: one side blocked by another wall -> the other side; out of bounds -> the other side
|
||||
[FAILED] push: both sides invalid -> squeezed in place; door open -> still squeezed (KEEP); GM can move it
|
||||
@@ -1888,7 +1897,7 @@ n: exit=1 expected_failed=2 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/o/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/o/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] push: centre on the door line -> side of the previous position; no history -> left of a->b
|
||||
|
||||
@@ -1922,7 +1931,7 @@ o: exit=1 expected_failed=1 ok
|
||||
[OK] one wall carries the typed record plus the derived kind in the proto-2 shape
|
||||
[OK] `walls` is the full list plus the scene, `wall` is one upsert, `wall_gone` an id
|
||||
[OK] the fan-out frames carry no n: the sender stamps it per recipient
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/p/w/tests/tprotocol'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/p/w/tests/tprotocol'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] refill is continuous at 30/s, capped at the burst
|
||||
|
||||
@@ -1958,7 +1967,7 @@ p: exit=1 expected_failed=1 ok
|
||||
[OK] one wall carries the typed record plus the derived kind in the proto-2 shape
|
||||
[OK] `walls` is the full list plus the scene, `wall` is one upsert, `wall_gone` an id
|
||||
[OK] the fan-out frames carry no n: the sender stamps it per recipient
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/q/w/tests/tprotocol'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/q/w/tests/tprotocol'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] reqId boundaries: 0 and 2^31-1 pass, 2^31 and -1 are malformed
|
||||
|
||||
@@ -1994,7 +2003,7 @@ q: exit=1 expected_failed=1 ok
|
||||
[OK] one wall carries the typed record plus the derived kind in the proto-2 shape
|
||||
[OK] `walls` is the full list plus the scene, `wall` is one upsert, `wall_gone` an id
|
||||
[OK] the fan-out frames carry no n: the sender stamps it per recipient
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/r/w/tests/tprotocol'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/r/w/tests/tprotocol'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] nine malformed frames are tolerated, the tenth closes
|
||||
|
||||
@@ -2020,7 +2029,7 @@ r: exit=1 expected_failed=1 ok
|
||||
[OK] the malformed window is per connection and fires on the tenth frame
|
||||
[OK] a Pong is recorded on the right connection
|
||||
[OK] a snapshot hands out every live connection without holding the lock afterwards
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s/w/tests/tconns'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s/w/tests/tconns'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] the frame counter starts at 1 on each connection and is never global
|
||||
|
||||
@@ -2038,7 +2047,7 @@ s: exit=1 expected_failed=1 ok
|
||||
[OK] kind is derived from the switches, never stored (5.8)
|
||||
[OK] undefined and null are the same as an absent field
|
||||
[OK] adds count from 1 and the counter advances
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: UNIQUE constraint failed: wall.scene_id, wall.id [DbError]
|
||||
[FAILED] a removal never renumbers and the next add never reuses the id
|
||||
[OK] the id counter survives a reload, even when the newest wall was removed
|
||||
@@ -2047,7 +2056,7 @@ s: exit=1 expected_failed=1 ok
|
||||
[OK] nullable height and label use SQL literals and round-trip as none, not 0 or ''
|
||||
[OK] authoring runs with synchronous=FULL and leaves NORMAL behind (Q12)
|
||||
[OK] a failing write leaves memory and the pragma alone
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: UNIQUE constraint failed: wall.scene_id, wall.id [DbError]
|
||||
[FAILED] walls load in id order whatever the insertion order was
|
||||
[OK] a zero-length wall is invalid and writes nothing
|
||||
@@ -2065,7 +2074,7 @@ s: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/t/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/t/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a removal never renumbers and the next add never reuses the id
|
||||
|
||||
@@ -2084,7 +2093,7 @@ t: exit=1 expected_failed=1 ok
|
||||
[OK] undefined and null are the same as an absent field
|
||||
[OK] adds count from 1 and the counter advances
|
||||
[OK] a removal never renumbers and the next add never reuses the id
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: UNIQUE constraint failed: wall.scene_id, wall.id [DbError]
|
||||
[FAILED] the id counter survives a reload, even when the newest wall was removed
|
||||
[FAILED] add, update, door set and remove round-trip through a reload
|
||||
@@ -2108,7 +2117,7 @@ t: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/u/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/u/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] the id counter survives a reload, even when the newest wall was removed
|
||||
|
||||
@@ -2125,7 +2134,7 @@ u: exit=1 expected_failed=1 ok
|
||||
[OK] undefined and null are the same as an absent field
|
||||
[OK] adds count from 1 and the counter advances
|
||||
[OK] a removal never renumbers and the next add never reuses the id
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: UNIQUE constraint failed: wall.scene_id, wall.id [DbError]
|
||||
[FAILED] the id counter survives a reload, even when the newest wall was removed
|
||||
[FAILED] add, update, door set and remove round-trip through a reload
|
||||
@@ -2149,7 +2158,7 @@ u: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/v/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/v/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] the id counter survives a reload, even when the newest wall was removed
|
||||
|
||||
@@ -2181,10 +2190,10 @@ v: exit=1 expected_failed=1 ok
|
||||
[OK] the switch-set invariants reject door-only settings on a non-door (#55)
|
||||
[OK] storable is the last gate: a secret or locked non-door is refused
|
||||
[OK] a label is 1..64 code points, trimmed and free of control characters (#55)
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: CHECK constraint failed: open = 0 OR door = 1 [DbError]
|
||||
[FAILED] a wall is never open: the stored row normalizes it
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: CHECK constraint failed: open = 0 OR door = 1 [DbError]
|
||||
[FAILED] update keeps the row's id and open flag unless the door switch is cleared
|
||||
[OK] dot patching: only the given fields change
|
||||
@@ -2194,7 +2203,7 @@ v: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/w/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/w/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a wall is never open: the stored row normalizes it
|
||||
|
||||
@@ -2235,7 +2244,7 @@ w: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/x/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/x/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a zero-length wall is invalid and writes nothing
|
||||
|
||||
@@ -2276,7 +2285,7 @@ x: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/y/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/y/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] both endpoints must be inside [0,w] x [0,h]; the border itself is allowed
|
||||
|
||||
@@ -2297,7 +2306,7 @@ y: exit=1 expected_failed=1 ok
|
||||
[OK] add, update, door set and remove round-trip through a reload
|
||||
[OK] door.set refuses to open a secret or locked door, closing either is allowed (#56)
|
||||
[OK] nullable height and label use SQL literals and round-trip as none, not 0 or ''
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: CHECK constraint failed: open = 0 OR door = 1 [DbError]
|
||||
[FAILED] authoring runs with synchronous=FULL and leaves NORMAL behind (Q12)
|
||||
[OK] a failing write leaves memory and the pragma alone
|
||||
@@ -2311,7 +2320,7 @@ y: exit=1 expected_failed=1 ok
|
||||
[OK] a wall is never open: the stored row normalizes it
|
||||
[OK] update keeps the row's id and open flag unless the door switch is cleared
|
||||
[OK] dot patching: only the given fields change
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
Unhandled exception: CHECK constraint failed: open = 0 OR door = 1 [DbError]
|
||||
[FAILED] unknown ids are not-found, wrong kinds are their own outcome
|
||||
[OK] the first wall of a fresh scene is id 1, not 0
|
||||
@@ -2319,7 +2328,7 @@ y: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/z/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/z/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] unknown ids are not-found, wrong kinds are their own outcome
|
||||
|
||||
@@ -2360,7 +2369,7 @@ z: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/z2/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/z2/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] add, update, door set and remove round-trip through a reload
|
||||
|
||||
@@ -2401,7 +2410,7 @@ z2: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s1/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s1/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] presets expand to switches only through the one resolve path (#55)
|
||||
|
||||
@@ -2440,7 +2449,7 @@ s1: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s2/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s2/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] storable is the last gate: a secret or locked non-door is refused
|
||||
|
||||
@@ -2481,7 +2490,7 @@ s2: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s3/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s3/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] presets expand to switches only through the one resolve path (#55)
|
||||
|
||||
@@ -2537,7 +2546,7 @@ s3: exit=1 expected_failed=1 ok
|
||||
[OK] prototype scene, all tokens, doors closed and opened
|
||||
[OK] random wall fields, cell 32 and 25
|
||||
[OK] negative control: the oracle notices a missing and an invented cell
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s4/w/tests/tgeometry'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s4/w/tests/tgeometry'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] one-way: sight_dir names the blind side (left is the (-dy, dx) normal)
|
||||
|
||||
@@ -2558,7 +2567,7 @@ s4: exit=1 expected_failed=1 ok
|
||||
[OK] a removal never renumbers and the next add never reuses the id
|
||||
[OK] the id counter survives a reload, even when the newest wall was removed
|
||||
[OK] add, update, door set and remove round-trip through a reload
|
||||
/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
|
||||
AND sight_dir = 'both') [DbError]
|
||||
[FAILED] door.set refuses to open a secret or locked door, closing either is allowed (#56)
|
||||
[OK] nullable height and label use SQL literals and round-trip as none, not 0 or ''
|
||||
@@ -2580,7 +2589,7 @@ s4: exit=1 expected_failed=1 ok
|
||||
[OK] one field is enough; a patch with none is invalid
|
||||
[OK] the non-settable columns are unknown fields: alone they leave no patch field
|
||||
[OK] field shapes: text by the 6.5 rule, numbers finite, extra an object
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s5/w/tests/tworld'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s5/w/tests/tworld'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] door.set refuses to open a secret or locked door, closing either is allowed (#56)
|
||||
|
||||
@@ -2596,7 +2605,7 @@ s5: exit=1 expected_failed=1 ok
|
||||
[FAILED] a geometry change retracts the marker and a re-earn gets a fresh id
|
||||
[OK] a placement change retracts too; height and label never do
|
||||
[OK] a solid wall with the switch on mints nothing; clearing the switch retracts
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s6/w/tests/tmarkers'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s6/w/tests/tmarkers'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a geometry change retracts the marker and a re-earn gets a fresh id
|
||||
|
||||
@@ -2612,19 +2621,20 @@ s6: exit=1 expected_failed=1 ok
|
||||
[OK] a geometry change retracts the marker and a re-earn gets a fresh id
|
||||
[FAILED] a placement change retracts too; height and label never do
|
||||
[OK] a solid wall with the switch on mints nothing; clearing the switch retracts
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s7/w/tests/tmarkers'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/s7/w/tests/tmarkers'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] an untouched marker survives a refresh: it is memory, not current sight
|
||||
|
||||
s7: exit=1 expected_failed=1 ok
|
||||
## aa: the egress ignores LOS, gm_only and ownership
|
||||
# diff server/views.nim -> mutated copy:
|
||||
# 268c268
|
||||
# 281c281
|
||||
# < if not pv[].visibleTo(t, playerId): continue
|
||||
# ---
|
||||
# > if false: continue
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[FAILED] the set of tokens follows the visibility rule
|
||||
[OK] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -2658,7 +2668,7 @@ s7: exit=1 expected_failed=1 ok
|
||||
[OK] a player never receives another player's list
|
||||
[OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
[OK] building a Context and egressing does not scale with the explored sets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/aa/w/tests/tviews'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/aa/w/tests/tviews'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] the set of tokens follows the visibility rule
|
||||
|
||||
@@ -2682,7 +2692,7 @@ aa: exit=1 expected_failed=1 ok
|
||||
[OK] another token needs to be inside the polygon
|
||||
[FAILED] a gm_only token inside the LOS is not visible to anyone else
|
||||
[OK] a player with no vision token sees only what they control
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ab/w/tests/tvision'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ab/w/tests/tvision'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a gm_only token inside the LOS is not visible to anyone else
|
||||
|
||||
@@ -2706,19 +2716,20 @@ ab: exit=1 expected_failed=1 ok
|
||||
[OK] another token needs to be inside the polygon
|
||||
[OK] a gm_only token inside the LOS is not visible to anyone else
|
||||
[FAILED] a player with no vision token sees only what they control
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ac/w/tests/tvision'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ac/w/tests/tvision'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a controlled token is always visible, gm_only included
|
||||
|
||||
ac: exit=1 expected_failed=1 ok
|
||||
## ad: no token_gone when a token leaves the view
|
||||
# diff server/views.nim -> mutated copy:
|
||||
# 698c698
|
||||
# 717c717
|
||||
# < result.add tokenGoneFrame(id)
|
||||
# ---
|
||||
# > discard
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[OK] the set of tokens follows the visibility rule
|
||||
[OK] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -2752,19 +2763,20 @@ ac: exit=1 expected_failed=1 ok
|
||||
[OK] a player never receives another player's list
|
||||
[OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
[OK] building a Context and egressing does not scale with the explored sets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ad/w/tests/tviews'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ad/w/tests/tviews'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] leaving view sends `token_gone` once, and never for a token that was never sent
|
||||
|
||||
ad: exit=1 expected_failed=1 ok
|
||||
## ae: a player token frame carries the GM-only kind
|
||||
# diff server/views.nim -> mutated copy:
|
||||
# 433c433
|
||||
# 449c449
|
||||
# < "statuses": statusKindsJson(v.statuses), "props": buckets, "cprops": cprops
|
||||
# ---
|
||||
# > "statuses": statusKindsJson(v.statuses), "props": buckets, "kind": "npc", "cprops": cprops
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[OK] the set of tokens follows the visibility rule
|
||||
[FAILED] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -2798,7 +2810,7 @@ ad: exit=1 expected_failed=1 ok
|
||||
[OK] a player never receives another player's list
|
||||
[OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
[OK] building a Context and egressing does not scale with the explored sets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ae/w/tests/tviews'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ae/w/tests/tviews'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a player frame carries no GM-only field and no wall-like key
|
||||
|
||||
@@ -2824,14 +2836,14 @@ ae: exit=1 expected_failed=1 ok
|
||||
[OK] another token needs to be inside the polygon
|
||||
[OK] a gm_only token inside the LOS is not visible to anyone else
|
||||
[OK] a player with no vision token sees only what they control
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/af/w/tests/tvision'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/af/w/tests/tvision'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] moving adds cells and never forgets the old ones
|
||||
|
||||
af: exit=1 expected_failed=1 ok
|
||||
## ag: the chunk row stride is dropped
|
||||
# diff server/explored.nim -> mutated copy:
|
||||
# 56c56
|
||||
# 97c97
|
||||
# < ((cy mod ChunkCells) * ChunkCells) + (cx mod ChunkCells)
|
||||
# ---
|
||||
# > (cy mod ChunkCells) + (cx mod ChunkCells)
|
||||
@@ -2846,14 +2858,14 @@ af: exit=1 expected_failed=1 ok
|
||||
[OK] restore: two players' explored never mix
|
||||
[OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
[OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ag/w/tests/texplored'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ag/w/tests/texplored'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] the chunk bitmap layout is pinned
|
||||
|
||||
ag: exit=1 expected_failed=1 ok
|
||||
## ah: a cell coordinate is used as a chunk coordinate
|
||||
# diff server/explored.nim -> mutated copy:
|
||||
# 46c46
|
||||
# 87c87
|
||||
# < cell div ChunkCells
|
||||
# ---
|
||||
# > cell
|
||||
@@ -2870,14 +2882,14 @@ ag: exit=1 expected_failed=1 ok
|
||||
[FAILED] restore: two players' explored never mix
|
||||
[OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
[OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ah/w/tests/texplored'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ah/w/tests/texplored'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] one chunk covers 64x64 cells
|
||||
|
||||
ah: exit=1 expected_failed=1 ok
|
||||
## ai: restore forgets the decoded cells
|
||||
# diff server/explored.nim -> mutated copy:
|
||||
# 146c146
|
||||
# 187c187
|
||||
# < result.mgetOrPut(pid, PlayerVision()).explored.incl idx
|
||||
# ---
|
||||
# > discard
|
||||
@@ -2900,14 +2912,14 @@ ah: exit=1 expected_failed=1 ok
|
||||
[FAILED] restore: two players' explored never mix
|
||||
[OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
[OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ai/w/tests/texplored'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ai/w/tests/texplored'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] restore: the stored cells come back exactly
|
||||
|
||||
ai: exit=1 expected_failed=1 ok
|
||||
## aj: explored chunks keyed by scene, not player
|
||||
# diff server/explored.nim -> mutated copy:
|
||||
# 127c127
|
||||
# 168c168
|
||||
# < db.exec(ps, c.playerId, sceneId, c.cx, c.cy, c.bits)
|
||||
# ---
|
||||
# > db.exec(ps, sceneId, sceneId, c.cx, c.cy, c.bits)
|
||||
@@ -2930,14 +2942,14 @@ ai: exit=1 expected_failed=1 ok
|
||||
[FAILED] restore: two players' explored never mix
|
||||
[FAILED] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
[OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/aj/w/tests/texplored'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/aj/w/tests/texplored'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] restore: two players' explored never mix
|
||||
|
||||
aj: exit=1 expected_failed=1 ok
|
||||
## ak: a chunk rewrite is ignored
|
||||
# diff server/explored.nim -> mutated copy:
|
||||
# 116c116
|
||||
# 157c157
|
||||
# < ON CONFLICT(player_id, scene_id, cx, cy) DO UPDATE SET bits = excluded.bits"""
|
||||
# ---
|
||||
# > ON CONFLICT(player_id, scene_id, cx, cy) DO NOTHING"""
|
||||
@@ -2952,14 +2964,14 @@ aj: exit=1 expected_failed=1 ok
|
||||
[OK] restore: two players' explored never mix
|
||||
[OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
[OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ak/w/tests/texplored'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ak/w/tests/texplored'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a second write to the same chunk replaces the bitmap
|
||||
|
||||
ak: exit=1 expected_failed=1 ok
|
||||
## al: dirty chunks keyed by row only
|
||||
# diff server/explored.nim -> mutated copy:
|
||||
# 105c105
|
||||
# 146c146
|
||||
# < let key = ccy * sc.chunkCols + ccx
|
||||
# ---
|
||||
# > let key = ccy
|
||||
@@ -2974,19 +2986,20 @@ ak: exit=1 expected_failed=1 ok
|
||||
[OK] restore: two players' explored never mix
|
||||
[OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
[OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/al/w/tests/texplored'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/al/w/tests/texplored'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] two chunks in one chunk row are both written
|
||||
|
||||
al: exit=1 expected_failed=1 ok
|
||||
## am: the owner bucket reaches a non-controller
|
||||
# diff server/views.nim -> mutated copy:
|
||||
# 284c284
|
||||
# 297c297
|
||||
# < propsOwner: (if mine: objectOf(t.props[pbOwner]) else: nil),
|
||||
# ---
|
||||
# > propsOwner: t.props[pbOwner],
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[OK] the set of tokens follows the visibility rule
|
||||
[OK] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -3020,7 +3033,7 @@ al: exit=1 expected_failed=1 ok
|
||||
[OK] a player never receives another player's list
|
||||
[OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
[OK] building a Context and egressing does not scale with the explored sets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/am/w/tests/tviews'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/am/w/tests/tviews'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a player who sees the token gets the public bucket only
|
||||
|
||||
@@ -3097,7 +3110,7 @@ am: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[FAILED] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/an/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/an/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] wall added within r of the circle (centre not on it) sets stuck; exactly r does not
|
||||
|
||||
@@ -3174,7 +3187,7 @@ an: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ao/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ao/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] a squeeze from a failed grow clears when a later shrink ends the overlap
|
||||
[FAILED] a shrink that still overlaps keeps the stuck entry
|
||||
@@ -3202,7 +3215,7 @@ ao: exit=1 expected_failed=2 ok
|
||||
[OK] propsJson carries all three buckets, always as objects
|
||||
[OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
[OK] normalize repairs nil buckets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ap/w/tests/tprops'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ap/w/tests/tprops'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] 64 keys per bucket, the 65th is refused and nothing changes
|
||||
|
||||
@@ -3279,7 +3292,7 @@ ap: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/aq/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/aq/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] grow inside r of a wall pushes it out by the minimal perpendicular distance
|
||||
|
||||
@@ -3354,7 +3367,7 @@ aq: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ar/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ar/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] grow with no room on either side squeezes the token and leaves it in place
|
||||
|
||||
@@ -3431,7 +3444,7 @@ ar: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/as/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/as/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] push: both sides invalid -> squeezed in place; door open -> still squeezed (KEEP); GM can move it
|
||||
|
||||
@@ -3460,7 +3473,7 @@ as: exit=1 expected_failed=1 ok
|
||||
[OK] propsJson carries all three buckets, always as objects
|
||||
[OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
[OK] normalize repairs nil buckets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/at/w/tests/tprops'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/at/w/tests/tprops'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] 64 keys per bucket, the 65th is refused and nothing changes
|
||||
|
||||
@@ -3537,7 +3550,7 @@ at: exit=1 expected_failed=1 ok
|
||||
[OK] a GM-sourced lock refuses player moves without touching the walls entries
|
||||
[OK] a wall added over a GM-locked token only adds the walls entry
|
||||
[OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/au/w/tests/tmoverules'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/au/w/tests/tmoverules'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a grow that already fits does not move the token
|
||||
|
||||
@@ -3575,7 +3588,7 @@ au: exit=1 expected_failed=1 ok
|
||||
[FAILED] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/av/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/av/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] a character owner sees the actual name without any reveal row
|
||||
[FAILED] a linked token borrows the character's names, so one reveal covers all of them
|
||||
@@ -3614,7 +3627,7 @@ av: exit=1 expected_failed=2 ok
|
||||
[OK] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/aw/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/aw/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] a first sighting records what the player knows right now
|
||||
[FAILED] a rename follows the subject, and a player who was never told keeps not knowing
|
||||
@@ -3653,7 +3666,7 @@ aw: exit=1 expected_failed=2 ok
|
||||
[OK] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ax/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ax/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a rename follows the subject, and a player who was never told keeps not knowing
|
||||
|
||||
@@ -3691,7 +3704,7 @@ ax: exit=1 expected_failed=1 ok
|
||||
[OK] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[FAILED] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ay/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/ay/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a linked token carries no names of its own (they belong to the character)
|
||||
|
||||
@@ -3729,7 +3742,7 @@ ay: exit=1 expected_failed=1 ok
|
||||
[OK] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[FAILED] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/az/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/az/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a character still figured by a token is in use (6.5)
|
||||
|
||||
@@ -3767,7 +3780,7 @@ az: exit=1 expected_failed=1 ok
|
||||
[OK] a character rename follows the snapshots of everyone who met it
|
||||
[FAILED] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/b1/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/b1/w/tests/tcharacters'
|
||||
[OK] 12 characters from the documented alphabet
|
||||
[OK] freshId never returns an id that is taken
|
||||
[OK] a name is trimmed, non-empty and free of control characters
|
||||
@@ -3830,7 +3843,7 @@ b1: exit=1 expected_failed=1 ok
|
||||
[FAILED] a character rename follows the snapshots of everyone who met it
|
||||
[OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
[OK] a character still figured by a token is in use (6.5)
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/b2/w/tests/tcharacters'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/b2/w/tests/tcharacters'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] a character rename rewrites the live snapshots and the rows alike (#30, #27)
|
||||
[FAILED] a character rename follows the snapshots of everyone who met it
|
||||
@@ -3838,12 +3851,13 @@ Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/b2/w/tests/t
|
||||
b2: exit=1 expected_failed=2 ok
|
||||
## b3: cprops carries the character owner bucket
|
||||
# diff server/views.nim -> mutated copy:
|
||||
# 287c287
|
||||
# 300c300
|
||||
# < cpropsPublic: objectOf(if ch.isSome and not ownsCharacter: ch.get.props[pbPublic]
|
||||
# ---
|
||||
# > cpropsPublic: objectOf(if ch.isSome and not ownsCharacter: ch.get.props[pbOwner]
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[OK] the set of tokens follows the visibility rule
|
||||
[OK] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -3879,19 +3893,20 @@ b2: exit=1 expected_failed=2 ok
|
||||
[OK] a player never receives another player's list
|
||||
[OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
[OK] building a Context and egressing does not scale with the explored sets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/b3/w/tests/tviews'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/b3/w/tests/tviews'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] cprops carries the character's public bucket to a non-owner, and never the owner bucket
|
||||
|
||||
b3: exit=1 expected_failed=1 ok
|
||||
## b4: a player is sent every character
|
||||
# diff server/views.nim -> mutated copy:
|
||||
# 290c290
|
||||
# 303c303
|
||||
# < if c.owner != playerId: continue
|
||||
# ---
|
||||
# > if false: continue
|
||||
[OK] every token, in token order, with controller and both names
|
||||
[OK] a GM-controlled token shows controller null
|
||||
[OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
[OK] the GM never gets vision polygons or explored cells
|
||||
[OK] the set of tokens follows the visibility rule
|
||||
[OK] a player frame carries no GM-only field and no wall-like key
|
||||
@@ -3925,15 +3940,15 @@ b3: exit=1 expected_failed=1 ok
|
||||
[OK] a player never receives another player's list
|
||||
[OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
[OK] building a Context and egressing does not scale with the explored sets
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/b4/w/tests/tviews'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/b4/w/tests/tviews'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a player gets only its own characters, without owner, reveal_all or revealed
|
||||
|
||||
b4: exit=1 expected_failed=1 ok
|
||||
## c1: the tile gate ignores the explored set
|
||||
# diff server/tiles.nim -> mutated copy:
|
||||
# 123c123
|
||||
# < if sc.cellIndex(cx, cy) in explored: return true
|
||||
# 139c139
|
||||
# < if cy * sc.cols + cx in explored: return true
|
||||
# ---
|
||||
# > if true: return true
|
||||
[OK] canonical numbers: digits only, bounded, no leading zero
|
||||
@@ -3948,7 +3963,7 @@ b4: exit=1 expected_failed=1 ok
|
||||
[FAILED] a tile is allowed when any overlapping cell is explored
|
||||
[FAILED] the explored overlap respects the scene border
|
||||
[OK] a request built from one record stays internally consistent when the scene is swapped
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c1/w/tests/ttiles'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/c1/w/tests/ttiles'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] an unexplored tile is refused
|
||||
[FAILED] a tile is allowed when any overlapping cell is explored
|
||||
@@ -3956,10 +3971,10 @@ Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c1/w/tests/t
|
||||
c1: exit=1 expected_failed=2 ok
|
||||
## c2: the tile gate needs every overlapping cell
|
||||
# diff server/tiles.nim -> mutated copy:
|
||||
# 123c123
|
||||
# < if sc.cellIndex(cx, cy) in explored: return true
|
||||
# 139c139
|
||||
# < if cy * sc.cols + cx in explored: return true
|
||||
# ---
|
||||
# > if sc.cellIndex(cx, cy) notin explored: return false
|
||||
# > if cy * sc.cols + cx notin explored: return false
|
||||
[OK] canonical numbers: digits only, bounded, no leading zero
|
||||
[OK] a canonical URL parses to its three integers
|
||||
[OK] leading zero tile coordinates are malformed
|
||||
@@ -3972,7 +3987,7 @@ c1: exit=1 expected_failed=2 ok
|
||||
[FAILED] a tile is allowed when any overlapping cell is explored
|
||||
[FAILED] the explored overlap respects the scene border
|
||||
[FAILED] a request built from one record stays internally consistent when the scene is swapped
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c2/w/tests/ttiles'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/c2/w/tests/ttiles'
|
||||
# test exit=1; expected tests failed: 2
|
||||
[FAILED] an unexplored tile is refused
|
||||
[FAILED] a tile is allowed when any overlapping cell is explored
|
||||
@@ -3980,7 +3995,7 @@ Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c2/w/tests/t
|
||||
c2: exit=1 expected_failed=2 ok
|
||||
## c3: an out-of-grid tile coordinate is accepted
|
||||
# diff server/tiles.nim -> mutated copy:
|
||||
# 77c77
|
||||
# 93c93
|
||||
# < x >= 0 and y >= 0 and x < tileCols(sc) and y < tileRows(sc)
|
||||
# ---
|
||||
# > x >= 0 and y >= 0
|
||||
@@ -3996,14 +4011,14 @@ c2: exit=1 expected_failed=2 ok
|
||||
[OK] a tile is allowed when any overlapping cell is explored
|
||||
[OK] the explored overlap respects the scene border
|
||||
[OK] a request built from one record stays internally consistent when the scene is swapped
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c3/w/tests/ttiles'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/c3/w/tests/ttiles'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] a tile coordinate outside the grid is out of range
|
||||
|
||||
c3: exit=1 expected_failed=1 ok
|
||||
## c4: a leading-zero tile coordinate is canonical
|
||||
# diff server/tiles.nim -> mutated copy:
|
||||
# 55c55
|
||||
# 71c71
|
||||
# < if raw[0] == '0' and raw.len > 1: return false
|
||||
# ---
|
||||
# > discard
|
||||
@@ -4019,7 +4034,7 @@ c3: exit=1 expected_failed=1 ok
|
||||
[OK] a tile is allowed when any overlapping cell is explored
|
||||
[OK] the explored overlap respects the scene border
|
||||
[OK] a request built from one record stays internally consistent when the scene is swapped
|
||||
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c4/w/tests/ttiles'
|
||||
Error: execution of an external program failed: '/tmp/fffmut.hyr7SV/c4/w/tests/ttiles'
|
||||
# test exit=1; expected tests failed: 1
|
||||
[FAILED] leading zero tile coordinates are malformed
|
||||
|
||||
|
||||
+72
-56
@@ -1,6 +1,6 @@
|
||||
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt-m64/.devbox/nimble'
|
||||
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt-m76/.devbox/nimble'
|
||||
Info: using /nix/store/0cbdz34lsakfirycixckf6ypsd8hazhg-x86_64-unknown-linux-gnu-nim-wrapper-2.2.12/bin/nim for compilation
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tauth (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tauth (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] GM key (fff-vtt gm-key)
|
||||
... [OK] first run creates the single GM and prints a key; re-run prints the same key
|
||||
... [OK] --new rotates: new key, old key invalid, GM sessions revoked, same player
|
||||
@@ -15,7 +15,7 @@
|
||||
... [OK] only the hash is stored; the token itself appears nowhere
|
||||
... [OK] unknown hash gives no player; revoking one player leaves the other alone
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tcharacters (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tcharacters (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] the name rule (DESIGN 8: one copy, used by every frame)
|
||||
... [OK] an owner, a reveal_all and a per-player reveal each expose the actual name
|
||||
... [OK] visibleName picks the name the recipient knows
|
||||
@@ -48,7 +48,7 @@
|
||||
... [OK] player.remove hands the player's characters to the GM (DESIGN 3.2)
|
||||
... [OK] a character still figured by a token is in use (6.5)
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tconfig (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tconfig (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] config defaults
|
||||
... [OK] defaults: dev origin, port 9000, state dir run
|
||||
... [OK] state dir is joined, not concatenated
|
||||
@@ -75,7 +75,7 @@
|
||||
... [OK] --help is not an error and asks for usage, even with a broken env
|
||||
... [OK] usage lists the three keys and says the bind is fixed
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tconns (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tconns (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] total cap
|
||||
... [OK] 16 reservations succeed, the 17th is refused
|
||||
... [OK] a cancelled reservation gives the slot back
|
||||
@@ -96,7 +96,7 @@
|
||||
... [OK] a Pong is recorded on the right connection
|
||||
... [OK] a snapshot hands out every live connection without holding the lock afterwards
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tcrypto (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tcrypto (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] sha256
|
||||
... [OK] FIPS 180-4 known answers
|
||||
... [OK] padding boundaries: 55, 56 and 64 byte messages differ and are stable
|
||||
@@ -110,23 +110,23 @@
|
||||
... [Suite] constant-time compare
|
||||
... [OK] equal only for identical strings, including the empty case
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/db.nim(298, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/db.nim(299, 10) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/world.nim(440, 14) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/world.nim(441, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/db.nim(298, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/db.nim(299, 10) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/world.nim(440, 14) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/world.nim(441, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
|
||||
... [Suite] open
|
||||
... [OK] creates the file, sets WAL, synchronous NORMAL, busy_timeout, foreign_keys
|
||||
... [Suite] migrate
|
||||
@@ -145,7 +145,7 @@
|
||||
... [OK] withTransaction rolls back a Defect and leaves the connection usable
|
||||
... [OK] authoringTransaction rolls back a Defect and restores NORMAL
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tdetach (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tdetach (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] detachedJson
|
||||
... [OK] rebuilds nodes and string payloads
|
||||
... [OK] mutating the source leaves the copy alone
|
||||
@@ -158,11 +158,11 @@
|
||||
... [Suite] the premise this guards (world.parseFlags)
|
||||
... [OK] parseFlags returns the caller's node by reference, not a copy
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/testutil (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/testutil (from package fff_vtt) using c backend
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/texplored (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/texplored (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] chunk format
|
||||
... [OK] the chunk bitmap layout is pinned
|
||||
... [OK] one chunk covers 64x64 cells
|
||||
@@ -177,10 +177,10 @@
|
||||
... [OK] restore: two players' explored never mix
|
||||
... [OK] restore: an empty store restores nothing and a removed player takes its chunks
|
||||
... [Suite] cost
|
||||
... chunk write: avg 0.012 ms, p99 0.030 ms over 200 commits
|
||||
... chunk write: avg 0.011 ms, p99 0.022 ms over 200 commits
|
||||
... [OK] a mutation-scale chunk write stays inside the 4.3 commit budget
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tgeometry (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tgeometry (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] visibility
|
||||
... [OK] open space is a circle
|
||||
... [OK] wall blocks
|
||||
@@ -234,12 +234,12 @@
|
||||
... [OK] random wall fields, cell 32 and 25
|
||||
... [OK] negative control: the oracle notices a missing and an invented cell
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tinstancelock (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tinstancelock (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] instance lock
|
||||
... [OK] acquires, creates the lock file, releases and re-acquires
|
||||
... [OK] release is idempotent
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tlogging (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tlogging (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] redaction by value
|
||||
... [OK] a secret passed as a field value never appears in the output
|
||||
... [OK] a secret inside free text, the event name or a nested value is scrubbed too
|
||||
@@ -256,10 +256,10 @@
|
||||
... [OK] messages below the level are dropped
|
||||
... [OK] no fields is still one valid line
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tmarkers (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/markers.nim(29, 8) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tmarkers (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/markers.nim(29, 8) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] player markers (5.8, #59/#60)
|
||||
... [OK] a marked window seen by any part of its extent mints one anchor marker
|
||||
... [OK] an untouched marker survives a refresh: it is memory, not current sight
|
||||
@@ -267,7 +267,7 @@
|
||||
... [OK] a placement change retracts too; height and label never do
|
||||
... [OK] a solid wall with the switch on mints nothing; clearing the switch retracts
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tmoverules (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tmoverules (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] pathClear, r = 0 (ported prototype move tests)
|
||||
... [OK] crossing blocked, parallel ok
|
||||
... [OK] grazing an endpoint is blocked
|
||||
@@ -344,7 +344,7 @@
|
||||
... [OK] a wall added over a GM-locked token only adds the walls entry
|
||||
... [OK] the GM clear of the walls entries leaves a GM-sourced entry alone (no rule runs)
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tprobing (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tprobing (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] probing (T8)
|
||||
... [OK] P1: probes longer than the cap get one fixed nack regardless of the scene
|
||||
... [OK] P2: scenes differing only beyond the bound give identical replies over 3000 probes
|
||||
@@ -352,7 +352,7 @@
|
||||
... [OK] P4: probing cannot unlock or move a locked token
|
||||
... [OK] doors beyond the bound: opening or closing them changes no reply
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tprops (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tprops (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] caps (6.1, numbers FIXED owner-delegated by #22)
|
||||
... [OK] 64 keys per bucket, the 65th is refused and nothing changes
|
||||
... [OK] an existing key can still be overwritten at the cap
|
||||
@@ -377,7 +377,7 @@
|
||||
... [OK] clone gives fresh buckets: editing the copy cannot reach the original
|
||||
... [OK] normalize repairs nil buckets
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tprotocol (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tprotocol (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] envelope (6.5 step 2)
|
||||
... [OK] a well-formed intent parses and keeps its reqId and node
|
||||
... [OK] reqId boundaries: 0 and 2^31-1 pass, 2^31 and -1 are malformed
|
||||
@@ -409,15 +409,30 @@
|
||||
... [OK] `walls` is the full list plus the scene, `wall` is one upsert, `wall_gone` an id
|
||||
... [OK] the fan-out frames carry no n: the sender stamps it per recipient
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tscenegen (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tscenegen (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] scenegen (bench scenes)
|
||||
... [OK] exactly n walls, deterministic per seed, seeds differ
|
||||
... [OK] doors are every 10th wall, all closed; walls stay inside the world (+- jitter)
|
||||
... [OK] walls are non-degenerate and axis-ish segments of room-edge length
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/ttiles (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tsessions (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] gate cache: sessions
|
||||
... [OK] a revocation drops every cached session of that player and no other
|
||||
... [OK] player removal drops the sessions and the explored bitmap
|
||||
... [OK] sessions survive a restart through the database, replaced ones do not
|
||||
... [Suite] gate cache: explored bitmap
|
||||
... [OK] the bitmap holds the same cells as the set, with the cell-index layout
|
||||
... [OK] a refresh marks only its fresh cells, and the snapshot only grows
|
||||
... [Suite] gate cache: the tile rule
|
||||
... [OK] the GM is always allowed; a player only through an explored bit
|
||||
... [OK] the URL is decided before any session is looked at
|
||||
... [OK] a scene republish changes the parse result, never a mixture
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/ttiles (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] tile URL grammar
|
||||
... [OK] canonical numbers: digits only, bounded, no leading zero
|
||||
... [OK] a canonical URL parses to its three integers
|
||||
@@ -434,7 +449,7 @@
|
||||
... [Suite] one scene record per request (#31)
|
||||
... [OK] a request built from one record stays internally consistent when the scene is swapped
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/ttokens (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/ttokens (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] ids (DESIGN 8, FIXED #3: random, opaque, 12 chars)
|
||||
... [OK] 12 characters from the documented alphabet
|
||||
... [OK] freshId never returns an id that is taken
|
||||
@@ -467,12 +482,13 @@
|
||||
... [OK] removing a token removes its status rows (FK cascade)
|
||||
... [OK] status helpers keep the entry set unique and ordered
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tviews (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tviews (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... [Suite] GM view (3.1: everything, with the GM-only extras)
|
||||
... [OK] every token, in token order, with controller and both names
|
||||
... [OK] a GM-controlled token shows controller null
|
||||
... [OK] seen_by lists the players whose existing sight sees each token, ascending
|
||||
... [OK] the GM never gets vision polygons or explored cells
|
||||
... [Suite] player view (3.1: controlled always, LOS + not gm_only otherwise)
|
||||
... [OK] the set of tokens follows the visibility rule
|
||||
@@ -512,15 +528,15 @@
|
||||
... [OK] a player never receives another player's list
|
||||
... [Suite] egress borrows the world instead of copying it (#28)
|
||||
... [OK] a Context is six addresses: in-place changes are visible through the borrow
|
||||
... #28 context build, 262144 cells x 6 players: 0.007 us (min of 5 x 100)
|
||||
... #28 egress, 262144 cells x 6 players x 40 entries: GM 0.543 ms, player 0.226 ms (min of 20)
|
||||
... #28 egress, 16384 cells x 6 players x 40 entries: GM 0.556 ms (min of 20)
|
||||
... #28 context build, 262144 cells x 6 players: 0.014 us (min of 5 x 100)
|
||||
... #28 egress, 262144 cells x 6 players x 40 entries: GM 1.173 ms, player 0.279 ms (min of 20)
|
||||
... #28 egress, 16384 cells x 6 players x 40 entries: GM 0.809 ms (min of 20)
|
||||
... [OK] building a Context and egressing does not scale with the explored sets
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tvision (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m64/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m64/tests/tvision.nim(4, 13) Warning: imported and not used: 'algorithm' [UnusedImport]
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tvision (from package fff_vtt) using c backend
|
||||
Nim Output /home/davide/Projects/GDR/FFF_vtt-m76/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
|
||||
... /home/davide/Projects/GDR/FFF_vtt-m76/tests/tvision.nim(4, 13) Warning: imported and not used: 'algorithm' [UnusedImport]
|
||||
... [Suite] polygons (5.1: one per controlled token with the `vision` flag)
|
||||
... [OK] only the player's own vision tokens produce one, in token order
|
||||
... [OK] a player with no vision token has no polygons at all
|
||||
@@ -541,7 +557,7 @@
|
||||
... [OK] a gm_only token inside the LOS is not visible to anyone else
|
||||
... [OK] a player with no vision token sees only what they control
|
||||
Success: Execution finished
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tworld (from package fff_vtt) using c backend
|
||||
Compiling /home/davide/Projects/GDR/FFF_vtt-m76/tests/tworld (from package fff_vtt) using c backend
|
||||
Nim Output [Suite] scene (migration step 3, Q3: exactly one scene)
|
||||
... [OK] the migration seeds scene 1 with the v1 defaults, no walls, next_wall_id 1
|
||||
... [OK] an unknown scene id is not there (the wire answers not-found)
|
||||
|
||||
Reference in New Issue
Block a user