+ |
+
+ {r.repeat > 0 && {R.repeat(r.repeat)} }
+ {r.arm && {T.run.arm(r.arm)} }
+ |
+
+ {r.question ?? '—'}
+ {r.path && {R.path}:{T.path[r.path]} }
+ |
+
+
+ {r.traced && {T.outcome.traced} }
+ |
+
+ {counted.length ? counted.map((s) => (
+
+ {s.expected !== undefined && {cellText(s.expected)}}
+ {s.got !== undefined && → {cellText(s.got)}}
+ {scoreText(s)}
+ {s.weak && {R.weak}}
+
+ )) : —}
+ |
+
+ {r.sql_match ? (
+
+ {T.sqlMatch[r.sql_match.status] ?? r.sql_match.status}
+ {!!r.sql_match.aspects?.length && {r.sql_match.aspects.map((x) => T.aspect[x] ?? x).join('、')}}
+
+ ) : —}
+ |
+
+ {r.looks ? R.looksCell(r.looks.model ?? 0, r.looks.system ?? 0) : '—'}
+ |
+ {formatDuration(r.timings.total_ms ?? null)} |
+ {r.status === 'ok' ? cost : '—'} |
+
+ {expanded && (
+
+ |
+ {r.error && {R.reason}:{r.error} }
+ {r.scores.map((s) => (
+
+ {T.expectation.kind[s.kind]}{s.label ? `「${s.label}」` : ''}:
+ {scoreText(s)}
+ {s.key && ({Object.entries(s.key).map(([k, v]) => `${k}=${cellText(v)}`).join('、')})}
+ {s.reason && · {s.reason}}
+
+ ))}
+ {r.sql_match?.reason && {r.sql_match.reason} }
+
+
+ {r.run_id && {T.run.openRun}}
+ {r.gold_run_ids.slice(0, 2).map((g) => (
+ {T.run.goldRuns} {shortId(g)}
+ ))}
+
+ |
+
+ )}
+