Repository navigation
Linux accuracy anchors for the parallel rotated and constrained tests; a stale strict xfail goes - #981
Merged
Conversation
…he values to record The parallel accuracy anchors (test_1063, test_1064's box, annulus and annulus_fmg, test_1066's datum) were recorded on macOS, and Linux's gmsh builds those meshes differently, so on CI every one of them skipped and the absolute answer was never checked there. An anchor can now be a list, one per mesh a host builds; the one whose fingerprint matches is used. A skip names the fingerprints on record and prints this host's fingerprint and values in the form to paste, so CI's own log (or one run on hyperion) gives the Linux anchors. Underworld development team with AI support from Claude Code
Recorded on hyperion at np 2 with the conda-forge stack CI uses, from the skip messages of 27df1f3: test_1063's iso, ti and raw-gauge annulus (430 cells), test_1064's annulus (612), shell (1395) and internal-boundary shell (1991), and test_1066's datum (612). Each sits beside its macOS anchor; the one whose fingerprint matches is used. The two shells are as development builds them; #952's wall flips change those meshes, and a skip will then print the values to add. Underworld development team with AI support from Claude Code
…-split case passes now
It was a strict xfail ("LU sub-solves in the velocity | [p,h] preconditioner
still do not reproduce the validated Nitsche/default velocity response").
It passes on Linux (hyperion, both builds) and on macOS arm64 at
development eddab70, so XPASS(strict) failed it; the agreement within 1 %
is now asserted. The fast grouped-Schur case still fails on macOS and keeps
its strict xfail. The file is tier C.
Underworld development team with AI support from Claude Code
Member
Author
Adversarial review of #981Verdict: ready. Tests only, ec8d064 against eddab70. Nothing broke. Run on hyperion at np 2: test_1063, test_1064 and test_1066 give 14 passed, 0 skipped, rc=0. The seven cases that skipped now assert their anchors. Each Linux value in the files was checked against the recorded dicts. Attacks that failed
Could not testThe removed test in CI, and a real multi-rank skip. #952's flips will send the shell cases back to a skip that prints the values to add, as the PR says. Underworld development team with AI support from Claude Code |
Underworld development team with AI support from Claude Code
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The parallel accuracy anchors now check the absolute answer on CI's Linux runners too, instead of skipping there every time.
The gap
test_1063, test_1064 (box, annulus, annulus_fmg, the spherical shells) and test_1066 assert their answer against a recorded value, gated on the mesh fingerprint. The values were recorded on macOS. Linux's gmsh builds those meshes differently, so on CI every anchor without a matching fingerprint skipped, and the absolute answer was never checked there. Only partition independence was.
The change
accuracy_anchor(tests/parallel/serial_reference.py) takes a list of anchors, one per host mesh, and uses the one whose fingerprint matches. When none matches, the skip names the fingerprints on record. It also prints this host's fingerprint and values in a paste-ready form, so a CI log or one run gives the values to record.The Linux values agree with the macOS ones as two triangulations of one domain should: velocity L2 within about 0.02 %, topography within 0.5 to 2 %.
test_1064_constrained_spherical_shell_response: the LU-subsolve field-split case was a strict xfail. It now passes on Linux (hyperion) and on macOS, so XPASS(strict) failed it, and the agreement is asserted instead. The fast grouped-Schur case still fails on macOS and keeps its xfail. The file is tier C and not in CI.Tests only; no library change.
Evidence
On this branch at np 2 (hyperion), before the Linux values were added: 7 passed and 7 skipped. The 7 skip messages gave the values above. With them added, those cases are compared on Linux.
Issues
Underworld development team with AI support from Claude Code