From e84ca44c656567c18b841b2c9c123aeeb674d1ad Mon Sep 17 00:00:00 2001 From: Tejas Polakam Date: Thu, 29 Oct 2026 12:30:47 -0700 Subject: [PATCH] fix(explorer): label each verifier's results and show check descriptions and penalties The verifier tab's generic panel (verifiers that are not rubric, sandbox or aggregate shaped, such as env_outcome_verifier) now shows each verifier's id in its summary row, falls back to a check's `description` when it has no `message`, and marks a check with a negative `weight` as a penalty. Co-Authored-By: Claude Opus 5.5 --- .../src/components/task-instance-viewer.tsx | 19 ++++++++++++++++--- 1 file changed, 16 insertions(+), 3 deletions(-) diff --git a/src/agent_env/explorer/ui/src/components/task-instance-viewer.tsx b/src/agent_env/explorer/ui/src/components/task-instance-viewer.tsx index 17d435de0..25e68849d 100644 --- a/src/agent_env/explorer/ui/src/components/task-instance-viewer.tsx +++ b/src/agent_env/explorer/ui/src/components/task-instance-viewer.tsx @@ -490,7 +490,9 @@ export function TaskInstanceViewer({ id: string; score: number; result: boolean; - message: string; + message?: string; + description?: string; + weight?: number; title?: string; justification?: string; }[]; @@ -1084,6 +1086,9 @@ export function TaskInstanceViewer({ > Score: {(v.score * 100).toFixed(0)}% + + {verifierId} + {results.map((r, i) => ( @@ -1107,6 +1112,14 @@ export function TaskInstanceViewer({ {(r.id ?? `check ${i + 1}`).replace(/_/g, ' ')} + {typeof r.weight === 'number' && r.weight < 0 && ( + + penalty −{Math.abs(r.weight)} + + )} {typeof r.score === 'number' && r.score !== 0 && r.score !== 1 && ( score:{' '} @@ -1116,9 +1129,9 @@ export function TaskInstanceViewer({ )} - {r.message ? ( + {(r.message ?? r.description) ? (

- {r.message} + {r.message ?? r.description}

) : null}