brokkr_kitbash.ram: zones by the bodies a pin joins, record version 2, Soul s4's Lows (cut kit-ram-lows) #38

Merged
eureka merged 14 commits from nibu/kit-ram-lows into main 2026-12-03 08:48:19 +00:00
Owner

Cut aetheria-release:cut_spec:cut-kit-ram-lows.r1: Soul s4's five Lows on kit-ram-core, in ram.py, its tests, the live knee and the doc's Rams section.

What changes

  • A zone names a part of a body its pin joins (JOINS): a the parent; the rocker's pivot the parent and rocker; p the rocker and coupler; c the coupler and child; b the child; d the rocker. Mechanism refuses any other zone before measuring it; from_record and a search world's answer pass the same loop. Soul's parent capsule under the coupler is refused at the record.
  • The record is version 2 and holds no settle block; a version-1 record is refused as another version's. Compliance is a slide joint's (kit-joint-records).
  • Tests: FINE pinned between 32 and 128 by the floor's crossover; the left-only pair and the span-about-the-knee mutants die; the two off-margin bounds restated as deviations from hand values, each constant stating shipped, mutant and separation.
  • Live: ram_rays.json gains 29 points inside the plates. The oracle as made reads 0 outside; two rays 16, one ray 10, a repeated ray 10, rays along x and y 6.

Proof

  • python -B -m unittest tests.test_ram: 50 tests OK, 6.3 s.
  • tests/live/ram_knee.py, Blender 5.3.0, private user dirs: exit 0, 21 checks; search 33.4 s (34.7 s and, once under load, 58.1 s; s4 read 35.1 s).
  • 18 source mutants of ram.py each fail a named unit test; the four ray mutants each fail the live run.

Found on the way, not fixed here

The fixture gives the four overlapping bars as one shell. Signed that way, three rays read 1,906 of 38,448 truly inside grid points outside (the unsafe direction for the proof between samples); with each bar its own shell, as the live knee builds its parts, none. The inside points pin the rays; they do not show the oracle signs a joined mesh truly. The doc says so; whether Signed should split a shell into its pieces is a question for the next map.

tests/live/ram_knee.result.json is outside this cut's files and now lacks the new check.

🤖 Generated with Claude Code

🤖 Generated with Claude Code

Cut `aetheria-release:cut_spec:cut-kit-ram-lows.r1`: Soul s4's five Lows on kit-ram-core, in `ram.py`, its tests, the live knee and the doc's Rams section. **What changes** - **A zone names a part of a body its pin joins** (`JOINS`): `a` the parent; the rocker's pivot the parent and rocker; `p` the rocker and coupler; `c` the coupler and child; `b` the child; `d` the rocker. `Mechanism` refuses any other zone before measuring it; `from_record` and a search world's answer pass the same loop. Soul's parent capsule under the coupler is refused at the record. - **The record is version 2** and holds no settle block; a version-1 record is refused as another version's. Compliance is a slide joint's (kit-joint-records). - **Tests**: FINE pinned between 32 and 128 by the floor's crossover; the left-only pair and the span-about-the-knee mutants die; the two off-margin bounds restated as deviations from hand values, each constant stating shipped, mutant and separation. - **Live**: `ram_rays.json` gains 29 points inside the plates. The oracle as made reads 0 outside; two rays 16, one ray 10, a repeated ray 10, rays along x and y 6. **Proof** - `python -B -m unittest tests.test_ram`: 50 tests OK, 6.3 s. - `tests/live/ram_knee.py`, Blender 5.3.0, private user dirs: exit 0, 21 checks; search 33.4 s (34.7 s and, once under load, 58.1 s; s4 read 35.1 s). - 18 source mutants of `ram.py` each fail a named unit test; the four ray mutants each fail the live run. **Found on the way, not fixed here** The fixture gives the four overlapping bars as one shell. Signed that way, three rays read 1,906 of 38,448 truly inside grid points outside (the unsafe direction for the proof between samples); with each bar its own shell, as the live knee builds its parts, none. The inside points pin the rays; they do not show the oracle signs a joined mesh truly. The doc says so; whether `Signed` should split a shell into its pieces is a question for the next map. `tests/live/ram_knee.result.json` is outside this cut's files and now lacks the new check. 🤖 Generated with [Claude Code](https://claude.com/claude-code) 🤖 Generated with [Claude Code](https://claude.com/claude-code)
Soul s4 (zone-spans-the-member-and-hides-an-overlap): two zones of 0.51 of
its length cover a member, so no radius bound stops a foreign part being let.
The record can say which bodies a pin joins: a the parent, the rocker's pivot
the parent and rocker, p the rocker and coupler, c the coupler and child, b
the child, d the rocker. Mechanism refuses any other zone before measuring it;
from_record and a search world's answer pass the same loop.

Tests: every (kind, member, pin, body) admitted or refused by a hand table;
Soul's parent capsule under the coupler refused three ways; the wall, bead,
lug and world cases restated on bodies their pins join.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
FINE is read as 64 and the floor's crossover (0.451 of spacing/64) is bounded
at 0.319 and 0.638: FINE 128 (0.2255) and FINE 32 (0.902) each fail, as do 8
and 4096. A bead of the shin before the first sample of a zone about c kills
the left-only pair. A base 0.1 from the rocker's pivot kills the ram's span
taken about the knee's pivot (0.539 against 1.335, bound 0.848).

The -0.9 link_r bounds become deviations from hand values (ZONED), the
>= 0.02 bound a deviation from the nearest sample's reading (BESIDE, against
B1: the proof by the nearer end less the span). Each constant states shipped,
mutant and separation.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
The reserved block (stiffness, damping, travel; written null, solved by
nothing) leaves the ram record: a load-path cylinder's settle is a slide
joint's, in the joint records (cut kit-joint-records). VERSION is 2; a
version-1 record is refused as another version's, and the key is refused
like any the record does not know.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Clearance states the body rule and what it gives up (among the joined bodies'
parts a whole-member zone still lets the axis in; a third body's plate is
never zoned; a four-bar's eye is let near no coupler part). The record is
version 2 and holds nothing of a cylinder's settle. Readings: the 29 inside
points and the mutants' counts, and that overlapping closed pieces given as
one shell are mis-signed (1,906 of 38,448) where piece by piece none are.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
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>
Self's ruling on the fork cut-kit-ram-lows.h1 reported: callers feed joined
meshes such as jointlib's, whose closed pieces overlap. Parity over the whole
mesh reads the overlap as outside, the direction the proof between samples
cannot bear. _pieces splits a mesh into the pieces its faces join; each gets
its own tree and bounding box. Unit test of the split.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
inside-reads-inside replaces rays-inside: a 0.003 grid inside the four bars
(truth by each bar's face planes) and the fixture's 29 points, all read
inside. Parity over the whole mesh read 1,906 outside.

Read bar by bar, the 24 points between the plates fall outside every bar's
box and one ray no longer miscounts them; ram_rays.json's `points` are now 14
beside the bars that one ray reads inside and three read outside. Two rays,
or a second and third along x and y, read them as three do.

ram_knee.result.json regenerated: 21 checks. docs: the piece-by-piece read.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka force-pushed nibu/kit-ram-lows from 244fd2ab20 to 36ef23fdca 2026-12-02 23:12:52 +00:00 Compare
eureka force-pushed nibu/kit-ram-lows from 36ef23fdca to 18adf73a27 2026-12-03 00:35:19 +00:00 Compare
solids read topology by vertex index and inversion by a solid's volume, and
both failed on real meshes (verdict cut-kit-ram-lows.s3).

- weld: vertices within WELD (3e-4 of the extent) are one vertex to the open
  check, so a seam of coincident vertices is no hole.
- A face is turned where the winding number NUDGE before its centroid is
  under -0.5. The region before the turned faces is measured along their
  normals, and a part is refused where it holds THIN (1.1e-4 of the extent
  cubed) or more. A turned solid welded to a whole one is refused; a cavity
  and a sliver pass.
- placed: a shell may carry its matrix; a mirrored one has its faces turned
  back.
- tests.test_ram.Corpus: every kit part at the corners of its params (316),
  and tests/fixtures/ram_meshes.npz, 33 mech meshes: the 21 refused inside
  out, three open, and the passing parts nearest each bound.
- live ram_knee: a hollow mass and a mirrored shell are read; outside is to
  the nearest face of all; plates 1e-5 of the extent apart are two surfaces;
  a turned cube's faces are all exposed. 24 checks.

Over the 1,832 mech meshes: 1,790 pass, 21 open, 21 inside out (the 17 of
s3, walker's two guns, seraph's two Torso.LowerIn plates). Kits: 3,224 of
3,224 pass.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Verdict cut-kit-ram-lows.s4 and ruling ram-refuses-crossing-not-inverted.

- Inside out: a solid with a turned face whose exact signed volume is
  negative, with a zero bound. A turned 0.2 cube by a 6 m bar and a turned
  plate 1e-5 thick are refused (both passed under THIN). A cavity's inward
  shell has no turned face and passes; a solid the weld closes up to a
  point or a line has no volume to read.
- Crossing: turned faces where no solid's volume is negative, holding THIN
  or more, are refused as "crosses itself" with the region's centre and
  reach, never as inside out. A turned piece welded into a whole solid
  reads so too.
- weld: one grid of the tolerance, each vertex compared with its own cell
  and those about it. A pair 0.99 of the tolerance apart joins and one 1.01
  apart does not, at any placement (the cells of twice the tolerance joined
  pairs up to 2x by where they fell).
- tests: the two s4 constructions; the weld pair at 100 placements; THIN
  pinned on a welded bar (6.75e-5 let, 1.93e-4 refused); Exposed, a stub
  mathutils that kills no-exposed-refusal and zero-area-kept without
  Blender; a cavity beside a let crossing.
- tests/fixtures/ram_meshes.npz: 113 rows. The four crossing parts renamed,
  and ten passing parts of each mech drawn by a seeded generator: 89 pass.

Over the 1,832 mech meshes: 1,790 pass, 21 open, 17 inside out, 4 crossing
(walker GunL/GunR.gunmetal, seraph Torso.LowerInL/R). Kits: 3,224 of 3,224
pass, 3,540 of 3,540 with lows.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
24 checks ok under Blender 5.3.0.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
eureka merged commit ad615a4f03 into main 2026-12-03 08:48:19 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set

Reference
GameCult/Brokkr!38
No description provided.