← All templates

评测矩阵 <ScoreMatrix />

行是评测、列是模型,每格一个分数和一条按本行最高分缩放的细条;重点模型整列着色,每行最高分后面有一个圆点。逐行出现。

Template and style descriptions are currently available in Chinese only.

See it in the demo deck →

Group
AI · 多个模型 × 多项评测
Component
ScoreMatrix · #score-matrix
Interaction
每按一次 → 出现一行

Good for

  • 模型卡、技术报告里的对比表
  • 同一组模型在 3–7 项评测上的高低

Avoid when

  • 只比两个模型:用 Dumbbell 或 DeltaBars
  • 分数口径不同(子集、不同指标)却放在一行:先拆开或记为 —

Content limits

1models 3–7 个,每个 ≤ 10 个字符
2rows 3–7 行,name ≤ 16 个字符,metric ≤ 10 个字符
3默认 1 位小数,可按行设 decimals
4分数必须来自官方表格,source 里写明“自测”或评测方

Fields

FieldType
kicker · requiredstring标题上方的小节名,2–8 字
title · requiredstring | string[]页面标题;传数组可手动断行,每项一行
leadstring一到两句导语,≤ 60 字
sourcestring事实出处;页面上有任何数据或事实时必填
hintReactNode页眉中间的操作提示,可用 <kbd>
models · requiredstring[]列名
focus · requirednumber重点列序号
rows · required{ name, metric?, values: (number | null)[], decimals? }[]每行一项评测,null 显示为 —
decimalsnumber默认小数位

Example

<ScoreMatrix kicker="成绩" title="智能体任务" models={['A', 'B', 'C']} focus={2} rows={[{ name: 'Terminal-Bench 2.1', metric: 'Pass@1', values: [89.1, 88.8, 90.6] }]} />