Improve sensitivity coverage with focused executor unit tests#1343
Merged
Improve sensitivity coverage with focused executor unit tests#1343
Conversation
Agent-Logs-Url: https://github.com/SkBlaz/py3plex/sessions/940e2485-79a8-47e2-91c0-59565a8c1579 Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SkBlaz/py3plex/sessions/940e2485-79a8-47e2-91c0-59565a8c1579 Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SkBlaz/py3plex/sessions/940e2485-79a8-47e2-91c0-59565a8c1579 Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Agent-Logs-Url: https://github.com/SkBlaz/py3plex/sessions/940e2485-79a8-47e2-91c0-59565a8c1579 Co-authored-by: SkBlaz <10035780+SkBlaz@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
SkBlaz
April 12, 2026 05:51
View session
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
Adds focused unit tests for
py3plex/sensitivity/executor.pyand metric-spec parsing to improve coverage in the low-covered sensitivity area.Changes
tests/test_sensitivity_executor.py_extract_conclusion_data(dict input,to_dict()object input, uncertainty-wrapped values)_compute_stability_metricdispatch and unknown-metric fallback_find_collapse_pointfound/not-found behavior_compute_local_influenceper-node score behaviorrun_sensitivity_analysisdeterministic flow under monkeypatched perturbationrun_sensitivity_analysisinstability detection (non-perfect stability)parse_metric_specvariantsValidation
python3 -m pytest tests/test_sensitivity_executor.py tests/property/test_sensitivity_properties.py -qNotes
cannot load module more than once per process) when measuring coverage directly, so validation used targeted pytest execution.