feat(no-priors): create standalone no-priors characterization operator#686
Merged
danielelotito merged 34 commits intomainfrom Mar 23, 2026
Merged
feat(no-priors): create standalone no-priors characterization operator#686danielelotito merged 34 commits intomainfrom
danielelotito merged 34 commits intomainfrom
Conversation
…o separate plugin - Create new no-priors-characterization operator plugin per issue [#683](#683) - Move sampling logic to new plugin - Update TRIM to depend on ado-no-priors-characterization - Add examples and documentation - Fix small issue about edge case in high dim sampling Related to [#683](#683)
AlessandroPomponio
requested changes
Mar 11, 2026
Co-authored-by: Alessandro Pomponio <10339005+AlessandroPomponio@users.noreply.github.com> Signed-off-by: Daniele Lotito <99284466+danielelotito@users.noreply.github.com>
Details: Removed reorder_df_by_importance function (moved to orchestrator/utilities/pandas.py) Optimized set operations for better performance Fixed docstrings to Google format without internal variable references Used unique() instead of set() for NaN-safe handling Removed unnecessary comment Inverted logic in order_df_for_get_index_list_nn_high_dimensional to reduce nesting
…tion The samples parameter now correctly specifies NEW entities to sample, not total desired samples. Previously it subtracted existing measurements, causing crashes when existing measurements exceeded the requested count. Now always samples exactly the requested number of NEW entities, regardless of existing measurements in the space.
AlessandroPomponio
requested changes
Mar 16, 2026
Co-authored-by: Alessandro Pomponio <10339005+AlessandroPomponio@users.noreply.github.com> Signed-off-by: Daniele Lotito <99284466+danielelotito@users.noreply.github.com>
"the error level is the same one that's used for exceptions: either this is an exception worthy occurrence or this should be only a warning"
- Add ado-core dependency - Add build-system configuration with setuptools - Add tool.setuptools_scm with root path - Addresses review comment to follow plugin-development.mdc guidelines
AlessandroPomponio
requested changes
Mar 18, 2026
…-characterization
- Add optional generatorid parameter to SpacePoint.to_entity() method - Defaults to 'unk' if not specified for backward compatibility - Pass generatorid to Entity constructor to properly track entity origin - Add docstring explaining the parameter and return value This enables callers to specify the generator that created an entity, fixing the issue where entities were always created with 'unk' as the generatorid.
Update get_list_of_entities_from_df_and_space() to pass 'no_priors_characterization' as generatorid when creating entities. This ensures entities are properly tagged with their generator instead of defaulting to 'unk'.
Replace 'unk' with 'no_priors_characterization' in example output to reflect the actual generatorid now being set correctly.
Collaborator
Author
Collaborator
Author
|
#724 got approved, |
f6f5615 to
d045d9f
Compare
Signed-off-by: DRL NextGen <220003231+DRL-NextGen@users.noreply.github.com>
Signed-off-by: DRL NextGen <220003231+DRL-NextGen@users.noreply.github.com>
5be1a8f to
789953f
Compare
Member
|
Checks Summary Last run: 2026-03-23T17:03:04.388Z Mend Unified Agent vulnerability scan found 1 vulnerabilities:
|
AlessandroPomponio
approved these changes
Mar 23, 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.
refactor(operators): extract no-priors characterization from TRIM into separate plugin
This contributes to #677
Close #683