Calculate decision matrix
calculate_decision_matrixUse this when the user wants a weighted decision matrix, scored comparison, alternative ranking, or weight sensitivity analysis with explicit criteria, weights and scores. Accepts two to twenty options and one to eight criteria. Scores use a fixed zero-to-one-hundred scale; benefit means higher is better and cost means lower is better. Returns normalized weights, exact rankings and ties, pairwise break-even shares, up to four explicit weight scenarios and CSV. Does not research options, invent scores, infer preferences or predict outcomes.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Comparison title, e.g. Supplier shortlist. | |
| options | Yes | Alternatives with supplied ratings, e.g. [{"name":"A","scores":[80,40]},{"name":"B","scores":[60,20]}]. | |
| criteria | Yes | Criteria in the same order as each option score array, e.g. [{"name":"Quality","weight":60,"direction":"benefit"},{"name":"Expense","weight":40,"direction":"cost"}]. | |
| scenarios | No | Optional explicit weight scenarios, e.g. [{"label":"Cost emphasis","weights":[20,80]}]. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tied | Yes | ||
| notes | Yes | ||
| title | Yes | ||
| ranking | Yes | ||
| winners | Yes | ||
| criteria | Yes | ||
| downloads | Yes | ||
| scenarios | Yes | ||
| sensitivity | Yes | ||
| option_count | Yes | ||
| preview_only | Yes | ||
| winner_count | Yes | ||
| winners_preview_only | Yes | ||
| sensitivity_preview_only | Yes |