Clinical Trial Inclusion Criteria Extractor with Claude Agents SDK
Building on STAT news reporting regarding Capricor Therapeutics' trial hurdles, this challenge asks developers to build an inclusion/exclusion eligibility extraction agent. Using the Claude Agents SDK with extended thinking, participants will construct an agent that ingests unstructured clinical trial documents, parses eligibility rules into executable boolean logic expressions, and matches incoming candidate patient records.
What you are building
The core problem, expected build, and operating context for this challenge.
Build a trial matching eligibility extractor using the Claude Agents SDK with extended thinking and structured output validation.
How work is evaluated
Evaluates patient eligibility matching precision and accuracy.
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.
check_eligibility_bool
Ensure is_eligible is boolean
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
matching_accuracy
Accuracy of patient eligibility determination against ground truth • 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
Parse unstructured clinical trial protocol criteria into formal logic expressions
Leverage Claude Agents SDK for step-by-step logic translation
Evaluate candidate patient FHIR data against executable trial criteria
Generate transparent inclusion/exclusion audit summaries for trial coordinators
Reference links and supporting material
Synthetic clinical trial inclusion criteria texts and corresponding patient EHR profiles.
Challenge setup
Evaluates patient eligibility matching precision and accuracy.
Challenge input
JSON containing protocol_criteria_text and patient_record
Claude Agents SDK
Mandatory Claude SDK
Evaluated output
JSON containing is_eligible (boolean) and failed_criteria (list of strings)
- Ensure is_eligible is boolean
- Accuracy of patient eligibility determination against ground truth • target: 0.92 • range: 0-1
- Benchmark: TrialMatch-Bench
- Matching 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
- Upstage · Required
- GPT-Engineer · Optional
- LastMile AI · Optional
Evaluation contract
- check_eligibility_bool · Weight 1
- matching_accuracy · Weight 1
Metrics
- matching_accuracy · Target 0.92
Benchmarks
- TrialMatch-Bench
- biotech
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing protocol_criteria_text and patient_record
Output: JSON containing is_eligible (boolean) and failed_criteria (list of strings)
Execution harness: Python
Evaluation tools
- Claude Agents SDK · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.