results: rerun the gates with the sector-limited fan (#64)

Rebased on origin/main (1dff520). devbox run test green (Nim suite + 149
node tests + group evidence); devbox run mutation green including a2 (a ray
tests the next sector's chord) failing 5 bit-identical tests. bench.log is
the rebased run: prototype polygon 0.009 ms, 5k sparse 0.035 ms, 5k dense
0.737 ms.

Refs #64.
This commit is contained in:
2026-11-20 23:40:06 +01:00
parent d192381d13
commit 97f618c5ad
3 changed files with 314 additions and 167 deletions
+19 -14
View File
@@ -1,17 +1,22 @@
/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.008ms worst=0.042ms
6 polys (one 6-token party): n=500 avg=0.049ms worst=0.062ms
1 poly + cellsTouched (scanline): n=2000 avg=0.015ms worst=0.036ms
6 polys + cellsTouched (scanline): n=300 avg=0.088ms worst=0.118ms
1 poly + cellsTouchedOld (prototype reference): n=500 avg=0.517ms worst=1.031ms
TARGET polygon+cells, prototype scene (prototype baseline 0.451): 0.015 ms vs <= 0.451 ms: PASS
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
== 5k sparse: genScene(world=16384., n=5000, seed=1), avg walls in vision bbox 15.6 ==
1 poly, 5k sparse: n=2000 avg=0.031ms worst=0.059ms
1 poly + cellsTouched, 5k sparse: n=2000 avg=0.042ms worst=0.364ms
1 move check (pathClear, cap-length step), 5k sparse: n=20000 avg=0.008ms worst=0.162ms
TARGET polygon, 5k-wall scene: 0.031 ms vs <= 1.0 ms: PASS
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
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.681ms worst=2.336ms
1 poly + cellsTouched, 5k dense: n=2000 avg=0.710ms worst=2.193ms
1 move check (pathClear, cap-length step), 5k dense: n=20000 avg=0.007ms worst=0.127ms
(sink 6023672)
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
== 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)
+229 -97
View File
@@ -132,6 +132,10 @@
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -141,6 +145,11 @@
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[OK] visibilityPolygon and cellsTouched equal the prototype results
[OK] corpus polygons are bit-identical to the all-segments fan
[OK] seed scene tokens, doors and every switch shape: bit-identical
[OK] scenegen sparse and dense layouts, every switch shape: bit-identical
[OK] #26 collinear/radial walls: bit-identical (the fix is preserved)
[OK] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
@@ -405,7 +414,7 @@
control: exit=0 expected_failed=0 ok
## a: remove the +-RayEps rays
# diff server/geometry.nim -> mutated copy:
# 105,106d104
# 120,121d119
# < angles.add ang - RayEps
# < angles.add ang + RayEps
[OK] open space is a circle
@@ -429,6 +438,10 @@ control: exit=0 expected_failed=0 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[FAILED] wall lying along a 64-gon ray: no leak past its far end (#26)
[FAILED] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -438,20 +451,85 @@ control: exit=0 expected_failed=0 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[FAILED] visibilityPolygon and cellsTouched equal the prototype results
[FAILED] corpus polygons are bit-identical to the all-segments fan
[FAILED] seed scene tokens, doors and every switch shape: bit-identical
[FAILED] scenegen sparse and dense layouts, every switch shape: bit-identical
[FAILED] #26 collinear/radial walls: bit-identical (the fix is preserved)
[FAILED] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/a/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
a: exit=1 expected_failed=1 ok
## a2: a ray tests the next sector's chord
# diff server/geometry.nim -> mutated copy:
# 138c138
# < best = min(best, rayHit(o, d, segs[sector][0], segs[sector][1]))
# ---
# > best = min(best, rayHit(o, d, segs[(sector + 1) mod circleSegs][0], segs[(sector + 1) mod circleSegs][1]))
[OK] open space is a circle
[OK] wall blocks
[OK] shared endpoint: no leak at the vertex
[OK] shared vertex: both arms required (mutation d1/d2)
[OK] '<' apex: ray through the shared tip must not leak
[OK] every segment endpoint is a polygon vertex (lower and upper end inclusive)
[FAILED] rays nudged past a corner: area just beyond a wall end is visible
[OK] shared endpoint: closed corner of box has no crack
[OK] collinear walls act as one
[OK] collinear walls with a gap let light through
[OK] T-junction: no leak and correct shadow
[OK] pillar mid-room casts a shadow, sides visible
[OK] closed door blocks, open door passes
[OK] one-way: sight_dir names the blind side (left is the (-dy, dx) normal)
[OK] one-way: flipping the direction swaps the blind side and moves nothing
[OK] one-way: an open door blocks neither side whatever the direction says
[OK] token exactly at wall endpoint
[OK] token at endpoint of free-standing wall sees along it
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[FAILED] wall lying along a 64-gon ray: no leak past its far end (#26)
[FAILED] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
[OK] big polygon includes fully covered interior cells
[OK] degenerate input: fewer than 3 vertices
[OK] touching a cell line: inclusive on the max side, not on the bbox minimum side
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[FAILED] visibilityPolygon and cellsTouched equal the prototype results
[FAILED] corpus polygons are bit-identical to the all-segments fan
[FAILED] seed scene tokens, doors and every switch shape: bit-identical
[FAILED] scenegen sparse and dense layouts, every switch shape: bit-identical
[FAILED] #26 collinear/radial walls: bit-identical (the fix is preserved)
[FAILED] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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'
# 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
[FAILED] scenegen sparse and dense layouts, every switch shape: bit-identical
[FAILED] #26 collinear/radial walls: bit-identical (the fix is preserved)
[FAILED] random walls, grid-snapped radial additions and switches: bit-identical
a2: exit=1 expected_failed=5 ok
## b: upper segment end exclusive
# diff server/geometry.nim -> mutated copy:
# 78c78
# 93c93
# < if t > Eps and u >= -Eps and u <= 1 + Eps: t else: Inf
# ---
# > if t > Eps and u >= -Eps and u < 1 - Eps: t else: Inf
@@ -476,6 +554,10 @@ a: exit=1 expected_failed=1 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -485,13 +567,18 @@ a: exit=1 expected_failed=1 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[FAILED] visibilityPolygon and cellsTouched equal the prototype results
[FAILED] corpus polygons are bit-identical to the all-segments fan
[FAILED] seed scene tokens, doors and every switch shape: bit-identical
[FAILED] scenegen sparse and dense layouts, every switch shape: bit-identical
[FAILED] #26 collinear/radial walls: bit-identical (the fix is preserved)
[FAILED] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/b/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -499,7 +586,7 @@ Error: execution of an external program failed: '/tmp/fffmut.3hC0a0/b/w/tests/tg
b: exit=1 expected_failed=2 ok
## c: lower segment end exclusive
# diff server/geometry.nim -> mutated copy:
# 78c78
# 93c93
# < if t > Eps and u >= -Eps and u <= 1 + Eps: t else: Inf
# ---
# > if t > Eps and u > Eps and u <= 1 + Eps: t else: Inf
@@ -524,6 +611,10 @@ b: exit=1 expected_failed=2 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -533,13 +624,18 @@ b: exit=1 expected_failed=2 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[FAILED] visibilityPolygon and cellsTouched equal the prototype results
[FAILED] corpus polygons are bit-identical to the all-segments fan
[FAILED] seed scene tokens, doors and every switch shape: bit-identical
[FAILED] scenegen sparse and dense layouts, every switch shape: bit-identical
[FAILED] #26 collinear/radial walls: bit-identical (the fix is preserved)
[FAILED] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/c/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -547,7 +643,7 @@ Error: execution of an external program failed: '/tmp/fffmut.3hC0a0/c/w/tests/tg
c: exit=1 expected_failed=2 ok
## d1: shared-vertex fixture without arm 1
# diff tests/tgeometry.nim -> mutated copy:
# 43c43
# 44c44
# < let w = @[arm1, arm2] # SHARED-VERTEX
# ---
# > let w = @[arm2]
@@ -572,6 +668,10 @@ c: exit=1 expected_failed=2 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -581,20 +681,25 @@ c: exit=1 expected_failed=2 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[OK] visibilityPolygon and cellsTouched equal the prototype results
[OK] corpus polygons are bit-identical to the all-segments fan
[OK] seed scene tokens, doors and every switch shape: bit-identical
[OK] scenegen sparse and dense layouts, every switch shape: bit-identical
[OK] #26 collinear/radial walls: bit-identical (the fix is preserved)
[OK] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/d1/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/d1/w/tests/tgeometry'
# test exit=1; expected tests failed: 1
[FAILED] shared vertex: both arms required (mutation d1/d2)
d1: exit=1 expected_failed=1 ok
## d2: shared-vertex fixture without arm 2
# diff tests/tgeometry.nim -> mutated copy:
# 43c43
# 44c44
# < let w = @[arm1, arm2] # SHARED-VERTEX
# ---
# > let w = @[arm1]
@@ -619,6 +724,10 @@ d1: exit=1 expected_failed=1 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -628,13 +737,18 @@ d1: exit=1 expected_failed=1 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[OK] visibilityPolygon and cellsTouched equal the prototype results
[OK] corpus polygons are bit-identical to the all-segments fan
[OK] seed scene tokens, doors and every switch shape: bit-identical
[OK] scenegen sparse and dense layouts, every switch shape: bit-identical
[OK] #26 collinear/radial walls: bit-identical (the fix is preserved)
[OK] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/d2/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/d2/w/tests/tgeometry'
# test exit=1; expected tests failed: 1
[FAILED] shared vertex: both arms required (mutation d1/d2)
@@ -675,14 +789,14 @@ 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.3hC0a0/d3/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/d3/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] one field is enough; a patch with none is invalid
d3: exit=1 expected_failed=1 ok
## e: cellsTouched without fill spans
# diff server/geometry.nim -> mutated copy:
# 181d180
# 216d215
# < for k in countup(0, xs[row].len - 2, 2): mark(row, xs[row][k], xs[row][k + 1])
[OK] open space is a circle
[OK] wall blocks
@@ -705,6 +819,10 @@ d3: exit=1 expected_failed=1 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -714,13 +832,18 @@ d3: exit=1 expected_failed=1 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[FAILED] visibilityPolygon and cellsTouched equal the prototype results
[OK] corpus polygons are bit-identical to the all-segments fan
[OK] seed scene tokens, doors and every switch shape: bit-identical
[OK] scenegen sparse and dense layouts, every switch shape: bit-identical
[OK] #26 collinear/radial walls: bit-identical (the fix is preserved)
[OK] random walls, grid-snapped radial additions and switches: bit-identical
[FAILED] random visibility polygons: identical cell lists
[FAILED] random simple polygons (star-shaped, concave): identical cell lists
[FAILED] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/e/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -761,7 +884,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.3hC0a0/e1/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -799,7 +922,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.3hC0a0/e2/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -837,7 +960,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.3hC0a0/e3/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e3/w/tests/tcharacters'
# test exit=1; expected tests failed: 1
[FAILED] linking through a patch hands the names over (#29)
@@ -859,11 +982,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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.3hC0a0/e4/w/tests/tdb'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e4/w/tests/tdb'
# test exit=1; expected tests failed: 1
[FAILED] withTransaction rolls back a Defect and leaves the connection usable
@@ -886,10 +1009,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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.3hC0a0/e5/w/tests/tdb'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/e5/w/tests/tdb'
# test exit=1; expected tests failed: 1
[FAILED] authoringTransaction rolls back a Defect and restores NORMAL
@@ -918,7 +1041,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.3hC0a0/f1/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/f1/w/tests/tprops'
# test exit=1; expected tests failed: 1
[FAILED] size: exactly 8 KB is accepted, one byte over is refused
@@ -947,7 +1070,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.3hC0a0/f2/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -980,7 +1103,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.3hC0a0/f3/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/f3/w/tests/tprops'
# test exit=1; expected tests failed: 1
[FAILED] depth: 8 containers is accepted, 9 is refused
@@ -1057,7 +1180,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.3hC0a0/f/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1134,7 +1257,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.3hC0a0/g/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/g/w/tests/tmoverules'
# test exit=1; expected tests failed: 1
[FAILED] GM: ignores walls, step cap and the lock; bounds still apply
@@ -1211,7 +1334,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.3hC0a0/h/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1287,13 +1410,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.3hC0a0/i/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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.3hC0a0/i/w/tests/tprobing'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1371,7 +1494,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.3hC0a0/j/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1449,7 +1572,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.3hC0a0/k/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1525,7 +1648,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.3hC0a0/l/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1604,7 +1727,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.3hC0a0/m/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1683,7 +1806,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.3hC0a0/n/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1765,7 +1888,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.3hC0a0/o/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1799,7 +1922,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.3hC0a0/p/w/tests/tprotocol'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/p/w/tests/tprotocol'
# test exit=1; expected tests failed: 1
[FAILED] refill is continuous at 30/s, capped at the burst
@@ -1835,7 +1958,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.3hC0a0/q/w/tests/tprotocol'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1871,7 +1994,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.3hC0a0/r/w/tests/tprotocol'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/r/w/tests/tprotocol'
# test exit=1; expected tests failed: 1
[FAILED] nine malformed frames are tolerated, the tenth closes
@@ -1897,7 +2020,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.3hC0a0/s/w/tests/tconns'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -1915,7 +2038,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -1924,7 +2047,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -1942,7 +2065,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.3hC0a0/t/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/t/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] a removal never renumbers and the next add never reuses the id
@@ -1961,7 +2084,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -1985,7 +2108,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.3hC0a0/u/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2002,7 +2125,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -2026,7 +2149,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.3hC0a0/v/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2058,10 +2181,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -2071,7 +2194,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.3hC0a0/w/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/w/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] a wall is never open: the stored row normalizes it
@@ -2112,7 +2235,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.3hC0a0/x/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/x/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] a zero-length wall is invalid and writes nothing
@@ -2153,7 +2276,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.3hC0a0/y/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2174,7 +2297,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -2188,7 +2311,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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
@@ -2196,7 +2319,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.3hC0a0/z/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/z/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] unknown ids are not-found, wrong kinds are their own outcome
@@ -2237,7 +2360,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.3hC0a0/z2/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/z2/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] add, update, door set and remove round-trip through a reload
@@ -2278,7 +2401,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.3hC0a0/s1/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s1/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] presets expand to switches only through the one resolve path (#55)
@@ -2317,7 +2440,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.3hC0a0/s2/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2358,14 +2481,14 @@ 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.3hC0a0/s3/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s3/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] presets expand to switches only through the one resolve path (#55)
s3: exit=1 expected_failed=1 ok
## s4: the blind side becomes the seeing side
# diff server/geometry.nim -> mutated copy:
# 67c67
# 72c72
# < of wdLeft: s >= -Eps
# ---
# > of wdLeft: s <= Eps
@@ -2390,6 +2513,10 @@ s3: exit=1 expected_failed=1 ok
[OK] long thin corridor
[OK] wall endpoints behind the viewer: fan stays angularly ordered
[OK] radius clips
[OK] wall lying along a 64-gon ray: no leak past its far end (#26)
[OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
[OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
[OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
[OK] square polygon
[OK] tiny polygon inside one cell
[OK] polygon spanning a cell with no vertex in it
@@ -2399,13 +2526,18 @@ s3: exit=1 expected_failed=1 ok
[OK] concave polygon: a notch cell is not filled
[OK] every token in seed sees itself and is not walled in
[OK] visibilityPolygon and cellsTouched equal the prototype results
[OK] corpus polygons are bit-identical to the all-segments fan
[OK] seed scene tokens, doors and every switch shape: bit-identical
[OK] scenegen sparse and dense layouts, every switch shape: bit-identical
[OK] #26 collinear/radial walls: bit-identical (the fix is preserved)
[OK] random walls, grid-snapped radial additions and switches: bit-identical
[OK] random visibility polygons: identical cell lists
[OK] random simple polygons (star-shaped, concave): identical cell lists
[OK] grid-aligned integer polygons (edges on cell lines): identical cell lists
[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.3hC0a0/s4/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -2426,7 +2558,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/.devbox/nimble/pkgs2/db_connector-0.1.0-4f2e67d0e4b61af9ac5575509305660b473f01a4/db_connector/db_sqlite.nim(211) dbError
/home/davide/Projects/GDR/FFF_vtt-m64/.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 ''
@@ -2448,7 +2580,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.3hC0a0/s5/w/tests/tworld'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -2464,7 +2596,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.3hC0a0/s6/w/tests/tmarkers'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2480,7 +2612,7 @@ 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.3hC0a0/s7/w/tests/tmarkers'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/s7/w/tests/tmarkers'
# test exit=1; expected tests failed: 1
[FAILED] an untouched marker survives a refresh: it is memory, not current sight
@@ -2526,7 +2658,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.3hC0a0/aa/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/aa/w/tests/tviews'
# test exit=1; expected tests failed: 1
[FAILED] the set of tokens follows the visibility rule
@@ -2550,7 +2682,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.3hC0a0/ab/w/tests/tvision'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2574,7 +2706,7 @@ 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.3hC0a0/ac/w/tests/tvision'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ac/w/tests/tvision'
# test exit=1; expected tests failed: 1
[FAILED] a controlled token is always visible, gm_only included
@@ -2620,7 +2752,7 @@ 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.3hC0a0/ad/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2666,7 +2798,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.3hC0a0/ae/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -2692,7 +2824,7 @@ 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.3hC0a0/af/w/tests/tvision'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/af/w/tests/tvision'
# test exit=1; expected tests failed: 1
[FAILED] moving adds cells and never forgets the old ones
@@ -2714,7 +2846,7 @@ 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.3hC0a0/ag/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ag/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] the chunk bitmap layout is pinned
@@ -2738,7 +2870,7 @@ 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.3hC0a0/ah/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ah/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] one chunk covers 64x64 cells
@@ -2768,7 +2900,7 @@ 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.3hC0a0/ai/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ai/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] restore: the stored cells come back exactly
@@ -2798,7 +2930,7 @@ 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.3hC0a0/aj/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/aj/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] restore: two players' explored never mix
@@ -2820,7 +2952,7 @@ 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.3hC0a0/ak/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ak/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] a second write to the same chunk replaces the bitmap
@@ -2842,7 +2974,7 @@ 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.3hC0a0/al/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/al/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] two chunks in one chunk row are both written
@@ -2888,7 +3020,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.3hC0a0/am/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/am/w/tests/tviews'
# test exit=1; expected tests failed: 1
[FAILED] a player who sees the token gets the public bucket only
@@ -2965,7 +3097,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.3hC0a0/an/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3042,7 +3174,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.3hC0a0/ao/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3070,7 +3202,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.3hC0a0/ap/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/ap/w/tests/tprops'
# test exit=1; expected tests failed: 1
[FAILED] 64 keys per bucket, the 65th is refused and nothing changes
@@ -3147,7 +3279,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.3hC0a0/aq/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3222,7 +3354,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.3hC0a0/ar/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3299,7 +3431,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.3hC0a0/as/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3328,7 +3460,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.3hC0a0/at/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/at/w/tests/tprops'
# test exit=1; expected tests failed: 1
[FAILED] 64 keys per bucket, the 65th is refused and nothing changes
@@ -3405,7 +3537,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.3hC0a0/au/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/au/w/tests/tmoverules'
# test exit=1; expected tests failed: 1
[FAILED] a grow that already fits does not move the token
@@ -3443,7 +3575,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.3hC0a0/av/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3482,7 +3614,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.3hC0a0/aw/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3521,7 +3653,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.3hC0a0/ax/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3559,7 +3691,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.3hC0a0/ay/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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)
@@ -3597,7 +3729,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.3hC0a0/az/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/az/w/tests/tcharacters'
# test exit=1; expected tests failed: 1
[FAILED] a character still figured by a token is in use (6.5)
@@ -3635,7 +3767,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.3hC0a0/b1/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3698,7 +3830,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.3hC0a0/b2/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3747,7 +3879,7 @@ 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.3hC0a0/b3/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3793,7 +3925,7 @@ 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.3hC0a0/b4/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3816,7 +3948,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.3hC0a0/c1/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3840,7 +3972,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.3hC0a0/c2/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/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
@@ -3864,7 +3996,7 @@ 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.3hC0a0/c3/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c3/w/tests/ttiles'
# test exit=1; expected tests failed: 1
[FAILED] a tile coordinate outside the grid is out of range
@@ -3887,7 +4019,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.3hC0a0/c4/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.Gg6RRD/c4/w/tests/ttiles'
# test exit=1; expected tests failed: 1
[FAILED] leading zero tile coordinates are malformed
+66 -56
View File
@@ -1,6 +1,6 @@
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt-b36/.devbox/nimble'
Info: Using the environment variable: NIMBLE_DIR='/home/davide/Projects/GDR/FFF_vtt-m64/.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-b36/tests/tauth (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/tcharacters (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/tconfig (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/tconns (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/tcrypto (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/tdb (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/server/db.nim(298, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(403, 3) template/generic instantiation of `test` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(412, 9) template/generic instantiation of `withTransaction` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/server/db.nim(299, 10) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/server/world.nim(440, 14) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(396, 1) template/generic instantiation of `suite` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(425, 3) template/generic instantiation of `test` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tdb.nim(434, 9) template/generic instantiation of `authoringTransaction` from here
... /home/davide/Projects/GDR/FFF_vtt-b36/server/world.nim(441, 12) Warning: unreachable code after 'return' statement or '{.noReturn.}' proc [UnreachableCode]
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]
... [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-b36/tests/tdetach (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/testutil (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/testutil (from package fff_vtt) using c backend
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt-b36/tests/texplored (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt-b36/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
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]
... [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.016 ms, p99 0.098 ms over 200 commits
... chunk write: avg 0.012 ms, p99 0.030 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-b36/tests/tgeometry (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/tests/tgeometry (from package fff_vtt) using c backend
Nim Output [Suite] visibility
... [OK] open space is a circle
... [OK] wall blocks
@@ -203,6 +203,10 @@
... [OK] long thin corridor
... [OK] wall endpoints behind the viewer: fan stays angularly ordered
... [OK] radius clips
... [OK] wall lying along a 64-gon ray: no leak past its far end (#26)
... [OK] radial wall: the same column (k = 16) and a grid-snapped translation (#26)
... [OK] radial wall at an arbitrary angle: the 64-gon alignment is not the condition (#26)
... [OK] negative controls: a non-radial wall with an endpoint on a ray still blocks (#26)
... [Suite] cells
... [OK] square polygon
... [OK] tiny polygon inside one cell
@@ -215,6 +219,12 @@
... [OK] every token in seed sees itself and is not walled in
... [Suite] corpus (prototype leak transcripts)
... [OK] visibilityPolygon and cellsTouched equal the prototype results
... [Suite] sector-limited fan (#64: same polygon, fewer segment tests)
... [OK] corpus polygons are bit-identical to the all-segments fan
... [OK] seed scene tokens, doors and every switch shape: bit-identical
... [OK] scenegen sparse and dense layouts, every switch shape: bit-identical
... [OK] #26 collinear/radial walls: bit-identical (the fix is preserved)
... [OK] random walls, grid-snapped radial additions and switches: bit-identical
... [Suite] cellsTouched differential vs prototype
... [OK] random visibility polygons: identical cell lists
... [OK] random simple polygons (star-shaped, concave): identical cell lists
@@ -224,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-b36/tests/tinstancelock (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/tlogging (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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
@@ -246,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-b36/tests/tmarkers (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt-b36/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/server/markers.nim(29, 8) Warning: imported and not used: 'faults' [UnusedImport]
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]
... [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
@@ -257,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-b36/tests/tmoverules (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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
@@ -334,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-b36/tests/tprobing (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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
@@ -342,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-b36/tests/tprops (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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
@@ -367,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-b36/tests/tprotocol (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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
@@ -399,15 +409,15 @@
... [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-b36/tests/tscenegen (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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-b36/tests/ttiles (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt-b36/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
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]
... [Suite] tile URL grammar
... [OK] canonical numbers: digits only, bounded, no leading zero
... [OK] a canonical URL parses to its three integers
@@ -424,7 +434,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-b36/tests/ttokens (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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
@@ -457,9 +467,9 @@
... [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-b36/tests/tviews (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt-b36/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
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]
... [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
@@ -502,15 +512,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.008 us
... #28 egress, 262144 cells x 6 players x 40 entries: GM 0.794 ms, player 0.324 ms
... #28 egress, 16384 cells x 6 players x 40 entries: GM 0.793 ms
... #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)
... [OK] building a Context and egressing does not scale with the explored sets
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt-b36/tests/tvision (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt-b36/server/worldmap.nim(18, 44) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/server/vision.nim(31, 43) Warning: imported and not used: 'faults' [UnusedImport]
... /home/davide/Projects/GDR/FFF_vtt-b36/tests/tvision.nim(4, 13) Warning: imported and not used: 'algorithm' [UnusedImport]
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]
... [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
@@ -531,7 +541,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-b36/tests/tworld (from package fff_vtt) using c backend
Compiling /home/davide/Projects/GDR/FFF_vtt-m64/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)