Focal Therapy vs Radical Surgery Decision Support with Pydantic AI and Qwen 3
Prostate cancer treatment strategy depends on accurate risk stratification between focal therapy and surgery. You will build a type-safe Pydantic AI agent leveraging Qwen 3 to evaluate MRI tissue imaging findings and clinical markers, delivering structured risk scores with 92% diagnostic agreement.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a Pydantic AI clinical decision agent with Qwen 3 to triage localized prostate cancer treatment eligibility.
How work is evaluated
Evaluates Pydantic AI agent's treatment recommendation accuracy against ground truth expert consensus decisions.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
schema_conformance
Ensure output conforms to Pydantic output model
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
recommendation_accuracy
Agreement rate with clinical expert benchmark choices • target: 0.92 • range: 0-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Utilize Pydantic AI framework for strongly-typed Python agent design
Integrate Qwen 3 model for biomedical report comprehension and reasoning
Implement multi-criteria scoring for prostate cancer focal therapy candidate selection
Reference links and supporting material
Prostate cancer patient clinical dataset containing 300 annotated biopsy and MRI diagnostic cases.
Challenge setup
Evaluates Pydantic AI agent's treatment recommendation accuracy against ground truth expert consensus decisions.
Challenge input
JSON object with gleason_score, pirads_score, and psa_level
Pydantic AI
Mandatory type-safe agent system framework.
Qwen 3
Model engine for biomedical text reasoning.
Evaluated output
JSON object with recommended_treatment string, confidence float, and reasoning list
- Ensure output conforms to Pydantic output model
- Agreement rate with clinical expert benchmark choices • target: 0.92 • range: 0-1
- Benchmark: OncoDecide-Bench
- Recommendation Accuracy target: 0.92
- 1 public reference case
- Python execution harness
- Python sandbox (unavailable on Versalist)
Summary shows the first task, up to three tools, and up to three evidence items. Open the technical recipe to view all configured items.
View technical recipe
Configured tools
- Pydantic AI · Optional
- Haystack · Optional
- Qwen 3 · Required
- Pydantic AI · Optional
Evaluation contract
- schema_conformance · Weight 1
- recommendation_accuracy · Weight 1
Metrics
- recommendation_accuracy · Target 0.92
Benchmarks
- OncoDecide-Bench
- biotech
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON object with gleason_score, pirads_score, and psa_level
Output: JSON object with recommended_treatment string, confidence float, and reasoning list
Execution harness: Python
Evaluation tools
- Pydantic AI · Agent Framework
- Qwen 3 · Model Runtime
Recipe freeze marker
No recipe freeze time is recorded.