Skip to content

VV/PERF: Replace Element Attributes With Neighbor Values Complete V&V and Optimizations - #1680

Merged
nyoungbq merged 3 commits into
BlueQuartzSoftware:developfrom
nyoungbq:vv/replace_element_attributes
Jul 22, 2026
Merged

VV/PERF: Replace Element Attributes With Neighbor Values Complete V&V and Optimizations#1680
nyoungbq merged 3 commits into
BlueQuartzSoftware:developfrom
nyoungbq:vv/replace_element_attributes

Conversation

@nyoungbq

@nyoungbq nyoungbq commented Jul 21, 2026

Copy link
Copy Markdown
Contributor
  • Added V&V files for ReplaceElementAttributesWithNeighborValues
  • New test for previously untested code path
  • Small algorithm optimizations and cleanup
  • New templated API function in DataGroupUtilities for typed child search (IArray search function was then turned into a wrapper for new function)

Naming Conventions

Naming of variables should descriptive where needed. Loop Control Variables can use i if warranted. Most of these conventions are enforced through the clang-tidy and clang-format configuration files. See the file simplnx/docs/Code_Style_Guide.md for a more in depth explanation.

Filter Checklist

The help file simplnx/docs/Porting_Filters.md has documentation to help you port or write new filters. At the top is a nice checklist of items that should be noted when porting a filter.

Unit Testing

The idea of unit testing is to test the filter for proper execution and error handling. How many variations on a unit test each filter needs is entirely dependent on what the filter is doing. Generally, the variations can fall into a few categories:

  • 1 Unit test to test output from the filter against known exemplar set of data
  • 1 Unit test to test invalid input code paths that are specific to a filter. Don't test that a DataPath does not exist since that test is already performed as part of the SelectDataArrayAction.

Code Cleanup

  • No commented out code (rare exceptions to this is allowed..)
  • No API changes were made (or the changes have been approved)
  • No major design changes were made (or the changes have been approved)
  • Added test (or behavior not changed)
  • Updated API documentation (or API not changed)
  • Added license to new files (if any)
  • Added example pipelines that use the filter
  • Classes and methods are properly documented

nyoungbq added 2 commits July 21, 2026 11:04
- New test case for untested branch
- Code cleanup
- New API for DataGroupUtilities
- V&V Updates for A/B rerun post changes
@nyoungbq
nyoungbq merged commit 4fd0abe into BlueQuartzSoftware:develop Jul 22, 2026
6 checks passed
@nyoungbq
nyoungbq deleted the vv/replace_element_attributes branch July 22, 2026 11:12
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