live ram_knee: the oracle's rays held from inside: 29 points inside the jointlib rocker plates
Soul s4 (ray-fixture-pins-above-one-not-three, crossing-proof-needs-a-sign- true-oracle): the fixture held only points outside the plates, which two rays or an axis-aligned pair read as three do. ram_rays.json gains `inside`: points 0.001 or more inside one of the shell's four convex pieces, nine aimed along a ray, x or y, twenty where a side's two bars overlap. The oracle as made reads 0 outside; two rays 16, one ray 10, the second ray the first 10, the second and third along x and y 6. The check asks 0 and at least 2. The fixture's `about` says what this does not show: fed as one shell the overlap is signed by parity, and three rays read 1,906 of 38,448 inside grid points outside; with each piece its own shell, none. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
This commit is contained in:
parent
6034831288
commit
2be27f0c0c
2 changed files with 20 additions and 1 deletions
File diff suppressed because one or more lines are too long
|
|
@ -12,6 +12,8 @@ without them). <out> is an absolute path; writes <out>.result.json and <out>.r3_
|
|||
The oracle is ram.Signed, three rays by majority. Its ray count is held by tests/fixtures/ram_rays.json: the rocker
|
||||
plates as Imagination's jointlib builds them and points between the plates that stand on the first ray short of an
|
||||
edge or a vertex. One ray reads them inside a plate they stand clear of; the oracle as it is made reads none inside.
|
||||
Its rays are held by the fixture's points inside the plates, where the plates' two bars overlap: the oracle as it is
|
||||
made reads each inside, and two rays, one, a repeated ray or rays along x and y read some outside.
|
||||
|
||||
A clearance verdict is a sign, the gate's own. FLAT follows lodur:ruling:deterministic-bound-margin. The checks run
|
||||
inside one try: an uncaught error is a failed check that names its section, and the result file is always written.
|
||||
|
|
@ -331,6 +333,23 @@ try:
|
|||
check("ray-count: between the jointlib rocker plates, points on the first ray short of an edge or a vertex read outside by the oracle as it is made, inside by one ray",
|
||||
(np.abs(aimed[:, 0]) < 0.349).all() and (made > 0).all() and (single < 0).sum() >= 5, [int((made < 0).sum()), int((single < 0).sum())])
|
||||
|
||||
# the other way, which the gate's proof between samples leans on: points inside the same plates. The oracle as it is
|
||||
# made reads every one inside; each change of its rays reads some outside. Counts of points: shipped 0 (half a
|
||||
# point, lodur:ruling:deterministic-bound-zero-reading), the least mutant 6 (the second and third rays along x
|
||||
# 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)
|
||||
if rays is not None:
|
||||
oracle.rays = [Vector(ray).normalized() for ray in rays]
|
||||
return int((oracle("plates", within) >= 0).sum())
|
||||
read = {"as made": outside(), "two rays": outside(2), "one ray": outside(1), "the second ray the first": outside(rays=(R.RAYS[0], R.RAYS[0], R.RAYS[2])),
|
||||
"the second and third along x and y": outside(rays=(R.RAYS[0], (1, 0, 0), (0, 1, 0)))}
|
||||
RES["readings"]["jointlib plates: inside points read outside, of %d" % len(within)] = read
|
||||
check("rays-inside: points inside the jointlib rocker plates all read inside by the oracle as it is made, and some read outside with two rays, with one, with the second ray the first, "
|
||||
"and with the second and third along x and y", read["as made"] == 0 and min(count for name, count in read.items() if name != "as made") >= 2, read)
|
||||
|
||||
SECTION[0] = "seat"
|
||||
seat = np.concatenate([v for v, _ in shells["parent.seat"]])
|
||||
deepest = float(Signed(shells)("parent.body", seat).min())
|
||||
|
|
|
|||
Loading…
Reference in a new issue