Repository navigation
test: Validate mesh source recovery against independent physical truth - #342
Merged
Merged
Conversation
This was referenced Oct 2, 2026
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.
Summary
Add deterministic source-recovery checks for all six mesh interpolator classes. An analytic asymmetric two-Gaussian source supplies data independently of the fitted basis; recovered coefficients are compared against physical truth at mesh nodes. Adaptive kernel nodes are obtained by independent CDF root solving.
Every class must reject a deliberately wrong mapping/weight pairing. The adaptive entry point is actually patched during the fault check, bracketed by bit-identical uniform control runs. This detects geometric corruption that solved-source residuals can hide.
Part of PyAutoLabs/PyAutoArray#603. Separate audit findings remain open as PyAutoLabs/PyAutoArray#609 and #610; a passing recovery fixture does not waive those failures.
Scripts Changed
scripts/imaging/mesh_interpolator_source_recovery.py: analytic physical source-recovery checks, mutations and control.smoke_tests.txt: register the new bounded deterministic script.scripts/imaging/mesh_interpolator_source_recovery.md: applicability, numerical measurements, limitations and deliberate-fault evidence.Upstream PR
PyAutoLabs/PyAutoArray#611
Preserve library-first merge order. No new runtime API or production behavior is required by this workspace PR.
Test Plan
profile_smoke.yaml: 1 passed, 0 failed, 8.27 seconds, exit 0.Readiness
Heart has no RED reasons. Human explicitly acknowledged
manifest drift: workspace checkouts (manifest ↔ disk) — 1 mismatch(es) vs PyAutoMind/repos.yamland stalerelease validation incomplete: no rehearsal for current source, authorizing development PRs only. No merge or release is authorized.