'use client'; import { AgentStreamPanel } from './agent-stream-panel'; import { AlertTriangle, CheckCircle2, CircleDashed } from 'lucide-react'; interface CriterionScore { criterion_id: string; name: string; score: number; evidence: string; } interface RubricScore { rubric_id: string; artifact_id: string; competency_id: string; scores: CriterionScore[]; strengths: string[]; gaps: string[]; verdict: string; } /** * Assessment surface — Assessor rubric output (structured JSON) + * Proctor integrity banner. Mock engine inputs; real engines v0.3+. */ export function AssessorResultsPanel({ artifactId }: { artifactId: string }) { return ( { const score = data as unknown as RubricScore; return (
{score.verdict === 'mastered' ? ( ) : score.verdict === 'developing' ? ( ) : ( )} {score.verdict}
{score.scores.map((c) => (
{c.name} {c.score}/100

{c.evidence}

))}

Strengths

    {score.strengths.map((s) => (
  • {s}
  • ))}

Gaps

    {score.gaps.map((g) => (
  • {g}
  • ))}
); }} /> ); }