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).
51 lines
1.6 KiB
YAML
51 lines
1.6 KiB
YAML
name: Test ASReview webapp (integration)
|
|
on: [push, pull_request]
|
|
permissions:
|
|
contents: read
|
|
jobs:
|
|
selenium-tests:
|
|
runs-on: ubuntu-latest
|
|
strategy:
|
|
matrix:
|
|
browser: # must be valid values that can be passed to pytest's --driver option
|
|
- 'chrome'
|
|
reverse_proxy: # whether to test with a reverse proxy in front of asreview
|
|
- false
|
|
# - true
|
|
post_logout_url: #
|
|
- '' # default is /signin
|
|
# - /custom_logout_page
|
|
steps:
|
|
- uses: actions/checkout@v4
|
|
with:
|
|
submodules: recursive
|
|
fetch-depth: 0
|
|
fetch-tags: true
|
|
- uses: actions/setup-python@v5
|
|
with:
|
|
python-version: "3.13"
|
|
- uses: actions/setup-node@v3
|
|
with:
|
|
node-version: "20"
|
|
cache: "npm"
|
|
cache-dependency-path: "asreview/webapp/package-lock.json"
|
|
- uses: nanasess/setup-chromedriver@v2
|
|
if: matrix.browser == 'chrome'
|
|
- name: Install requirements
|
|
run: pip3 install .[test] setuptools gunicorn
|
|
- name: Compile assets
|
|
run: python setup.py compile_assets
|
|
- name: Install ASReview from source
|
|
run: |
|
|
pip3 install .
|
|
- name: Run chromedriver
|
|
if: matrix.browser == 'chrome'
|
|
run: |
|
|
export DISPLAY=:99
|
|
chromedriver --url-base=/wd/hub &
|
|
- name: Run tests
|
|
run: |
|
|
export TEST_REVERSE_PROXY="${{ matrix.reverse_proxy }}"
|
|
export DRIVER="${{ matrix.browser }}"
|
|
asreview/webapp/tests/integration_tests/run_tests.sh
|