Spaces:
Paused
Paused
Commit History
-
Cache triage context and enrich EHR profiles
Andrew Lanouette46df842 -
Replace demo patients and enable editable testimony
Andrew Lanouette7f39c24 -
Remove unsupported chatbot type argument
Andrew Lanouettee952b68 -
Fix triage chatbot message format
Andrew Lanouette5cf5ac0 -
Add guarded live ADR triage agent
Andrew Lanouette3b9e8ad
-
Fix Safari text contrast in patient panels
Andrew Lanouettea03f172 -
Remove overflow:hidden from panels to fix Safari faded text rendering
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>c7c1020 -
Remove tab gradient, set uniform white background
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>ee06d98 -
Normalize evidence cues and extraction table fonts; remove SAFE/INJECTION and Note text
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>60bf8a1 -
Normalize body text to 14px system sans-serif across app
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5b0aab9 -
Replace logo SVG with light lavender pill + indigo cross design
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e129a04 -
Update logo SVG to match reference image; add extraction table padding
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8d6a563 -
Fix logo and subtitle colors to use only #6366F1 and #63B1F2
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>6b08ca6 -
Rename to SentinelPlus; new pill+cross logo; fix panel padding; update title
Andrew Lanouette +1: Claude Sonnet 4.6- All SentinelRx references replaced with SentinelPlus throughout app - Browser title and header title updated to SentinelPlus - ADR Intelligent Assistant - Logo replaced with pill capsule + medical cross SVG (#63B1F2 pill, #2d2f8a cross bg) - Added padding CSS for extraction table and medications panel content Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2ca5fe5 -
Gradient on tab content only (below buttons); white bordered panels; outline Select Patient
Andrew Lanouette +1: Claude Sonnet 4.6- Gradient (to bottom-left, #63B1F2->white) now targets .tabitem only, so tab buttons stay white - All bordered panels get background:#fff so interior stays white against gradient - case_dropdown gets elem_id and #6366F1 border to match other Tab 1 panels - Tab 4 Doctor's View keeps explicit white background override Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>db79a85 -
Rebrand to #6366F1/#63B1F2 palette; gradient on tabs only; white FDA form background
Andrew Lanouette +1: Claude Sonnet 4.6- All brand colors updated to #6366F1 (indigo) and #63B1F2 (sky blue) - Logo shield: #6366F1 body, #63B1F2 ring, #a8d8f9 cross - Panel borders: #6366F1 (replaces gold) - Section chips, profile heading, triage labels: #6366F1 - App container background: white; gradient (130deg #63B1F2->white) on tabs only - Tab 4 Doctor's View: explicit white background - FDA form .fda3500b: background:#fff to stay white within gradient tab area Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>d828ce8 -
Visual polish: logo, gold borders, gradient bg, FDA header, section chips, severity strip, priority badge
Andrew Lanouette +1: Claude Sonnet 4.6- SVG Rx shield logo (deep purple #3d2b6e) added left of app title - Gold/amber (#b8903a) panel borders on all content panels in Tabs 1-3 - Light purple gradient background (#f0edf8 to white) across full app - Section chips (PATIENT TESTIMONY / PROFILE & BIOMETRICS / MEDICATIONS) in Tab 1 - Severity card gets a 6px colored top strip (red/green) for immediate visual cue - Triage output converted to HTML with color-coded priority badge - FDA 3500B banner replaced with real form administrative header (OMB/expiry) - All m-dashes replaced with hyphens Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>823ba41 -
Remove flag badges from biometric cards
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>2e0b5f4 -
Rename Daily Check-ins to Recent Check-ins in biometrics panel
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>03c1d23 -
Fix Submit to MedWatch button; replace hardcoded drivers with NER symptoms
Andrew Lanouette +1: Claude Sonnet 4.6- Modal now uses inline onclick attributes instead of <script> tag (scripts injected via innerHTML are blocked by browsers; onclick attributes are not) - modal_html starts visible/empty so position:fixed overlay works correctly - extract_severity_drivers() removed; severity drivers now sourced from NER extraction symptoms list (first 6 terms from Clinical-AI-Apollo/Medical-NER) - Remove unused List import Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>8c9ce0c -
UI polish: remove confidence row, oversight text, reword descriptions, redesign profile card, remove biometric subtitles
Andrew Lanouette +1: Claude Sonnet 4.6- Tab 3: remove Severity Confidence row from extraction table - Tab 3: remove Human Oversight section from triage markdown - Tab 2: reword classifier description (no longer says 'binary' or 'SAFE/INJECTION') - Header: replace workflow breadcrumb with short italic tagline - Tab 1: format_profile() now returns a 2-column HTML grid card - Tab 1: biometric cards no longer show subtitle text Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>f1fab25 -
UI: fix modal opacity, shrink severity card, move testimony above score, remove confidence score
Andrew Lanouette +1: Claude Sonnet 4.6- Modal now injected into document.body via JS to escape Gradio iframe stacking - Severity card icon/label/padding reduced; confidence % and progress bar removed - Highlighted testimony moved above severity score card in Tab 2 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>7f1b82e -
Move highlighted testimony to Tab 2; shrink flashing severe ADR badge
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>93cb5b6 -
Fix NER pipeline: remove unsupported truncation/max_length args from TokenClassificationPipeline
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1d2d0d6 -
Fix severity model pipeline output handling; add project context and data files
Andrew Lanouette +1: Claude Sonnet 4.6- Replace deprecated return_all_scores=True with top_k=None in _get_severity_pipe() - Normalize run_severity_model() to handle both [[...]] and [...] output shapes - Add fallback label matching for LABEL_1/1 in addition to INJECTION - Track PROJECT_CONTEXT.md and data/patient_testimony_data.csv in repo Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>705e74e -
Load severity model from HuggingFace Hub repo instead of local path
Andrew Lanouette +1: Claude Sonnet 4.6Switches _get_severity_pipe() to pull both tokenizer and model weights from Alanouette/sentinelplus-adr-severity, avoiding the slowdown caused by bundling the 737MB safetensors file in the Space repo. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>e3b35c7 -
Update biometrics to match each patient testimony; darken modal overlay
Andrew Lanouette +1: Claude Sonnet 4.6- P1 (Margaret): HR 114, Sleep -60%, Mobility Near Zero to reflect hospitalization, convulsions, and inability to walk - P2 (Denise): Normalize biometrics to reflect mild nausea/headache only — no sleep disruption flag (not present in testimony) - P4 (Alex): HR 94 with driving context, Extreme sedation, Very Low mobility to reflect falling asleep in the bath - P5 (Sandra): Add peripheral neuropathy context to mobility card - P6 (Priya): Mobility Very Low, full-body hives flag added - P7 (Tom): HR 91 pain-driven, weight card shows dietary restriction - P8 (Carol): Near Zero mobility, paracetamol dependency noted - P11 (Maria): 5-week chronic hive/sleep timeline reflected - Modal overlay opacity raised from 0.65 → 0.94 (near-opaque) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a050f48 -
UX: auto-run analysis, move testimony to top, fix error handling
Andrew Lanouette +1: Claude Sonnet 4.6- Remove Run Analysis button; analysis now auto-triggers on page load and whenever a patient is selected from the dropdown - Move patient testimony textbox to top of Tab 1 (above profile cards) - Add try/except in analyze() so model errors show a friendly message on Tabs 2/3/4 instead of a blank Gradio error state Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>5995dab -
Rebuild app for in-class presentation workflow
Andrew Lanouette +1: Claude Sonnet 4.6- Expand DEMO_CASES to all 12 patients from patient_testimony_data.csv with mock names, biographics, biometrics, medications, and check-ins - Replace run_severity_model() with real DeBERTa v2 inference (binary SAFE/INJECTION; tokenizer loaded from microsoft/deberta-v3-base) - Replace run_medical_extraction_model() with Clinical-AI-Apollo/Medical-NER - Restructure UI into 4 presentation tabs: 1. Patient Check-in 2. Severity Score 3. ADR Triage 4. Doctor's View - Add flashing red 'RECOMMENDED: Send to Doctor' badge for Severe ADR cases - Add 'Send to Doctor' button that navigates to Doctor's View tab - Add 'Submit to MedWatch' button with confirmation popup modal - Add transformers, torch, sentencepiece to requirements.txt Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a7e73a0 -
Add models/adr_severity_model directory
Andrew Lanouetteb82389e -
Standardize biometric categories to heart rate, sleep, mobility, weight for all patients
Andrew Lanouette +1: Claude Sonnet 4.6Added missing heart rate (74 bpm, normal) and mobility (normal) metrics to Demo 2 (Denise K.), and reordered Demo 3 (Alex T.) to match the consistent sequence across all three demo cases. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a6b0685 -
Add weight, DOB, race to patients; animated scale icon; update 3500B form
Andrew Lanouette +1: Claude Sonnet 4.6- Added weight, date of birth, and race/ethnicity to all three demo patient profiles (Margaret R., Denise K., Alex T.) - Added weight as a biometric metric card for each patient with an animated tipping scale (scalebalance CSS keyframe animation) - Updated FDA 3500B Section E to populate weight, DOB, and race checkboxes from patient profile data - Set Section F email to DrOzOffice@Stayhealthy.com Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>3a7883e -
Lighten FDA 3500B header and section header background colors for readability
Andrew Lanouette +1: Claude Sonnet 4.6Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>a64debe -
Add FDA MedWatch Form 3500B mock fillout to Report Preview tab
Andrew Lanouette +1: Claude Sonnet 4.6Adds a pre-filled HTML mock of FDA Form 3500B as a second inner sub-tab inside Tab 4, populated from available patient profile, medication, severity, and ADR data. Fields without data show "Not on file"; filled fields are highlighted yellow. Clearly marked as not for official submission. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>b2f9a45
-
Add biometric visual cards, inline flags, auto-analysis
Andrew Lanouette0042ca1 -
Update README.md
Verified signaturee7261f6 -
Update README
Andrew Lanouette2a18c77 -
Upload 4 files
Verified signature119553b -
initial commit
Verified signature75e6111