import Link from "next/link"; import { ArrowUpRight } from "lucide-react"; import type { DatasetInfo } from "@/lib/types"; export interface DatasetScopeProps { dataset: DatasetInfo; } /** * Scope bar pinned under the model header: MedASR Bench is a multi-dataset * hub, so every number on a model page is measured on exactly ONE dataset. * Today that is the anchor (ViMedCSS); when a second dataset goes live this * bar is the natural home for a dataset switcher. */ export default function DatasetScope({ dataset }: DatasetScopeProps) { const stats = [ typeof dataset.hours === "number" ? `${dataset.hours} h` : null, typeof dataset.utterances === "number" ? `${dataset.utterances.toLocaleString("en-US")} utts` : null, typeof dataset.csTerms === "number" ? `${dataset.csTerms} CS terms` : null, ].filter((s): s is string => s !== null); return (