Repository navigation
-
Add the integrated BioCuration-Bench evaluation harness (
evaluation/biocuration_bench/),
sealing 90 synthetic items across provenance, semantic fidelity, and curation policy tracks
with four offline reference baselines (full_trust_stackYouden's J = 0.933, 95.6% defect
recall, 97.8% clean specificity, 4.8% hallucination leakage vs 100% naive accept) and a
static leaderboard published via MkDocs (leaderboard/). -
Add the ACMG/AMP evidence-grounded clinical variant triage showcase (
examples/acmg_triage/),
evaluating 15 ACMG/AMP rules with Richards and Tavtigian Bayesian point scoring while
routing every literature criterion through EvidPort andBEV027semantic support
(28-case synthetic hearing-loss and cardiomyopathy benchmark: accuracy 22/28 → 28/28,
false pathogenic/likely pathogenic calls 6/6 → 0/6). -
Add opt-in
--semantic-supportto validation and the local EvidPort MCP consumer (#31).
Verified supporting quotes get structured checks for direction, negation, scope and
numeric agreement. BEV027 routes uncertain or conflicting evidence to review.
Python callers can supply an evaluator for inconclusive wording. -
Add the ClinGen-style
gene-disease-validitycommunity profile (#8), covering seven
classifications with synthetic cases for research summaries and a human-reviewed catalog. -
Add the opt-in
--accept-independent-readingroute tobioevidence validate --evidence-libraryand to the
EvidPort MCP consumer. A quotation that EvidPort admits because the PDF text layer and an independent OCR
reading of the same page region agree can pass without a recorded human review. The validator recomputes
this from the read-only library, reportsadmission_routefor every check, never labels it human review,
and keeps a recorded rejection or revocation blocking. Without the option nothing is admitted on this route:
through the MCP consumer such a quotation staysreview_requiredand is marked
server_route_not_accepted. The pinned EvidPort revision moves to the one that provides the route. -
Preserve virtual-environment Python launchers for local MCP subprocesses on Linux, including PATH and configuration-relative commands.
-
Explicitly exclude local execution materials from distribution packages and check archive contents in CI.
-
Add a public-tree CI check for private documents, local evidence artifacts and
personal workstation paths, while retaining strict MkDocs checks for generated
documentation links. -
Use the operating system's temporary directory for benchmark CLI calls and
preserve spaces and shell characters in WSL paths and model arguments. Temporary
prompts and schemas are removed after success or failure; frozen benchmark
inputs and results are unchanged. -
Add the optional EvidPort MCP consumer (
python -m bioevidence_validator.evidence_mcp).
Exact source, version, page/region, quotation and review state are independently checked
against the local library. Malformed responses, forged approvals and source mismatches
cannot bypass the existing review gate. DOI acquisition and manual PDF intake remain
in EvidPort; actual configuration and source documents stay outside the public repo. -
Add model reviewers for the blinded ClinVar review packet (#17, #22).
model_reviewers.pygives the six benchmark
models exactly what experts get, one isolated session per case, with tools disabled or detected, stops a model
whose account is out of quota, and lets Claude run on a different install than Codex and Antigravity. All six
reviewed all 190 cases with no tool use.analyze_models.pyreports inter-model agreement now (alpha 0.49–0.53
for the clinical and expert uses: the models often split), and, once the expert labels exist, scores per subset,
error correlation, whether unanimous models are right, and a decision rule fixed before any label. Per-case model
labels stay private until the expert review is complete; the published summary holds only what cannot unblind a
reviewer. -
Add the real extraction experiment (#21,
examples/civic_extraction,evaluation/llm_benchmark/extraction_loop.py).
Six models extract clinical evidence claims on their own from 50 openly licensed papers that CIViC curated (10
pilot, 40 test; protocol frozen before the test split). Each claim, written in the fields ofdraft-schema,
goes through build, rules, grounding (the pinned paper, HGNC, the Disease Ontology), feedback, and an independent
model review. Test split: 198 of 714 first versions had a wrong identifier, name or quote (3% for Claude Opus
5.5, 48% for Claude Haiku 4.5); with feedback 663 claims were admitted instead of 489, none with such an error.
A seeded 60-claim sample with a labelling kit for the error taxonomy awaits experts. -
Ontology hints offer names containing all the label's words before similar spellings, and gene findings name
the identifier of the symbol cited, so feedback points at the right term (both found in the extraction pilot). -
The model harness stops a model whose account is out of quota instead of recording failed episodes, and can
run Claude through either Claude Code install (--claude-host). -
Add audit sampling (
audit;bioevidence review audit-sampleandaudit-score, #24). A seeded random
sample of auto-admitted records, sized from a target (--target 0.01audits 299 records: no error found
bounds the rate below 1% at 95%), with blind controls from the other routes and a manifest kept from the
auditors. Scoring reports each route's share of records, error rate with Wilson and exact one-sided
(Clopper–Pearson) bounds, and share of expert time fromminutes_spent. -
Add the routing evidence (
evaluation/llm_benchmark/risk_signals.py): whether each signal that sends a
record to a person predicts a wrong answer. BEV004, the only one on by default, is shown on every split
(82% vs 33% wrong on the single-cell held-out split); the opt-in signals BEV022, BEV025 and BEV026 are not. -
Add an audit dry run on the single-cell held-out results with the authors' labels as a stand-in auditor:
14 errors in 59 sampled auto-admitted records, below 34.6% at 95%; the census rate, 19.6%, lies inside.
tools/reproduce.pynow runs 20 steps. -
Add the validation dossier (
docs/VALIDATION_DOSSIER.md), structured after the seven steps of FDA's
draft AI credibility framework: question of interest, context of use, model risk, credibility plan,
execution, results with deviations, and adequacy. Identifier and citation integrity of admitted records
is established (0 of 721); semantic correctness is not, pending an expert audit. -
Add
tools/reproduce.py: one command regenerates every committed benchmark table, summary and figure
offline (18 steps, about three minutes) and compares each with the repository; CI runs it on every
change. It caught the ClinVar and VBO figures still captioned v0.7.0 after the release, now fixed. -
Add the funnel figure (
docs/assets/ai_validation_funnel.svg): single-cell held-out answers, stage
by stage, from the first check through feedback to what was admitted and how it compares with the
authors' terms. Cell-type summaries now record these stages.