Fetching metadata from the HF Docker repository...
Feb 25 02:57 Clean repo for portfolio: archive competition internals, update README and CLAUDE.md bshepp
Feb 24 05:20 docs: align video script with actual sample case, deployment, and new UX features bshepp
Feb 17 03:34 Implement validation pipeline fixes (P1-P7) and experimental track system bshepp
Pipeline fixes:
- P1: Question type classifier (question_classifier.py) - 9 types via heuristic regex
- P3: Preserve question stem - _extract_vignette -> _split_question returning (vignette, stem)
- P4: Type-aware scoring - score_case() dispatcher with per-type scorers (diagnostic, treatment, mechanism, lab_finding, generic)
- P5: Improved fuzzy matching - recall-based with medical stopwords, 3-strategy approach
- P6: MCQ answer selection - select_mcq_answer() uses MedGemma to pick A/B/C/D given CDS report
- P7: Stratified reporting - per-type breakdown table + pipeline-appropriate subset metrics
Experimental track system:
- CLAUDE.md, TRACKS.md, EXPERIMENT_PLAN.md - project intelligence and track registry
- Track A: Baseline pipeline tagged (all app/ files)
- Track B: RAG variants (10 configs, chunking/embedding experiments)
- Track C: Iterative refinement (4 configs, serial refinement rounds)
- Track D: Arbitrated parallel (4 configs, specialist + arbiter pattern)
- Shared utilities… Feb 15 19:27 docs: full documentation vs reality audit bshepp
- README.md: Updated Tech Stack (MedGemma via HF Endpoint, not Gemma 3 via Google AI Studio),
added 50-case MedQA validation results, updated Quick Start for HF token, added
deploy guide to doc index and project structure, added analyze/check_progress to tree
- docs/architecture.md: Updated LLM label, model config, API dependencies, configuration
table defaults, system prompt section (TGI supports system role natively), known limitations
- docs/test_results.md: Added 50-case MedQA results with question-type breakdown, updated header
- docs/writeup_draft.md: Added MedQA 50-case results to performance table, updated validation
section from 'in progress' to actual numbers, updated latency note
- DEVELOPMENT_LOG.md: Fixed environment config table defaults, added Phase 11 (MedGemma HF
Endpoint deployment) and Phase 12 (50-case MedQA validation with full results/analysis)
- TODO.md: Complete rewrite - marked validation as done, updated model info from gemma-3 to
MedGemma, updated… 19:13 MedGemma validation: 50-case MedQA run, TGI endpoint config, prompt improvements bshepp
- Fixed TGI token limits (MAX_INPUT_TOKENS=12288, MAX_TOTAL_TOKENS=16384)
- Reduced per-step max_tokens for faster generation
- Improved clinical reasoning prompt (disease-level dx, not symptoms)
- Fixed Unicode encoding issues for Windows console
- Fixed error masking in orchestrator (failed steps now surface errors)
- Fixed endpoint URL in .env
- Added analyze_results.py for question-type categorization
- Results: 94% pipeline success, 38% top3 accuracy, 14% dx-only accuracy
- Paused endpoint to save costs Feb 14 05:52 docs: full accuracy audit, add validation framework to all docs, fix test_e2e.py, create TODO.md bshepp
- README.md: fix step count 5->6, add Conflict Detection to E2E table, add
validation/ to project structure, add validation commands to Running Tests,
add External Dataset Validation section, add validation to Tech Stack
- architecture.md: fix Decision #1 (5->6 step), fix Decision #4 (2->4 Gemma
roles), add Validation Framework section with dataset table and architecture
- test_results.md: add Section 6 External Dataset Validation with datasets,
smoke test results, and reproduction steps; fix test_e2e.py line count
- DEVELOPMENT_LOG.md: remove (Current) from Phase 7, add Phase 9 (validation
framework build with problems solved), add Phase 10 (documentation audit)
- writeup_draft.md: fix 'confidence levels' -> 'caveats and limitations',
update GitHub repo link, add validation methodology section
- test_e2e.py: add assertions for 6 steps, verify conflict_detection present,
assert no failed steps
- TODO.md: new file with prioritized next-session action items for easy pickup 04:50 Update all documentation for conflict detection feature bshepp
- README.md: 5→6 step pipeline, updated architecture diagram, project
structure (new conflict_detection.py), usage instructions
- docs/architecture.md: New Step 5 section, updated diagram, data models
table (3 new models), component descriptions, agentic comparison
- DEVELOPMENT_LOG.md: Added Phase 8 documenting the conflict detection
design decision (why confidence scores were dropped) and full
implementation details
- docs/writeup_draft.md: Updated pipeline description, architecture
diagram, performance table, practical usage section
- docs/test_results.md: Updated E2E test to reflect 6-step pipeline 04:25 Initial commit: CDS Agent - Clinical Decision Support System bshepp
- 5-step agentic pipeline: parse reason drug check RAG guidelines synthesize
- Backend: FastAPI + Python 3.10, Gemma 3 27B IT via Google AI Studio
- Frontend: Next.js 14 + React 18 + TypeScript + Tailwind CSS
- RAG: ChromaDB with 62 clinical guidelines across 14 specialties
- Drug APIs: OpenFDA + RxNorm/NLM
- Tests: E2E pipeline, 30 RAG quality queries (100% pass), 22 clinical scenarios
- Full documentation: architecture, test results, development log, writeup