Builds PaperTrail from the base skeleton into a full evidence-verification platform for the "Built with Claude: Life Sciences" hackathon (Builder Track). New named-user features (Build Beyond the Bench): - Lab Notebook Companion — rough bench notes -> structured, searchable, grounded experiment records (lib/labNotebook, /console/lab-notebook, migration 0059) - Clinical Trial Matcher — de-identified patient notes -> ranked eligible ClinicalTrials.gov trials with per-criterion inclusion/exclusion reasoning (lib/trialMatcher, /console/trial-matcher, migrations 0060) Platform: - Deterministic verification moat (biostats recompute, exact-span grounding) - 11 biomedical evidence engines (FAERS, GWAS, Open Targets, ChEMBL, ClinVar, PharmGKB, PubTator, DDI, repurposing, biomarker, unified verifier) - Evidence Intelligence (KG, dossier, provenance/export, RWE) + enterprise governance (RBAC, /api/v1 gateway, metering, audit chain, retention) - 17 OSS projects assimilated into native TypeScript on our stack (backend/engines retained + credited in NOTICE) - Multi-format upload (PDF/DOCX/XLSX/CSV/MD/TXT), logo, marketing site - Next.js 16 upgrade, benchmark harness (honest smoke-test caveat) Licensing: Apache-2.0 (LICENSE + NOTICE).
54 lines
2.0 KiB
HTML
54 lines
2.0 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>Enhancing Claims</title>
|
|
<link rel="stylesheet" href="{{ url_for('static', filename='styles.css') }}">
|
|
</head>
|
|
<body>
|
|
<div class="container">
|
|
<h1>Enhancing Claims</h1>
|
|
<div id="progressContainer">
|
|
<h2>Progress</h2>
|
|
<div id="progressStats"></div>
|
|
<div id="progressBar"></div>
|
|
</div>
|
|
</div>
|
|
<script>
|
|
const batchId = '{{ batch_id }}';
|
|
|
|
function updateProgress() {
|
|
fetch(`/api/v1/enhance-batch/${batchId}/progress`)
|
|
.then(response => response.json())
|
|
.then(data => {
|
|
const progress = (data.processed_claims / data.total_claims) * 100;
|
|
|
|
document.getElementById('progressStats').innerHTML = `
|
|
<p>Processed ${data.processed_claims} out of ${data.total_claims} claims</p>
|
|
<p>${progress.toFixed(2)}% complete</p>
|
|
`;
|
|
|
|
document.getElementById('progressBar').innerHTML = `
|
|
<progress value="${data.processed_claims}" max="${data.total_claims}"></progress>
|
|
`;
|
|
|
|
if (data.status === 'completed') {
|
|
setTimeout(() => {
|
|
window.location.href = `/enhance-results?batch_id=${batchId}`;
|
|
}, 2000);
|
|
} else {
|
|
setTimeout(updateProgress, 5000);
|
|
}
|
|
})
|
|
.catch(error => {
|
|
console.error('Error fetching progress:', error);
|
|
document.getElementById('progressStats').innerHTML = '<p>Error fetching progress. Please wait...</p>';
|
|
setTimeout(updateProgress, 5000);
|
|
});
|
|
}
|
|
|
|
updateProgress();
|
|
</script>
|
|
</body>
|
|
</html> |