Glyph WidgetsGlyph Widgets
关于联系博客隐私条款在Ko-fi上支持

© 2026 Glyph Widgets. 保留所有权利。

·

100% 客户端处理

Decision Matrix

最后更新:2026年3月19日

用于结构化决策的加权决策矩阵工具。定义自定义权重的评估标准,使用数字刻度或字母评级对选项打分,并查看颜色编码的最终结果。所有处理均在本地浏览器中完成。

功能

  • ▶Weighted criteria with customizable importance values and automatic percentage display
  • ▶Numeric scoring scales (0-10, 0-50, 0-N) independently configurable per criterion
  • ▶Letter grade scoring (A+ through F) per criterion with precise numeric mapping
  • ▶Color-coded cells using red-to-green HSL gradient for instant visual comparison
  • ▶Automatic weighted final score calculation with number or letter grade output
  • ▶Column notes for annotating each option and cell notes for individual score context
  • ▶Export the full matrix including final scores as CSV
  • ▶Auto-save to browser localStorage so your matrix persists between sessions
  • ▶Up to 20 criteria and 15 options per matrix for comprehensive comparisons
  • ▶100% client-side processing — no data leaves your browser

如何使用此工具

1

Add Criteria (Rows)

Click Add Criterion to create rows. Name each criterion (e.g., Price, Location, Quality) and set a weight to indicate its importance. Higher weight means the criterion counts more toward the final score.

2

Choose Scoring Scales

For each criterion, select either a numeric scale (0-10, 0-50, or any custom maximum) or letter grades (A+ through F). Different criteria can use different scales in the same matrix.

3

Add Options (Columns)

Click Add Option to create columns. Name each option (e.g., house addresses, product names, job offers). Use the notes icon in the column header to add details about each option.

4

Score Each Cell

Enter a score for every criterion-option combination. Cells are automatically color-coded from red (low) through yellow to green (high) so you can spot strengths and weaknesses at a glance.

5

Add Cell Notes

Click the small note icon in any cell to add context or reasoning for that specific score. Notes are saved alongside your matrix.

6

Review Final Scores

The bottom row shows the weighted final score for each option. Toggle between numeric (0-100) and letter grade (A+ to F) output. Export the entire matrix as CSV or copy the results to your clipboard.

Weighted Multi-Criteria Decision Analysis

The decision matrix implements Multi-Criteria Decision Analysis (MCDA), a structured approach from operations research. Each criterion is assigned a weight representing its importance. Scores are normalized to a 0-1 scale regardless of the original scoring system (numeric or letter grade), then multiplied by the criterion weight. The final score is the weighted average across all criteria with valid scores. This method is equivalent to the Simple Additive Weighting (SAW) model, the most widely used MCDA technique in practice.

Score Normalization and Letter Grade Mapping

Numeric scores are normalized by dividing by the scale maximum (e.g., 7/10 becomes 0.7). Letter grades are mapped to fixed values on the same 0-1 scale: A+ = 1.0, A = 0.95, A- = 0.9, B+ = 0.85, B = 0.8, B- = 0.75, C+ = 0.7, C = 0.65, C- = 0.6, D+ = 0.55, D = 0.5, D- = 0.45, F = 0.0. This mapping follows standard academic grade point scales and allows mixing numeric and letter-graded criteria in the same matrix.

Color Coding via HSL Interpolation

Cell background colors are computed using HSL color space interpolation. A normalized score of 0 maps to hue 0 (red), 0.5 maps to hue 60 (yellow), and 1.0 maps to hue 120 (green). The saturation and lightness are fixed at values that remain readable in both light and dark themes. This provides an intuitive traffic-light visual indicator without requiring users to read every number.

Privacy and Local Storage

The entire matrix state — criteria, options, scores, notes, and settings — is automatically saved to your browser's localStorage after every change. No data is sent to any server. You can export the matrix as CSV for external use or sharing. Presets let you save and restore different matrix configurations.

常见问题

A decision matrix (also called a Pugh matrix, criteria matrix, or weighted scoring model) is a structured tool for comparing multiple options against defined criteria. You list your options as columns, your evaluation criteria as rows, assign importance weights to each criterion, and score how well each option meets each criterion. The tool calculates a weighted final score so you can objectively identify the best option. Decision matrices are widely used in engineering, product management, real estate, hiring, and personal decisions like choosing a car or apartment.

相关工具