Multi-tenant platform (182 pages, 228 API routes, ~30 modules) built on a deterministic verification core: clinical-trial claims checked against ClinicalTrials.gov registered results and raw event counts (ARR/NNT/RR+CI recomputed in code, oracle-tested), code-enforced exact-span grounding, and multi-source cross-verification. Auth/RBAC/multi-tenancy, document processing at scale (unpdf + Docling), agentic workflows, Claude Science connector, compliance/audit, billing, public API, and more. Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
33 lines
817 B
TypeScript
33 lines
817 B
TypeScript
"use client";
|
|
|
|
interface RangeOption {
|
|
label: string;
|
|
days: number;
|
|
}
|
|
|
|
interface RangeSelectProps {
|
|
options: RangeOption[];
|
|
value: number;
|
|
onChange: (days: number) => void;
|
|
}
|
|
|
|
// Labeled range dropdown for the verification-trends sub-page.
|
|
export function RangeSelect({ options, value, onChange }: RangeSelectProps) {
|
|
return (
|
|
<label className="flex flex-col gap-1 text-xs text-ink/60">
|
|
Range
|
|
<select
|
|
value={value}
|
|
onChange={(e) => onChange(Number(e.target.value))}
|
|
className="rounded-md border border-ink/10 bg-white px-2 py-1.5 text-sm text-ink/80 focus:border-accent focus:outline-none"
|
|
>
|
|
{options.map((o) => (
|
|
<option key={o.days} value={o.days}>
|
|
{o.label}
|
|
</option>
|
|
))}
|
|
</select>
|
|
</label>
|
|
);
|
|
}
|