results: rerun the gates on the fixed tree (#27-#31)

devbox run test: nimble suites and 107 node tests pass (was 103: +1 characters,
+2 tiles, +1 restart). devbox run mutation: control and every mutation pass,
including the new e1-e3 and the repointed b2.
This commit is contained in:
2026-11-15 14:26:23 +01:00
parent b4bddf1d52
commit e13fa905a4
8 changed files with 1552 additions and 621 deletions
+14 -3
View File
@@ -32,6 +32,7 @@
... [Suite] names and validation (6.5: 1..64 code points, trimmed, no control characters)
... [OK] a character needs two valid names and an owner
... [OK] a linked token carries no names of its own (they belong to the character)
... [OK] linking through a patch hands the names over (#29)
... [OK] parseSubject accepts exactly the two wire words
... [Suite] persistence (write-through, restart-identical)
... [OK] create assigns an id from the shared namespace, stores every column, reloads identically
@@ -40,6 +41,9 @@
... [OK] remove deletes the row; a second remove reports nothing
... [OK] a reveal row survives a reload and a repeated reveal
... [OK] encountered rows survive a reload, keep their NULL actual name, and replace per entry
... [OK] a character rename rewrites the live snapshots and the rows alike (#30, #27)
... [OK] a reveal to one player rewrites exactly that player's row (#27)
... [OK] a link change moves the snapshot to the character's names, link and knowledge (#29)
... [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)
@@ -135,7 +139,7 @@
... [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.015 ms, p99 0.028 ms over 200 commits
... chunk write: avg 0.021 ms, p99 0.054 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/tests/tgeometry (from package fff_vtt) using c backend
@@ -359,6 +363,8 @@
... [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
... [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/tests/ttokens (from package fff_vtt) using c backend
Nim Output [Suite] ids (DESIGN 8, FIXED #3: random, opaque, 12 chars)
@@ -434,10 +440,15 @@
... [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
... [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.788 ms, player 0.322 ms
... #28 egress, 16384 cells x 6 players x 40 entries: GM 0.806 ms
... [OK] building a Context and egressing does not scale with the explored sets
Success: Execution finished
Compiling /home/davide/Projects/GDR/FFF_vtt/tests/tvision (from package fff_vtt) using c backend
Nim Output /home/davide/Projects/GDR/FFF_vtt/tests/tvision.nim(4, 13) Warning: imported and not used: 'algorithm' [UnusedImport]
... [Suite] polygons (5.1: one per controlled token with the `vision` flag)
Nim Output [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
... [OK] the polygon is bounded by the token's range, and a closer wall cuts it