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>
49 lines
1.3 KiB
TypeScript
49 lines
1.3 KiB
TypeScript
interface BatchLoadingProps {
|
|
count: number;
|
|
}
|
|
|
|
export function BatchLoading({ count }: BatchLoadingProps) {
|
|
return (
|
|
<div className="mt-6 max-w-2xl rounded-lg border border-ink/10 bg-white p-4 text-sm text-ink/60">
|
|
Verifying up to {count} claim
|
|
{count === 1 ? "" : "s"} sequentially against their
|
|
primary sources. This can take a moment per claim.
|
|
</div>
|
|
);
|
|
}
|
|
|
|
interface BatchErrorProps {
|
|
message: string;
|
|
}
|
|
|
|
export function BatchError({ message }: BatchErrorProps) {
|
|
return (
|
|
<div className="mt-6 max-w-2xl rounded-lg border border-red-300 bg-red-50 p-4 text-sm text-red-800">
|
|
{message}
|
|
</div>
|
|
);
|
|
}
|
|
|
|
interface TruncatedNoticeProps {
|
|
totalDetected: number;
|
|
maxBatch: number;
|
|
}
|
|
|
|
export function TruncatedNotice({ totalDetected, maxBatch }: TruncatedNoticeProps) {
|
|
return (
|
|
<div className="mb-4 rounded-lg border border-amber-300 bg-amber-50 p-3 text-sm text-amber-900">
|
|
Detected {totalDetected} claims but only the first {maxBatch} were checked to
|
|
keep this run fast and inexpensive. Split the remaining text into another batch
|
|
to verify the rest.
|
|
</div>
|
|
);
|
|
}
|
|
|
|
export function BatchEmpty() {
|
|
return (
|
|
<div className="rounded-lg border border-ink/10 bg-white p-4 text-sm text-ink/60">
|
|
No verifiable claims were returned for this passage.
|
|
</div>
|
|
);
|
|
}
|