sensitivity_analysis
Determine if your top-ranked option changes when criteria weights shift. Sweeps each weight, recomputes rankings, and reports robustness, flipping criteria, and exact flip points.
Instructions
Test how robust the winner is to criteria-weight changes. Sweeps each weight +/- 'variation' (default 0.2) over 'steps' (default 10), recomputes the ranking, and reports a robustness score, the criteria most likely to flip the result, and flip points.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | No | ||
| method | No | weighted_sum | |
| scores | Yes | Score matrix. {"Option A": {"Criterion 1": 8, ...}, ...} or array form or inline on options. | |
| options | Yes | Named alternatives. Strings or {name, scores} objects. | |
| criteria | Yes | Weighted criteria. Each: {name, weight (relative, >=0), direction: 'benefit' (higher better, default) | 'cost' (lower better)}. | |
| variation | No |