results: rerun the M3 gates on the final tree (#25)

This commit is contained in:
2026-11-15 13:03:54 +01:00
parent 2c0ce47134
commit 76ec6f4b3d
6 changed files with 950 additions and 533 deletions
+141 -71
View File
@@ -359,6 +359,10 @@
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
[OK] a patch changes only the fields it names and the row round-trips
[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
# test exit=0; expected tests failed: 0
control: exit=0 expected_failed=0 ok
@@ -400,7 +404,7 @@ control: exit=0 expected_failed=0 ok
[FAILED] prototype scene, all tokens, doors closed and opened
[FAILED] random wall fields, cell 32 and 25
[OK] negative control: the oracle notices a missing and an invented cell
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/a/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -444,7 +448,7 @@ a: exit=1 expected_failed=1 ok
[OK] prototype scene, all tokens, doors closed and opened
[OK] random wall fields, cell 32 and 25
[OK] negative control: the oracle notices a missing and an invented cell
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/b/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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)
@@ -489,7 +493,7 @@ b: exit=1 expected_failed=2 ok
[FAILED] prototype scene, all tokens, doors closed and opened
[OK] random wall fields, cell 32 and 25
[OK] negative control: the oracle notices a missing and an invented cell
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/c/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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)
@@ -534,7 +538,7 @@ c: exit=1 expected_failed=2 ok
[OK] prototype scene, all tokens, doors closed and opened
[OK] random wall fields, cell 32 and 25
[OK] negative control: the oracle notices a missing and an invented cell
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/d1/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/d1/w/tests/tgeometry'
# test exit=1; expected tests failed: 1
[FAILED] shared vertex: both arms required (mutation d1/d2)
@@ -578,11 +582,45 @@ d1: exit=1 expected_failed=1 ok
[OK] prototype scene, all tokens, doors closed and opened
[OK] random wall fields, cell 32 and 25
[OK] negative control: the oracle notices a missing and an invented cell
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/d2/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/d2/w/tests/tgeometry'
# test exit=1; expected tests failed: 1
[FAILED] shared vertex: both arms required (mutation d1/d2)
d2: exit=1 expected_failed=1 ok
## d3: scene.set accepts a patch with no field
# diff server/world.nim -> mutated copy:
# 179c179
# < if not any: return none(ScenePatch)
# ---
# > discard
[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)
[OK] a point is exactly two finite numbers, ints included
[OK] kind, open and flags accept only their own shape
[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
[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
[OK] authoring runs with synchronous=FULL and leaves NORMAL behind (Q12)
[OK] a failing write leaves memory and the pragma alone
[OK] walls load in id order whatever the insertion order was
[OK] a zero-length wall is invalid and writes nothing
[OK] both endpoints must be inside [0,w] x [0,h]; the border itself is allowed
[OK] a wall is never open: the stored row normalizes it
[OK] update keeps the row's id and open flag unless the kind changes
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/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:
# 138d137
@@ -620,7 +658,7 @@ d2: exit=1 expected_failed=1 ok
[FAILED] prototype scene, all tokens, doors closed and opened
[FAILED] random wall fields, cell 32 and 25
[FAILED] negative control: the oracle notices a missing and an invented cell
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/e/w/tests/tgeometry'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -700,7 +738,7 @@ e: exit=1 expected_failed=4 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.IdSfNU/f/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -777,7 +815,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.IdSfNU/g/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/g/w/tests/tmoverules'
# test exit=1; expected tests failed: 1
[FAILED] GM: ignores walls, step cap and the lock; bounds still apply
@@ -854,7 +892,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.IdSfNU/h/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -930,13 +968,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.IdSfNU/i/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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.IdSfNU/i/w/tests/tprobing'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1014,7 +1052,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.IdSfNU/j/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1092,7 +1130,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.IdSfNU/k/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1168,7 +1206,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.IdSfNU/l/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1247,7 +1285,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.IdSfNU/m/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1326,7 +1364,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.IdSfNU/n/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1408,7 +1446,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.IdSfNU/o/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1442,7 +1480,7 @@ o: exit=1 expected_failed=1 ok
[OK] one wall carries id, a, b, kind, open and flags in the 6.1 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.IdSfNU/p/w/tests/tprotocol'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/p/w/tests/tprotocol'
# test exit=1; expected tests failed: 1
[FAILED] refill is continuous at 30/s, capped at the burst
@@ -1478,7 +1516,7 @@ p: exit=1 expected_failed=1 ok
[OK] one wall carries id, a, b, kind, open and flags in the 6.1 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.IdSfNU/q/w/tests/tprotocol'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1514,7 +1552,7 @@ q: exit=1 expected_failed=1 ok
[OK] one wall carries id, a, b, kind, open and flags in the 6.1 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.IdSfNU/r/w/tests/tprotocol'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/r/w/tests/tprotocol'
# test exit=1; expected tests failed: 1
[FAILED] nine malformed frames are tolerated, the tenth closes
@@ -1540,14 +1578,14 @@ 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.IdSfNU/s/w/tests/tconns'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
s: exit=1 expected_failed=1 ok
## t: wall removal renumbers next_wall_id
# diff server/world.nim -> mutated copy:
# 217c217
# 306c306
# < sc.walls.delete idx.get
# ---
# > sc.walls.delete idx.get; sc.nextWallId = sc.walls.len + 1
@@ -1574,14 +1612,18 @@ s: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/t/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/t/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] a removal never renumbers and the next add never reuses the id
t: exit=1 expected_failed=1 ok
## u: the id counter is not loaded from the DB
# diff server/world.nim -> mutated copy:
# 270c270
# 359c359
# < nextWallId: parseInt(row[10]),
# ---
# > nextWallId: 1,
@@ -1606,14 +1648,18 @@ t: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/u/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/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
u: exit=1 expected_failed=1 ok
## v: the id counter is never written to the DB
# diff server/world.nim -> mutated copy:
# 194d193
# 283d282
# < db.exec(sql"UPDATE scene SET next_wall_id = ? WHERE id = ?", stored.id + 1, sc.id)
[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)
@@ -1636,14 +1682,18 @@ u: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/v/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/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
v: exit=1 expected_failed=1 ok
## w: a wall may stay open
# diff server/world.nim -> mutated copy:
# 130c130
# 206c206
# < if result.kind == wkWall: result.open = false
# ---
# > discard
@@ -1666,14 +1716,18 @@ v: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/w/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/w/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] a wall is never open: the stored row normalizes it
w: exit=1 expected_failed=1 ok
## x: zero-length walls accepted
# diff server/world.nim -> mutated copy:
# 125c125
# 201c201
# < (rec.a.x != rec.b.x or rec.a.y != rec.b.y) and inBounds(sc, rec.a) and inBounds(sc, rec.b)
# ---
# > inBounds(sc, rec.a) and inBounds(sc, rec.b)
@@ -1696,14 +1750,18 @@ w: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/x/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/x/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] a zero-length wall is invalid and writes nothing
x: exit=1 expected_failed=1 ok
## y: wall endpoints unchecked against the world bounds
# diff server/world.nim -> mutated copy:
# 120c120
# 196c196
# < p.x >= 0 and p.y >= 0 and p.x <= sc.w and p.y <= sc.h # written so NaN fails
# ---
# > p.x >= 0 and p.y >= 0 # written so NaN fails
@@ -1726,14 +1784,18 @@ x: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/y/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/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
y: exit=1 expected_failed=1 ok
## z: door.set accepted on a plain wall
# diff server/world.nim -> mutated copy:
# 224d223
# 313d312
# < if sc.walls[idx.get].kind != wkDoor: return waNotDoor
[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)
@@ -1754,14 +1816,18 @@ y: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[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
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/z/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/z/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] unknown ids are not-found, wrong kinds are their own outcome
z: exit=1 expected_failed=1 ok
## z2: persisted open state loaded inverted
# diff server/world.nim -> mutated copy:
# 247c247
# 336c336
# < open: row[6] == "1",
# ---
# > open: row[6] == "0",
@@ -1784,7 +1850,11 @@ z: exit=1 expected_failed=1 ok
[OK] dot patching: only the given fields change
[OK] unknown ids are not-found, wrong kinds are their own outcome
[OK] the first wall of a fresh scene is id 1, not 0
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/z2/w/tests/tworld'
[OK] a patch changes only the fields it names and the row round-trips
[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.YZ1tHm/z2/w/tests/tworld'
# test exit=1; expected tests failed: 1
[FAILED] add, update, door set and remove round-trip through a reload
@@ -1828,7 +1898,7 @@ z2: exit=1 expected_failed=1 ok
[OK] an entry for a token that is gone (or out of view) is grey
[OK] the GM gets one list per player, tagged with the player id
[OK] a player never receives another player's list
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/aa/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/aa/w/tests/tviews'
# test exit=1; expected tests failed: 1
[FAILED] the set of tokens follows the visibility rule
@@ -1852,7 +1922,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.IdSfNU/ab/w/tests/tvision'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1876,7 +1946,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.IdSfNU/ac/w/tests/tvision'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/ac/w/tests/tvision'
# test exit=1; expected tests failed: 1
[FAILED] a controlled token is always visible, gm_only included
@@ -1920,7 +1990,7 @@ ac: exit=1 expected_failed=1 ok
[OK] an entry for a token that is gone (or out of view) is grey
[OK] the GM gets one list per player, tagged with the player id
[OK] a player never receives another player's list
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/ad/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1964,7 +2034,7 @@ ad: exit=1 expected_failed=1 ok
[OK] an entry for a token that is gone (or out of view) is grey
[OK] the GM gets one list per player, tagged with the player id
[OK] a player never receives another player's list
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/ae/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -1990,7 +2060,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.IdSfNU/af/w/tests/tvision'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/af/w/tests/tvision'
# test exit=1; expected tests failed: 1
[FAILED] moving adds cells and never forgets the old ones
@@ -2012,7 +2082,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.IdSfNU/ag/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/ag/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] the chunk bitmap layout is pinned
@@ -2036,7 +2106,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.IdSfNU/ah/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/ah/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] one chunk covers 64x64 cells
@@ -2066,7 +2136,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.IdSfNU/ai/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/ai/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] restore: the stored cells come back exactly
@@ -2096,7 +2166,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.IdSfNU/aj/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/aj/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] restore: two players' explored never mix
@@ -2118,7 +2188,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.IdSfNU/ak/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/ak/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] a second write to the same chunk replaces the bitmap
@@ -2140,7 +2210,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.IdSfNU/al/w/tests/texplored'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/al/w/tests/texplored'
# test exit=1; expected tests failed: 1
[FAILED] two chunks in one chunk row are both written
@@ -2184,7 +2254,7 @@ al: exit=1 expected_failed=1 ok
[OK] an entry for a token that is gone (or out of view) is grey
[OK] the GM gets one list per player, tagged with the player id
[OK] a player never receives another player's list
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/am/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/am/w/tests/tviews'
# test exit=1; expected tests failed: 1
[FAILED] a player who sees the token gets the public bucket only
@@ -2261,7 +2331,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.IdSfNU/an/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2338,7 +2408,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.IdSfNU/ao/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2363,7 +2433,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.IdSfNU/ap/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/ap/w/tests/tprops'
# test exit=1; expected tests failed: 1
[FAILED] 64 keys per bucket, the 65th is refused and nothing changes
@@ -2440,7 +2510,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.IdSfNU/aq/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2515,7 +2585,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.IdSfNU/ar/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2592,7 +2662,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.IdSfNU/as/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2618,7 +2688,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.IdSfNU/at/w/tests/tprops'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/at/w/tests/tprops'
# test exit=1; expected tests failed: 1
[FAILED] 64 keys per bucket, the 65th is refused and nothing changes
@@ -2695,7 +2765,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.IdSfNU/au/w/tests/tmoverules'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/au/w/tests/tmoverules'
# test exit=1; expected tests failed: 1
[FAILED] a grow that already fits does not move the token
@@ -2729,7 +2799,7 @@ au: 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.IdSfNU/av/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2764,7 +2834,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.IdSfNU/aw/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2799,7 +2869,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.IdSfNU/ax/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2833,7 +2903,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.IdSfNU/ay/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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)
@@ -2867,7 +2937,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.IdSfNU/az/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/az/w/tests/tcharacters'
# test exit=1; expected tests failed: 1
[FAILED] a character still figured by a token is in use (6.5)
@@ -2901,7 +2971,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.IdSfNU/b1/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -2964,7 +3034,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.IdSfNU/b2/w/tests/tcharacters'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/b2/w/tests/tcharacters'
# test exit=1; expected tests failed: 1
[FAILED] a character rename follows the snapshots of everyone who met it
@@ -3010,7 +3080,7 @@ b2: exit=1 expected_failed=1 ok
[OK] an entry for a token that is gone (or out of view) is grey
[OK] the GM gets one list per player, tagged with the player id
[OK] a player never receives another player's list
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/b3/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -3054,7 +3124,7 @@ b3: exit=1 expected_failed=1 ok
[OK] an entry for a token that is gone (or out of view) is grey
[OK] the GM gets one list per player, tagged with the player id
[OK] a player never receives another player's list
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/b4/w/tests/tviews'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -3076,7 +3146,7 @@ b4: exit=1 expected_failed=1 ok
[OK] the GM is always allowed
[FAILED] a tile is allowed when any overlapping cell is explored
[FAILED] the explored overlap respects the scene border
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/c1/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -3099,7 +3169,7 @@ c1: exit=1 expected_failed=2 ok
[OK] the GM is always allowed
[FAILED] a tile is allowed when any overlapping cell is explored
[FAILED] the explored overlap respects the scene border
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/c2/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/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
@@ -3122,7 +3192,7 @@ c2: exit=1 expected_failed=2 ok
[OK] the GM is always allowed
[OK] a tile is allowed when any overlapping cell is explored
[OK] the explored overlap respects the scene border
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/c3/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/c3/w/tests/ttiles'
# test exit=1; expected tests failed: 1
[FAILED] a tile coordinate outside the grid is out of range
@@ -3144,7 +3214,7 @@ c3: exit=1 expected_failed=1 ok
[OK] the GM is always allowed
[OK] a tile is allowed when any overlapping cell is explored
[OK] the explored overlap respects the scene border
Error: execution of an external program failed: '/tmp/fffmut.IdSfNU/c4/w/tests/ttiles'
Error: execution of an external program failed: '/tmp/fffmut.YZ1tHm/c4/w/tests/ttiles'
# test exit=1; expected tests failed: 1
[FAILED] leading zero tile coordinates are malformed