Skip to content

feat(gds-psuu): sensitivity analysis framework#117

Merged
rororowyourboat merged 1 commit intodevfrom
feat/psuu-sensitivity
Mar 5, 2026
Merged

feat(gds-psuu): sensitivity analysis framework#117
rororowyourboat merged 1 commit intodevfrom
feat/psuu-sensitivity

Conversation

@rororowyourboat
Copy link
Collaborator

Summary

  • Add sensitivity/ subpackage with pluggable Analyzer ABC
  • OATAnalyzer: one-at-a-time perturbation — computes mean_effect and relative_effect per parameter per KPI
  • MorrisAnalyzer: elementary effects screening — computes mu_star (influence) and sigma (nonlinearity/interactions)
  • SensitivityResult with ranking(kpi, metric=) and to_dataframe()
  • Both analyzers compose with existing Evaluator + ParameterSpace primitives — no new dependencies
  • Mirrors the pluggable pattern used by verification checks in gds-framework

Test plan

  • 12 new tests: ABC, result ranking, dataframe export, OAT (basic, multi-param, integer, single-level), Morris (basic, multi-param, reproducibility, discrete-only)
  • All 62 passed, 2 skipped
  • 100% coverage on oat.py, 93% on morris.py
  • Ruff lint + format clean

Closes #112

Add sensitivity/ subpackage with pluggable Analyzer ABC and two
implementations:

- OATAnalyzer: one-at-a-time perturbation (mean_effect, relative_effect)
- MorrisAnalyzer: elementary effects screening (mu_star, sigma)

SensitivityResult provides ranking() and to_dataframe(). Both analyzers
compose with existing Evaluator and ParameterSpace primitives — no new
dependencies. 12 new tests.

Closes #112
@rororowyourboat rororowyourboat force-pushed the feat/psuu-sensitivity branch from 0500c0b to 7eef78b Compare March 5, 2026 09:48
@rororowyourboat rororowyourboat merged commit 3950632 into dev Mar 5, 2026
@rororowyourboat rororowyourboat deleted the feat/psuu-sensitivity branch March 5, 2026 09:52
@rororowyourboat rororowyourboat mentioned this pull request Mar 5, 2026
3 tasks
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.

feat(gds-psuu): sensitivity analysis framework

1 participant