The only tool you need to know what is happening and how to fix it.
Go alertingexception-trackerissue-trackinglogsmetricsmonitoringobservability-platformopen-telemetryotelsession-replaytelemetrytraces
minor ui improvements
narrow-adventure752d21395dcf
diff --git a/website/app/benchmarks/page.tsx b/website/app/benchmarks/page.tsxindex 325fef49..b52acc8c 100644--- a/website/app/benchmarks/page.tsx+++ b/website/app/benchmarks/page.tsx@@ -527,6 +527,7 @@ export default function BenchmarksPage() {models={byPass.map((m) => ({key: m.key,label: m.label,+ short: m.short,note: m.weights === "open" ? "open weights" : m.vendor,}))}rows={comparisonRows}@@ -1129,8 +1130,8 @@ function Th({ children }: { children: React.ReactNode }) {return (<thscope="col"- className="px-5 py-3.5 align-bottom font-mono text-[0.6875rem] font-medium uppercase tracking-[0.1em] text-fg-3"- style={{ borderBottom: "1px solid var(--hair-2)" }}+ className="sticky left-0 z-10 px-5 py-3.5 align-bottom font-mono text-[0.6875rem] font-medium uppercase tracking-[0.1em] text-fg-3"+ style={{ borderBottom: "1px solid var(--hair-2)", background: "var(--ink-0)" }}>{children}</th>@@ -1168,7 +1169,11 @@ function RowHead({description?: string;}) {return (- <th scope="row" className="min-w-[190px] px-5 py-4 align-top font-normal">+ <th+ scope="row"+ className="sticky left-0 z-10 min-w-[190px] px-5 py-4 align-top font-normal"+ style={{ background: "var(--ink-0)" }}+ ><span className="block text-[0.9375rem] font-semibold text-fg-0">{title}</span>@@ -1197,7 +1202,7 @@ function SubheadRow({ label, span }: { label: string; span: number }) {colSpan={span}className="px-5 pt-5 pb-1 font-mono text-[0.6875rem] font-medium uppercase tracking-[0.14em] text-fg-3">- {label}+ <span className="sticky left-5 inline-block">{label}</span></th></tr>);@@ -1318,7 +1323,11 @@ function DeltaRow({function MetricRow({ label, values }: { label: string; values: string[] }) {return (<tr style={{ borderTop: "1px solid var(--hair)" }}>- <th scope="row" className="min-w-[190px] px-5 py-3.5 text-[0.9375rem] font-normal text-fg-1">+ <th+ scope="row"+ className="sticky left-0 z-10 min-w-[190px] px-5 py-3.5 text-[0.9375rem] font-normal text-fg-1"+ style={{ background: "var(--ink-0)" }}+ >{label}</th>{values.map((v, i) => (diff --git a/website/components/benchmark-comparison-table.tsx b/website/components/benchmark-comparison-table.tsxindex 648f5895..8d5e3dae 100644--- a/website/components/benchmark-comparison-table.tsx+++ b/website/components/benchmark-comparison-table.tsx@@ -15,7 +15,7 @@ export type ComparisonRow = {values: Record<ModelKey, ComparisonValue[]>;};-export type ComparisonModel = { key: ModelKey; label: string; note: string };+export type ComparisonModel = { key: ModelKey; label: string; short: string; note: string };function bestOf(row: ComparisonRow, models: ComparisonModel[], i: number) {const vs = models.map((m) => row.values[m.key][i].value);@@ -31,12 +31,14 @@ export function BenchmarkComparisonTable({}) {const featured = models[0].key;const outline = "color-mix(in oklab, var(--a1) 70%, transparent)";+ // Past five models the full names no longer fit side by side.+ const compact = models.length > 5;return (<div className="overflow-x-auto"><tableclassName="w-full border-separate text-left"- style={{ borderSpacing: 0, minWidth: 200 + models.length * 120 }}+ style={{ borderSpacing: 0, minWidth: 200 + models.length * (compact ? 96 : 120) }}><thead><tr>@@ -61,13 +63,16 @@ export function BenchmarkComparisonTable({: undefined}>- <span className="inline-flex items-center gap-2 text-[0.9375rem] font-medium text-fg-0 md:text-[1.0625rem]">+ <span+ className="inline-flex items-center gap-2 text-[0.9375rem] font-medium whitespace-nowrap text-fg-0 md:text-[1.0625rem]"+ title={m.label}+ ><spanaria-hiddenclassName="inline-block h-2.5 w-2.5 rounded-full"style={{ background: MODEL_COLOR[m.key] }}/>- {m.label}+ {compact ? m.short : m.label}</span><span className="block font-mono text-[0.6875rem] text-fg-3">{m.note}diff --git a/website/components/benchmark-cost-chart.tsx b/website/components/benchmark-cost-chart.tsxindex 9e316e35..45059622 100644--- a/website/components/benchmark-cost-chart.tsx+++ b/website/components/benchmark-cost-chart.tsx@@ -71,6 +71,31 @@ export function BenchmarkCostChart({];const activePoint = points.find((p) => p.id === active) ?? null;+ // Direct labels for the all-runs dots, pushed apart so none covers another.+ const LABEL_H = 15;+ const labelText = (p: CostPoint) =>+ `${width < 560 ? p.modelShort : p.modelLabel} · ${rate(p.pass, p.runs)}%`;+ const placed: { id: string; x0: number; x1: number; y: number }[] = [];+ const labels = new Map<string, { x: number; y: number; anchor: "start" | "end" }>();+ for (const p of [...points.filter((p) => p.overall)].sort(+ (a, b) => y((100 * a.pass) / a.runs) - y((100 * b.pass) / b.runs),+ )) {+ const cx = x(p.costPerRunUsd);+ const cy = y((100 * p.pass) / p.runs);+ const w = labelText(p).length * 6.6;+ const left = cx > MARGIN.left + plotW * 0.62;+ const x0 = left ? cx - 14 - w : cx + 14;+ const x1 = x0 + w;+ let ly = cy;+ for (let guard = 0; guard < 20; guard++) {+ const hit = placed.find((q) => q.x0 < x1 && x0 < q.x1 && Math.abs(q.y - ly) < LABEL_H);+ if (!hit) break;+ ly = hit.y + LABEL_H;+ }+ placed.push({ id: p.id, x0, x1, y: ly });+ labels.set(p.id, { x: left ? cx - 14 : cx + 14, y: ly, anchor: left ? "end" : "start" });+ }+return (<div><div className="flex flex-wrap items-center gap-x-5 gap-y-2 text-[0.8125rem] text-fg-1">@@ -180,19 +205,33 @@ export function BenchmarkCostChart({stroke="var(--ink-0)"strokeWidth={2}/>- {p.overall ? (- <text- x={labelLeft ? cx - 14 : cx + 14}- y={cy}- dy="0.32em"- textAnchor={labelLeft ? "end" : "start"}- fontSize={12}- fill="var(--fg-0)"- fontWeight={600}- >- {width < 560 ? p.modelShort : p.modelLabel} ·{" "}- {rate(p.pass, p.runs)}%- </text>+ {p.overall && labels.get(p.id) ? (+ <>+ {Math.abs(labels.get(p.id)!.y - cy) > 6 ? (+ <line+ x1={cx}+ y1={cy}+ x2={labels.get(p.id)!.x + (labelLeft ? 4 : -4)}+ y2={labels.get(p.id)!.y}+ stroke="var(--fg-3)"+ strokeWidth={1}+ />+ ) : null}+ <text+ x={labels.get(p.id)!.x}+ y={labels.get(p.id)!.y}+ dy="0.32em"+ textAnchor={labels.get(p.id)!.anchor}+ fontSize={12}+ fill="var(--fg-0)"+ fontWeight={600}+ stroke="var(--ink-0)"+ strokeWidth={3}+ paintOrder="stroke"+ >+ {labelText(p)}+ </text>+ </>) : null}<circlecx={cx}