/** Retrieved-standards citations with prominent SYNTHETIC_EXAMPLE badges. */ import Box from '@mui/material/Box'; import Chip from '@mui/material/Chip'; import Paper from '@mui/material/Paper'; import Typography from '@mui/material/Typography'; import type { RetrievedStandard } from '../../types/retro'; import { TIER_META } from './tierTheme'; export default function StandardsPanel({ standards }: { standards: RetrievedStandard[] }) { if (!standards.length) { return ( No requirements retrieved — by the hard rule, nothing is cited. ); } const color = TIER_META.TIER3_RETRIEVED.color; return ( Every citation below is backed by an audited retrieval hit (no citation without retrieval). Synthetic demonstration rules are labeled; SOTIF entries are concept paraphrases, never standard text. {standards.map((s) => ( {s.document} v{s.version} “{s.retrieved_text.length > 380 ? `${s.retrieved_text.slice(0, 380)}…` : s.retrieved_text}” {s.doc_id} · {s.doc_type} · {s.source} · {s.jurisdiction} · effective {s.effective_date} · chunk {s.chunk_id} ))} ); }