live ram_knee: the inside check reads the oracle as it is made, by Signed's own ray count

The check passed rays=3 itself, so Signed's default at two rays kept it green
(the mutant survived its first run). It now builds the oracle with no count.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
Meta Vens 2026-12-02 22:57:47 +01:00
commit d94dace75f

View file

@ -339,8 +339,8 @@ try:
# and y), geometric mean 1.7: the check asks 2
within = np.array(fixture["inside"])
def outside(count=3, rays=None):
oracle = Signed(plates, rays=count)
def outside(count=None, rays=None):
oracle = Signed(plates) if count is None else Signed(plates, rays=count) # as made: the count is Signed's own
if rays is not None:
oracle.rays = [Vector(ray).normalized() for ray in rays]
return int((oracle("plates", within) >= 0).sum())