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:
parent
fd1f4ed2c2
commit
d94dace75f
1 changed files with 2 additions and 2 deletions
|
|
@ -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())
|
||||
|
|
|
|||
Loading…
Reference in a new issue