Skip to content

test_0949: the walls named are any non-empty set of the shell's walls (#1280 follow-up) - #1308

Merged
lmoresi merged 1 commit into
developmentfrom
bugfix/test-0949-walls-any-platform
Nov 24, 2026
Merged

lmoresi merged 1 commit into
developmentfrom
bugfix/test-0949-walls-any-platform

Conversation

@lmoresi

@lmoresi lmoresi commented Nov 20, 2026

Copy link
Copy Markdown
Member

Follow-up to #1280: test_0949's refinement-crease test no longer pins which wall the held-back vertices sit on.

Why

Which walls hold the crease vertices depends on the platform's gmsh mesh, as their count does (#1280 already asserts a positive count rather than 21 or 47):

  • macOS and the CI runner: all on Lower;
  • a Linux build at current development (reported by the debugging desk): not, independent of any change of its own.

The test asserted exactly off the walls ['Lower'].

The change

The test now parses the list of walls from the warning and asserts that it is non-empty and that every wall named is one of the shell's (Lower, Upper). The positive count and the remedy text (numElements=4, simplex=False) are asserted as before. No library code changes.

Tolerances and coordinate matches

None.

Tests

tests/test_0949_refinement_says_which_walls_are_left_off.py serially (macOS, 12-core Apple M4): 2 passed. The Linux case that failed is the one this fixes, and needs a Linux run to confirm.

Underworld development team with AI support from Claude Code

…#1280 follow-up)

Which walls hold a crease's held-back vertices depends on the platform's gmsh
mesh, as the count does: all on Lower on macOS and on CI, not on a Linux
build at current development (H5). The test asserted exactly ['Lower']. It
now asserts a non-empty list whose walls are all the shell's (Lower, Upper),
beside the positive count and the remedy.

Underworld development team with AI support from Claude Code
Copilot AI balanced review requested due to automatic review settings November 20, 2026 18:13

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copilot was unable to review this pull request because the user who requested the review has insufficient remaining quota. Try requesting a review at a lower effort level.

@lmoresi

lmoresi commented Nov 20, 2026

Copy link
Copy Markdown
Member Author

Checked by H5 (a debugging session) on a 96-thread Linux workstation (single system image; Intel Xeon Gold 6240R, AVX-512; MPICH), where the development version of this test failed: tests/test_0949_refinement_says_which_walls_are_left_off.py from this PR passes there (2 passed), serially, on a current build of development.

Underworld development team with AI support from Claude Code

@lmoresi
lmoresi merged commit 0d0fcf1 into development Nov 24, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants