VV: Create Element Array from Feature Array fully V&V'ed - #1689
Open
imikejackson wants to merge 1 commit into
Open
VV: Create Element Array from Feature Array fully V&V'ed#1689imikejackson wants to merge 1 commit into
imikejackson wants to merge 1 commit into
Conversation
Summary: - Found and fixed 3 bugs (uncaught std::bad_cast in preflight when a NeighborList/StringArray was selected - parameter now constrained to ArrayType::DataArray; uncaught std::invalid_argument for a '/' in the created-array suffix - now clean preflight error -3021; end() iterator dereference (UB) on zero-tuple FeatureIds in the shared ValidateFeatureIdsToFeatureAttributeMatrixIndexing utility); - documented 3 deviations from DREAM3D 6.5.171 (D1 output-array naming for converted pipelines, D2 over-provisioned feature array accepted in NX vs legacy error -5555, D3 legacy bug: silent out-of-bounds garbage for negative feature ids vs NX error -5355) - numeric output bit-identical on valid input across float32/int32x3/bool fixtures; - retired 1 test (Parameter Check exercised parameter validation instead of the filter's empty-selection guard; replaced with a guard-specific test); - augmented existing tests with 6 inlined Class 1 (Analytical) + Class 4 (Invariant) test fixtures (21 ctest entries total, 13 of 14 code paths; cancel path excluded); - V&V deliverables (report, deviations) archived to OneDrive per program decision; no exemplar archive needed (all fixtures in-memory); - PERF: raw-pointer fast path for in-core DataStore<T> in the copy kernel (removes ~3 virtual calls per component-element), FeatureIds min/max validation hoisted out of the per-selected-array loop, cancel check throttled; OOC and other store types keep the serial virtual path; - fixed Xmdf->Xdmf typo, documented error codes, memory note, and example pipelines in the user-facing doc. Signed-off-by: Michael Jackson <mike.jackson@bluequartz.net>
imikejackson
force-pushed
the
vv/copy_feature_array_to_element_array
branch
from
July 24, 2026 01:39
7fa565f to
af11360
Compare
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
Full V&V of
CopyFeatureArrayToElementArrayFilterper the v2 MTR V&V policy (Class 1 Analytical oracle + Class 4 Invariant companions), followed by a five-review hardening pass (adversarial, senior-engineer, CPU-perf, memory-perf, out-of-core). V&V report/deviations are archived to OneDrive per program decision.Correctness
Bug fixes
std::bad_castfrom preflight — parameter now constrained toArrayType::DataArray(pinned by test)./in the created-array suffix threw an uncaughtstd::invalid_argument— now a clean preflight error (-3021).end()(UB) in the sharedValidateFeatureIdsToFeatureAttributeMatrixIndexing— empty-store guard added.Performance
DataStore<T>(removes ~3 virtual calls per component-element); OOC/other store types keep the serial virtual path (requireArraysInMemoryadded).Tests
/suffix, name collision (-266), zero-tuple FeatureIds, negative id (-5355), id-out-of-range (-5351), over-provisioned pin (D2). The TEMPLATE_LIST test previously compared uninitialized feature data (could not detect indexing bugs) — now uses distinct per-feature values. SIMPL backcompat test now asserts the converted multi-path value.Docs
Test Plan
EMsoftSO3SamplerFiltermissing SIMPL fixture in SimplnxReview)