commit 9120b36fa6bb57482b2691ca494a03b8d266d8b0
parent 10d037e6ee747ffe4d2c8d725b8a8e46ebf5e596
Author: Brian Graham <brian@buildingbetterteams.de>
Date: Sat, 4 Apr 2026 10:25:57 +0200
Fix grid table column order: Pass between Score and Cost
Headers now match data cell order:
Run ID | Task | Model | Effort | Prompt | Lang | Score | Pass | Cost | Time | Turns
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Diffstat:
1 file changed, 16 insertions(+), 1 deletion(-)
diff --git a/dashboard/src/components/Grid.tsx b/dashboard/src/components/Grid.tsx
@@ -107,7 +107,7 @@ export default function Grid({ runs, axisValues, tasks }: GridProps) {
<thead>
<tr>
<th>Run ID</th>
- {(["task", "model", "effort", "prompt", "lang", "score", "cost", "time", "turns"] as SortKey[]).map((key) => {
+ {(["task", "model", "effort", "prompt", "lang", "score"] as SortKey[]).map((key) => {
const labels: Record<SortKey, string> = {
task: "Task", model: "Model", effort: "Effort", prompt: "Prompt",
lang: "Lang", score: "Score", cost: "Cost", time: "Time", turns: "Turns",
@@ -123,6 +123,21 @@ export default function Grid({ runs, axisValues, tasks }: GridProps) {
);
})}
<th>Pass</th>
+ {(["cost", "time", "turns"] as SortKey[]).map((key) => {
+ const labels: Record<SortKey, string> = {
+ task: "Task", model: "Model", effort: "Effort", prompt: "Prompt",
+ lang: "Lang", score: "Score", cost: "Cost", time: "Time", turns: "Turns",
+ };
+ return (
+ <th
+ key={key}
+ onClick={() => handleSort(key)}
+ style={{ cursor: "pointer", userSelect: "none" }}
+ >
+ {labels[key]} {sortKey === key ? (sortAsc ? "\u25B2" : "\u25BC") : ""}
+ </th>
+ );
+ })}
</tr>
</thead>
<tbody>