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).
148 lines
4.1 KiB
HTML
148 lines
4.1 KiB
HTML
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title>LIBRAI Fact-Checking App</title>
|
|
<!-- <link rel="stylesheet" type="text/css" href="styles.css"> -->
|
|
<style>
|
|
body {
|
|
font-family: 'Arial', sans-serif;
|
|
margin: 0;
|
|
padding: 0;
|
|
/* display: flex; */
|
|
flex-direction: column;
|
|
justify-content: space-between;
|
|
align-items: baseline;
|
|
height: 100vh;
|
|
/* background: #f4f4f4; */
|
|
background: #fff;
|
|
}
|
|
|
|
header {
|
|
width: 100%;
|
|
height: 60px;
|
|
background-color: #fff;
|
|
display: flex;
|
|
flex-direction: column;
|
|
justify-content: center;
|
|
border: #e5e5e5 solid 2px;
|
|
}
|
|
|
|
header img {
|
|
margin-left: 50px;
|
|
width: 130px;
|
|
}
|
|
|
|
.fact-check {
|
|
/* display: flex; */
|
|
padding: 5% 0;
|
|
width: 90%;
|
|
/* justify-content: space-between; */
|
|
align-items: center;
|
|
/* border-top: 2px solid #ccc; */
|
|
/* padding-top: 10%; */
|
|
}
|
|
|
|
.fact-check label {
|
|
margin-left: 10%;
|
|
font-size: 20px;
|
|
}
|
|
|
|
.fact-check textarea {
|
|
margin: 20px 0;
|
|
width: 90%;
|
|
height: 100%;
|
|
margin-left: 10%;
|
|
border-radius: 10px;
|
|
font-size: 15px;
|
|
border-color: #a9bee3;
|
|
}
|
|
|
|
.fact-check button {
|
|
margin-left: 80%;
|
|
width: 20%;
|
|
padding: 10px 20px;
|
|
background-color: #4871b7;
|
|
border: none;
|
|
border-radius: 4px;
|
|
color: white;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.fact-check button:hover {
|
|
background-color: #a9bee3;
|
|
}
|
|
|
|
footer {
|
|
padding: 10px;
|
|
width: 100%;
|
|
color: #333;
|
|
background-color: #fbfbfb;
|
|
text-align: center;
|
|
position: fixed;
|
|
bottom: 0;
|
|
border: #a9bee3 solid 2px;
|
|
}
|
|
|
|
#timer {
|
|
margin-left: 80%;
|
|
width: 18%;
|
|
padding: 10px 20px;
|
|
border: none;
|
|
border-radius: 4px;
|
|
}
|
|
</style>
|
|
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.5.1/jquery.min.js"></script>
|
|
<script>
|
|
$(document).ready(function(){
|
|
$('#Button').click(function(event){
|
|
// Prevent the default form submission momentarily
|
|
// event.preventDefault();
|
|
|
|
// Submit the form
|
|
$(this).closest('form').submit();
|
|
|
|
// Disable the button
|
|
$(this).prop('disabled', true);
|
|
|
|
// Start an elapsed time timer
|
|
var timeElapsed = 0;
|
|
$('#timer').text('Time elapsed: ' + timeElapsed + ' seconds');
|
|
var timerId = setInterval(function(){
|
|
timeElapsed++;
|
|
$('#timer').text('Time elapsed: ' + timeElapsed + ' seconds');
|
|
}, 1000);
|
|
|
|
});
|
|
});
|
|
</script>
|
|
</head>
|
|
|
|
<body>
|
|
<header>
|
|
<a href="https://www.librai.tech">
|
|
<!-- <img alt="LibrAI Logo" src="https://aip.librai.tech/assets/logo_with_text.9bc473c7.png" alt="LibrAI Logo"
|
|
width="200px"> -->
|
|
<img alt="LibrAI Logo" src="assets/librai_librai.png" alt="LibrAI Logo" width="200px">
|
|
</a>
|
|
</header>
|
|
|
|
<main class="fact-check">
|
|
<form method="post" action="/">
|
|
<label for="response">Please enter the model's response:</label><br>
|
|
<textarea id="response" name="response" rows="4" cols="50"
|
|
placeholder="Enter fact to check..."></textarea><br>
|
|
<button id="Button" type="submit">Submit</button>
|
|
</form>
|
|
<p id="timer"></p>
|
|
</main>
|
|
|
|
<footer>
|
|
<p>© LibrAI. All rights reserved</p>
|
|
</footer>
|
|
</body>
|
|
|
|
</html>
|