From 809f219f42be6819e6f043ef0f1143683c45b83a Mon Sep 17 00:00:00 2001 From: Davide Cappellini Date: Sun, 8 Nov 2026 19:19:58 +0100 Subject: [PATCH] results: regenerate mutation log (parallel run) Co-Authored-By: Claude Sonnet 5.5 --- results/mutation.log | 799 ++----------------------------------------- 1 file changed, 20 insertions(+), 779 deletions(-) diff --git a/results/mutation.log b/results/mutation.log index 64070f1..e80e8d8 100644 --- a/results/mutation.log +++ b/results/mutation.log @@ -132,66 +132,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/tmp.V0I5xpbA3Y/w/tests/tgeometry' - [OK] crossing blocked, parallel ok - [OK] grazing an endpoint is blocked - [OK] no leak through shared vertex - [OK] diagonal squeeze through corner vertex of L - [OK] moving along a collinear wall is blocked - [OK] doors - [OK] zero-length move - [OK] near pillar: circle overlapping blocked, clear ok (ported) - [OK] closed door blocks near, open door passes (ported) - [OK] 64px corridor and doorway passable on the centreline (ported) - [OK] corner clipping: path passes the wall end closer than r though both ends are clear - [OK] parallel pass: r clear, just under r blocked (touching at exactly r is clear) - [OK] diagonal squeeze past an L corner with a gap narrower than 2r is blocked - [OK] leg of the path inside r of a non-start wall blocks even if start and end are clear - [OK] exactly on a wall: can step off perpendicular, either side, to a clear spot - [OK] exactly on a wall: still refused when it would stay overlapped or run along/through - [OK] r = 0: standing on a wall is not an escape case (touch blocks), as the prototype - [OK] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped - [OK] escaping one wall does not excuse another - [OK] escape from a closed door; an open door never needed an escape - [OK] overlapping at a wall end: leave past the end without crossing - [OK] owner check: not yours is mkError, no position - [OK] GM-controlled token (no owner): players get mkError - [OK] step cap = scene default without vision, token vision radius with it - [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical - [OK] an accepted move applies and echoes the destination - [OK] player move honours walls (capsule) via moveToken - [OK] GM: ignores walls, step cap and blocked; bounds still apply - [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not - [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does - [OK] open door added or opened never sets; closing a door on a token pushes it, never sets - [OK] blocked token: player moves refused, GM move allowed - [OK] cleared by removing the wall; unrelated removals keep it - [OK] cleared by opening the door; a second open is a no-op - [OK] cleared by the GM; not re-set by itself - [OK] wall update = remove then add - [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear - [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too - [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b - [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door - [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side - [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it - [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody - [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged - [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees - [OK] KEEP: wall update away from one of two overlapping walls keeps blocked - [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked - [OK] GM drops a token inside a wall -> blocked; a door counts only while closed - [OK] GM manual clear inside a wall: player escapes sideways, cannot cross - [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token - [OK] no escape hatch: a player cannot walk through any wall of a boxed room - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -232,69 +173,10 @@ a: exit=1 expected_failed=1 ok [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] 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/tmp.V0I5xpbA3Y/w/tests/tgeometry' - [OK] crossing blocked, parallel ok - [OK] grazing an endpoint is blocked - [OK] no leak through shared vertex - [OK] diagonal squeeze through corner vertex of L - [OK] moving along a collinear wall is blocked - [OK] doors - [OK] zero-length move - [OK] near pillar: circle overlapping blocked, clear ok (ported) - [OK] closed door blocks near, open door passes (ported) - [OK] 64px corridor and doorway passable on the centreline (ported) - [OK] corner clipping: path passes the wall end closer than r though both ends are clear - [OK] parallel pass: r clear, just under r blocked (touching at exactly r is clear) - [OK] diagonal squeeze past an L corner with a gap narrower than 2r is blocked - [OK] leg of the path inside r of a non-start wall blocks even if start and end are clear - [OK] exactly on a wall: can step off perpendicular, either side, to a clear spot - [OK] exactly on a wall: still refused when it would stay overlapped or run along/through - [OK] r = 0: standing on a wall is not an escape case (touch blocks), as the prototype - [OK] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped - [OK] escaping one wall does not excuse another - [OK] escape from a closed door; an open door never needed an escape - [OK] overlapping at a wall end: leave past the end without crossing - [OK] owner check: not yours is mkError, no position - [OK] GM-controlled token (no owner): players get mkError - [OK] step cap = scene default without vision, token vision radius with it - [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical - [OK] an accepted move applies and echoes the destination - [OK] player move honours walls (capsule) via moveToken - [OK] GM: ignores walls, step cap and blocked; bounds still apply - [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not - [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does - [OK] open door added or opened never sets; closing a door on a token pushes it, never sets - [OK] blocked token: player moves refused, GM move allowed - [OK] cleared by removing the wall; unrelated removals keep it - [OK] cleared by opening the door; a second open is a no-op - [OK] cleared by the GM; not re-set by itself - [OK] wall update = remove then add - [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear - [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too - [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b - [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door - [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side - [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it - [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody - [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged - [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees - [OK] KEEP: wall update away from one of two overlapping walls keeps blocked - [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked - [OK] GM drops a token inside a wall -> blocked; a door counts only while closed - [OK] GM manual clear inside a wall: player escapes sideways, cannot cross - [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token - [OK] no escape hatch: a player cannot walk through any wall of a boxed room - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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) @@ -339,66 +221,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/tmp.V0I5xpbA3Y/w/tests/tgeometry' - [OK] crossing blocked, parallel ok - [OK] grazing an endpoint is blocked - [OK] no leak through shared vertex - [OK] diagonal squeeze through corner vertex of L - [OK] moving along a collinear wall is blocked - [OK] doors - [OK] zero-length move - [OK] near pillar: circle overlapping blocked, clear ok (ported) - [OK] closed door blocks near, open door passes (ported) - [OK] 64px corridor and doorway passable on the centreline (ported) - [OK] corner clipping: path passes the wall end closer than r though both ends are clear - [OK] parallel pass: r clear, just under r blocked (touching at exactly r is clear) - [OK] diagonal squeeze past an L corner with a gap narrower than 2r is blocked - [OK] leg of the path inside r of a non-start wall blocks even if start and end are clear - [OK] exactly on a wall: can step off perpendicular, either side, to a clear spot - [OK] exactly on a wall: still refused when it would stay overlapped or run along/through - [OK] r = 0: standing on a wall is not an escape case (touch blocks), as the prototype - [OK] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped - [OK] escaping one wall does not excuse another - [OK] escape from a closed door; an open door never needed an escape - [OK] overlapping at a wall end: leave past the end without crossing - [OK] owner check: not yours is mkError, no position - [OK] GM-controlled token (no owner): players get mkError - [OK] step cap = scene default without vision, token vision radius with it - [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical - [OK] an accepted move applies and echoes the destination - [OK] player move honours walls (capsule) via moveToken - [OK] GM: ignores walls, step cap and blocked; bounds still apply - [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not - [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does - [OK] open door added or opened never sets; closing a door on a token pushes it, never sets - [OK] blocked token: player moves refused, GM move allowed - [OK] cleared by removing the wall; unrelated removals keep it - [OK] cleared by opening the door; a second open is a no-op - [OK] cleared by the GM; not re-set by itself - [OK] wall update = remove then add - [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear - [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too - [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b - [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door - [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side - [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it - [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody - [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged - [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees - [OK] KEEP: wall update away from one of two overlapping walls keeps blocked - [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked - [OK] GM drops a token inside a wall -> blocked; a door counts only while closed - [OK] GM manual clear inside a wall: player escapes sideways, cannot cross - [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token - [OK] no escape hatch: a player cannot walk through any wall of a boxed room - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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) @@ -406,7 +229,7 @@ Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tge c: exit=1 expected_failed=2 ok ## d1: shared-vertex fixture without arm 1 # diff tests/tgeometry.nim -> mutated copy: -# 42c42 +# 43c43 # < let w = @[arm1, arm2] # SHARED-VERTEX # --- # > let w = @[arm2] @@ -443,73 +266,14 @@ 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/tmp.V0I5xpbA3Y/w/tests/tgeometry' - [OK] crossing blocked, parallel ok - [OK] grazing an endpoint is blocked - [OK] no leak through shared vertex - [OK] diagonal squeeze through corner vertex of L - [OK] moving along a collinear wall is blocked - [OK] doors - [OK] zero-length move - [OK] near pillar: circle overlapping blocked, clear ok (ported) - [OK] closed door blocks near, open door passes (ported) - [OK] 64px corridor and doorway passable on the centreline (ported) - [OK] corner clipping: path passes the wall end closer than r though both ends are clear - [OK] parallel pass: r clear, just under r blocked (touching at exactly r is clear) - [OK] diagonal squeeze past an L corner with a gap narrower than 2r is blocked - [OK] leg of the path inside r of a non-start wall blocks even if start and end are clear - [OK] exactly on a wall: can step off perpendicular, either side, to a clear spot - [OK] exactly on a wall: still refused when it would stay overlapped or run along/through - [OK] r = 0: standing on a wall is not an escape case (touch blocks), as the prototype - [OK] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped - [OK] escaping one wall does not excuse another - [OK] escape from a closed door; an open door never needed an escape - [OK] overlapping at a wall end: leave past the end without crossing - [OK] owner check: not yours is mkError, no position - [OK] GM-controlled token (no owner): players get mkError - [OK] step cap = scene default without vision, token vision radius with it - [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical - [OK] an accepted move applies and echoes the destination - [OK] player move honours walls (capsule) via moveToken - [OK] GM: ignores walls, step cap and blocked; bounds still apply - [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not - [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does - [OK] open door added or opened never sets; closing a door on a token pushes it, never sets - [OK] blocked token: player moves refused, GM move allowed - [OK] cleared by removing the wall; unrelated removals keep it - [OK] cleared by opening the door; a second open is a no-op - [OK] cleared by the GM; not re-set by itself - [OK] wall update = remove then add - [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear - [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too - [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b - [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door - [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side - [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it - [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody - [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged - [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees - [OK] KEEP: wall update away from one of two overlapping walls keeps blocked - [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked - [OK] GM drops a token inside a wall -> blocked; a door counts only while closed - [OK] GM manual clear inside a wall: player escapes sideways, cannot cross - [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token - [OK] no escape hatch: a player cannot walk through any wall of a boxed room - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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: -# 42c42 +# 43c43 # < let w = @[arm1, arm2] # SHARED-VERTEX # --- # > let w = @[arm1] @@ -546,66 +310,7 @@ d1: exit=1 expected_failed=1 ok [OK] prototype scene, all tokens, doors closed and opened [OK] random wall fields, cell 32 and 25 [OK] negative control: the oracle notices a missing and an invented cell -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tgeometry' - [OK] crossing blocked, parallel ok - [OK] grazing an endpoint is blocked - [OK] no leak through shared vertex - [OK] diagonal squeeze through corner vertex of L - [OK] moving along a collinear wall is blocked - [OK] doors - [OK] zero-length move - [OK] near pillar: circle overlapping blocked, clear ok (ported) - [OK] closed door blocks near, open door passes (ported) - [OK] 64px corridor and doorway passable on the centreline (ported) - [OK] corner clipping: path passes the wall end closer than r though both ends are clear - [OK] parallel pass: r clear, just under r blocked (touching at exactly r is clear) - [OK] diagonal squeeze past an L corner with a gap narrower than 2r is blocked - [OK] leg of the path inside r of a non-start wall blocks even if start and end are clear - [OK] exactly on a wall: can step off perpendicular, either side, to a clear spot - [OK] exactly on a wall: still refused when it would stay overlapped or run along/through - [OK] r = 0: standing on a wall is not an escape case (touch blocks), as the prototype - [OK] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped - [OK] escaping one wall does not excuse another - [OK] escape from a closed door; an open door never needed an escape - [OK] overlapping at a wall end: leave past the end without crossing - [OK] owner check: not yours is mkError, no position - [OK] GM-controlled token (no owner): players get mkError - [OK] step cap = scene default without vision, token vision radius with it - [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical - [OK] an accepted move applies and echoes the destination - [OK] player move honours walls (capsule) via moveToken - [OK] GM: ignores walls, step cap and blocked; bounds still apply - [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not - [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does - [OK] open door added or opened never sets; closing a door on a token pushes it, never sets - [OK] blocked token: player moves refused, GM move allowed - [OK] cleared by removing the wall; unrelated removals keep it - [OK] cleared by opening the door; a second open is a no-op - [OK] cleared by the GM; not re-set by itself - [OK] wall update = remove then add - [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear - [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too - [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b - [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door - [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side - [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it - [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody - [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged - [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees - [OK] KEEP: wall update away from one of two overlapping walls keeps blocked - [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked - [OK] GM drops a token inside a wall -> blocked; a door counts only while closed - [OK] GM manual clear inside a wall: player escapes sideways, cannot cross - [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token - [OK] no escape hatch: a player cannot walk through any wall of a boxed room - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/d2/w/tests/tgeometry' # test exit=1; expected tests failed: 1 [FAILED] shared vertex: both arms required (mutation d1/d2) @@ -647,66 +352,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/tmp.V0I5xpbA3Y/w/tests/tgeometry' - [OK] crossing blocked, parallel ok - [OK] grazing an endpoint is blocked - [OK] no leak through shared vertex - [OK] diagonal squeeze through corner vertex of L - [OK] moving along a collinear wall is blocked - [OK] doors - [OK] zero-length move - [OK] near pillar: circle overlapping blocked, clear ok (ported) - [OK] closed door blocks near, open door passes (ported) - [OK] 64px corridor and doorway passable on the centreline (ported) - [OK] corner clipping: path passes the wall end closer than r though both ends are clear - [OK] parallel pass: r clear, just under r blocked (touching at exactly r is clear) - [OK] diagonal squeeze past an L corner with a gap narrower than 2r is blocked - [OK] leg of the path inside r of a non-start wall blocks even if start and end are clear - [OK] exactly on a wall: can step off perpendicular, either side, to a clear spot - [OK] exactly on a wall: still refused when it would stay overlapped or run along/through - [OK] r = 0: standing on a wall is not an escape case (touch blocks), as the prototype - [OK] overlapping 10 px off: may leave away from the wall, not cross it, not stay overlapped - [OK] escaping one wall does not excuse another - [OK] escape from a closed door; an open door never needed an escape - [OK] overlapping at a wall end: leave past the end without crossing - [OK] owner check: not yours is mkError, no position - [OK] GM-controlled token (no owner): players get mkError - [OK] step cap = scene default without vision, token vision radius with it - [OK] over-cap, blocked-by-wall, blocked-flag and out-of-bounds nacks are identical - [OK] an accepted move applies and echoes the destination - [OK] player move honours walls (capsule) via moveToken - [OK] GM: ignores walls, step cap and blocked; bounds still apply - [OK] wall added within r of the circle (centre not on it) sets blocked; exactly r does not - [OK] GM-controlled tokens get the flag too; wall bbox does not matter, distance does - [OK] open door added or opened never sets; closing a door on a token pushes it, never sets - [OK] blocked token: player moves refused, GM move allowed - [OK] cleared by removing the wall; unrelated removals keep it - [OK] cleared by opening the door; a second open is a no-op - [OK] cleared by the GM; not re-set by itself - [OK] wall update = remove then add - [OK] GM placement and GM move onto a wall: blocked; player escape works only after a GM clear - [OK] Q14: a door closed 10 px from a token: pushed to its side, clear by r, not blocked; GM-owned too - [OK] push: centre on the door line -> side of the previous position; no history -> left of a->b - [OK] push: past the end of the door the offset shrinks (minimal), still >= r from the door - [OK] push: one side blocked by another wall -> the other side; out of bounds -> the other side - [OK] push: both sides invalid -> blocked in place; door open -> free; GM can still move it - [OK] push: wall added on a token still sticks it (regression); closing on nobody pushes nobody - [OK] doorway: token in an open doorway, door closes -> pushed clear, free; door reopens/closes again -> unchanged - [OK] KEEP: opening one door / removing one wall while another overlaps -> still blocked; last one frees - [OK] KEEP: wall update away from one of two overlapping walls keeps blocked - [OK] GM moves a stuck token clear -> free; to another wall-overlapping spot -> still blocked - [OK] GM drops a token inside a wall -> blocked; a door counts only while closed - [OK] GM manual clear inside a wall: player escapes sideways, cannot cross - [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token - [OK] no escape hatch: a player cannot walk through any wall of a boxed room - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -720,39 +366,6 @@ e: exit=1 expected_failed=4 ok # < if pathCrosses(s, d, w.a, w.b) or segDist(d, w.a, w.b) < r: return false # --- # > if segDist(d, w.a, w.b) < r: return false - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -804,15 +417,7 @@ e: exit=1 expected_failed=4 ok [FAILED] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -823,39 +428,6 @@ f: exit=1 expected_failed=1 ok # < if not inBounds(sc, d): return nack(s) # --- # > if not inBounds(sc, d) or not pathClear(sc.walls, s, d, sc.tokenRadius): return nack(s) - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -907,15 +479,7 @@ f: exit=1 expected_failed=1 ok [FAILED] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/g/w/tests/tmoverules' # test exit=1; expected tests failed: 1 [FAILED] GM: ignores walls, step cap and blocked; bounds still apply @@ -926,39 +490,6 @@ g: exit=1 expected_failed=1 ok # < elif segsCross(s, d, w.a, w.b) or segSegDist(s, d, w.a, w.b) < r: return false # --- # > elif segsCross(s, d, w.a, w.b) or segDist(d, w.a, w.b) < r: return false - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1010,15 +541,7 @@ g: exit=1 expected_failed=1 ok [OK] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -1028,39 +551,6 @@ h: exit=1 expected_failed=2 ok # diff server/moverules.nim -> mutated copy: # 135d134 # < if hypot(dd.x, dd.y) > stepCap(sc, sc.tokens[ti]): return nack(s) - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1112,16 +602,13 @@ h: exit=1 expected_failed=2 ok [OK] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 unflag or move a blocked token [OK] doors beyond the bound: opening or closing them changes no reply -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tprobing' - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -1133,39 +620,6 @@ i: exit=1 expected_failed=2 ok # < proc overlaps(sc: Scene, t: Token, w: Wall): bool = segDist(t.pos, w.a, w.b) < sc.tokenRadius # --- # > proc overlaps(sc: Scene, t: Token, w: Wall): bool = segDist(t.pos, w.a, w.b) < 1e-9 - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1217,15 +671,7 @@ i: exit=1 expected_failed=2 ok [FAILED] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/j/w/tests/tmoverules' # test exit=1; expected tests failed: 2 [FAILED] wall added within r of the circle (centre not on it) sets blocked; 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 @@ -1237,39 +683,6 @@ j: exit=1 expected_failed=2 ok # < if overlaps(sc, sc.tokens[i], w): sc.tokens[i].blocked = overlapsAny(sc, sc.tokens[i]) # --- # > if overlaps(sc, sc.tokens[i], w): sc.tokens[i].blocked = false - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1321,15 +734,7 @@ j: exit=1 expected_failed=2 ok [OK] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -1339,39 +744,6 @@ k: exit=1 expected_failed=2 ok # diff server/moverules.nim -> mutated copy: # 139d138 # < if who.role == roleGM: sc.tokens[ti].blocked = overlapsAny(sc, sc.tokens[ti]) - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1423,15 +795,7 @@ k: exit=1 expected_failed=2 ok [FAILED] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -1444,39 +808,6 @@ l: exit=1 expected_failed=3 ok # < for sg in [(if side > 0: 1.0 else: -1.0), (if side > 0: -1.0 else: 1.0)]: # --- # > for sg in [(if side > 0: -1.0 else: 1.0), (if side > 0: 1.0 else: -1.0)]: - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1528,15 +859,7 @@ l: exit=1 expected_failed=3 ok [OK] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 @@ -1549,39 +872,6 @@ m: exit=1 expected_failed=3 ok # < if inBounds(sc, p) and not overlapsAny(sc, tt): return (true, p) # --- # > return (true, p) - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1633,15 +923,7 @@ m: exit=1 expected_failed=3 ok [OK] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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 -> blocked in place; door open -> free; GM can still move it @@ -1653,39 +935,6 @@ n: exit=1 expected_failed=2 ok # < side = if t.hasPrev: dot(t.prev - w.a, n) else: 0.0 # --- # > side = 0.0 - [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) - [OK] 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] 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 - [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 - [OK] visibilityPolygon and cellsTouched equal the prototype results - [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 [OK] crossing blocked, parallel ok [OK] grazing an endpoint is blocked [OK] no leak through shared vertex @@ -1737,15 +986,7 @@ n: exit=1 expected_failed=2 ok [OK] GM manual clear inside a wall: player escapes sideways, cannot cross [OK] an unrelated wall change elsewhere does not re-block a GM-cleared token [OK] no escape hatch: a player cannot walk through any wall of a boxed room -Error: execution of an external program failed: '/tmp/tmp.V0I5xpbA3Y/w/tests/tmoverules' - [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 - [OK] P3 negative control: a wall inside the disc IS visible through replies (the harness can fail) - [OK] P4: probing cannot unflag or move a blocked token - [OK] doors beyond the bound: opening or closing them changes no reply - [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 +Error: execution of an external program failed: '/tmp/fffmut.MS0tw0/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