feat: MedCheck v0.1.0 - AI-powered medical imaging analysis toolkit - #1
Merged
Conversation
…cture Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…issue templates) Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements StepRegistry (register/get/list_steps) and WorkflowEngine (run/run_from_yaml) with rich console status output; adds default, quick, and vision_only workflow YAML definitions. Also sets --basetemp in pytest addopts to work around Windows temp-dir permission issue with pytest-asyncio strict mode. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
… and fallback router Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…istry with auto-detect Implements TDD Task 10: DataProvider abstract base class, LocalProvider that reads DICOM dirs/ZIPs via pydicom, and ProviderRegistry with register/get/detect/list_providers. All 8 new provider unit tests pass. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements IngestStep that uses ProviderRegistry (LocalProvider + EasyRadiologyProvider) to fetch DICOM series and populate patient/study metadata from the first slice. Adds source, provider_name, and credentials fields to PipelineContext. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Implements Task 17: ReportStep dispatches to generate_json_report, generate_pdf_report (reportlab), or generate_html_report based on context.report_format, writes the output file, and sets context.report_path. Adds report_format, report_language, output_dir fields to PipelineContext. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…uctured prompts Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
- Multi-stage Dockerfile (lite ~500MB, full ~10GB) - docker-compose.yml for development - Medical prompts: system, knee, shoulder, spine, JSON schema - Documentation: quickstart, providers, workflows, models Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
|
Caution Review failedThe pull request is closed. ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (10)
📝 WalkthroughWalkthroughThis PR adds a full MedCheck project scaffold: configuration and datatypes, data/LLM provider implementations and router, preprocessing/ML/vision/report pipeline steps, Typer CLI, FastAPI web UI, prompts and JSON schema, workflows, docs, CI/dev tooling, and comprehensive unit tests. ChangesMedCheck Core Implementation
Estimated code review effort: 🎯 4 (Complex) | ⏱️ ~45 minutes
✨ Finishing Touches📝 Generate docstrings
🧪 Generate unit tests (beta)
|
…sing, validation Critical: - C1: Escape HTML in report generation (XSS prevention) - C2: Validate ZIP paths before extraction (Zip Slip prevention) - C3: Wire up full pipeline in CLI analyze command - C4: Pass step_configs to pipeline steps via context - C5: Check validate() return value in WorkflowEngine Important: - I1: Safe API key access in LLM providers - I2: Deduplicate _parse_response to base module - I3: Fix JSON extraction with brace-depth tracking - I5: Replace deprecated datetime.utcnow() - I8: Cache ResNet18 model singleton Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This was referenced May 31, 2026
6 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Complete initial implementation of MedCheck - an open-source, Docker-ready toolkit for AI-powered MRI analysis.
What's included:
Core Framework
Data Providers
LLM System
Pipeline Steps
CLI & Web UI
medcheck analyze,medcheck serve,medcheck download-modelsInfrastructure
Community
Test plan
uv run pytest)uv run ruff check)docker build --target lite .medcheck analyze --source ./test-dicoms --report jsonCredits
🤖 Generated with Claude Code
Summary by CodeRabbit
New Features
Documentation
Infrastructure
Tests