Repository navigation
A cell touching both copies of one fault has no side, and is counted - #1267
Conversation
_cell_fault_sides gave each cell the side of the last fault copy visited. A cell whose star holds both the Minus and the Plus copy of one fault's points (none seen yet; a tip or a junction could make one) took whichever came last, and the recorded-parent rule's side filter then excluded its candidates on that arbitrary side. Such a cell now gets side 0, so the filter excludes nothing for it, and the count goes into the build notes (fault_mg.last_parent_rows["side_conflicts"], summed over the ranks in the parallel route). A defensive guard, from H5's review of the coarse-levels design (point 4). test_1120: a pairing that puts a vertex on both copies gives its star side 0 and counts it; the #1120 fixture's moved pair counts 0. Underworld development team with AI support from Claude Code
|
Adversarial review, round 1
No findings. Underworld development team with AI support from Claude Code |
|
Parallel check of ff722ed, run by H5 (a debugging session) on a 96-thread Linux workstation (single system image; Intel Xeon Gold 6240R, AVX-512; MPICH). The PR's Verdict: passes. No change needed. By reading.
The count on the #1206 fixture. The finest split pair of the adapt child (
The allreduce carries a nonzero count from any rank.
The 10 is 5 on each of the two levels of the pair. Neither run hung, so the empty rank enters the allreduce and reaches the record. The fault files.
Underworld development team with AI support from Claude Code |
A cell that touches both copies of one fault now has no side, and the build notes count such cells. This is a defensive guard; no real mesh has shown one.
What changes
On development.
fault_mg._cell_fault_sidesgave each cell the side of the last fault copy visited. A cell whose star holds both the Minus and the Plus copy of one fault's points took whichever came last. The recorded-parent rule's side filter (side == −ownexcluded, #1120) then excluded its candidates on that arbitrary side. H5 found this by reading the code, while reviewing the design for moving coarse levels with the fine mesh. H5 named a fault tip or a junction as where it could occur.Now.
fault_mg.last_parent_rows["side_conflicts"], summed over the ranks on the parallel route._cell_fault_sidesreturns(side, names, conflicts); its one caller is updated.Measured. On the #1120 fixture (the add-on child with the 9-point guide and
add_fault), at rest, no cell of either split level touches both copies:Tolerances and coordinate matches
None.
Tests
tests/test_1120_split_transfer_fault_copies.py:test_a_cell_touching_both_copies_of_a_fault_has_no_side. A pairing that makes one vertex both copies of a fault gives every cell around it side 0, and counts them. Development returns two values and the last copy's side, so this test fails there.side_conflicts == 0. This is H5's check, which H5 will repeat on the Split-level transfer: the recorded parent's rows where a fault copy has no fine image (#1120) #1206 fixture.Serial runs (macOS, 12-core Apple M4): the 33 test files that use
fault_mg,add_faultorplace_fault_ribbon, 320 passed. Parallel files not run (no MPI on this machine). The parallel route only adds an allreduce of the count, beside the existing ones in its record.Review
Adversarial review, below.
Issue state
No issue: a defensive finding from a design review, fixed here.
Underworld development team with AI support from Claude Code