caelum0x 695a365ae4 feat: PaperTrail — enterprise evidence-verification platform
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>
2026-07-08 07:21:22 +03:00

43 lines
1.3 KiB
TypeScript

// Candidate-import panel: paste one record title per line. State owned by page.
interface ImportPanelProps {
text: string;
onTextChange: (value: string) => void;
onImport: () => void;
importing: boolean;
message: string | null;
}
export function ImportPanel({
text,
onTextChange,
onImport,
importing,
message,
}: ImportPanelProps) {
return (
<div className="mt-4 rounded-lg border border-ink/15 bg-white p-6">
<h2 className="text-sm font-medium text-ink/70">Import candidates</h2>
<p className="mt-1 text-sm text-ink/40">
Paste one record title per line. They enter the queue as pending (manual
source).
</p>
<textarea
value={text}
onChange={(e) => onTextChange(e.target.value)}
rows={5}
placeholder={"Effect of drug X on outcome Y: a randomized trial\n..."}
className="mt-3 w-full rounded-md border border-ink/15 bg-white p-3 text-sm text-ink/80 focus:border-accent focus:outline-none"
/>
{message ? <p className="mt-2 text-sm text-ink/60">{message}</p> : null}
<button
onClick={onImport}
disabled={importing}
className="mt-3 rounded-md bg-accent px-4 py-2 text-sm font-medium text-white disabled:opacity-50"
>
{importing ? "Importing..." : "Import"}
</button>
</div>
);
}