Analyze the decision
analyzeTurn a fully scored decision matrix into a defensible recommendation with rankings, flip thresholds, and Monte Carlo win probabilities for each option. Flags if the winner is robust or fragile.
Instructions
Analyze a fully scored matrix and give a defensible recommendation.
Returns the ranking and margin; for each criterion the exact weight at which the winner would flip (closed form); the cells whose score alone could change the winner, with the threshold and the rationale behind them; Monte Carlo win probabilities under joint weight and score perturbation; per-option strengths/weaknesses; and a verdict: "robust", "fragile" (a ±50% single-weight change, a ≤1-point single-score change, or a win probability below 80% flips it) or "tie" (winner is null and the tie-breakers are listed). Fails with the list of missing cells if the matrix is incomplete.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| seed | No | Random seed; same seed, same numbers. | |
| decision_id | Yes | Id returned by start_decision, e.g. 'dec-a3f2'. | |
| score_noise | No | Uniform ± noise added to every score in the simulation. | |
| simulations | No | Monte Carlo samples (0 disables the simulation). | |
| weight_concentration | No | Dirichlet concentration of the simulated weights; lower = more weight uncertainty. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||