Exercise Mimetic Biomarker Analysis Workflow with Mastra AI and GPT-5 Pro
Exercise-mimicking therapeutics require rigorous tracking of metabolic and muscle-retention biomarkers across trial arms. You will build a TypeScript agent using Mastra AI and GPT-5 Pro to extract clinical metrics from trial documents and forecast weight loss vs muscle mass preservation with 85% accuracy.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop a TypeScript agent using Mastra AI and GPT-5 Pro to parse clinical trial logs and model metabolic retention profiles.
How work is evaluated
Evaluates TypeScript Mastra agent extraction and predictive accuracy on metabolic trial clinical logs.
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.
metric_extraction_exactness
Check if extracted numbers match expected parameters
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
mae_fat_loss
Mean absolute error on fat mass change extraction • target: 0.05 • 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
Construct TypeScript agentic workflows using Mastra AI's core framework
Integrate GPT-5 Pro model endpoints for advanced clinical telemetry extraction
Calculate lean muscle mass retention metrics from unstructured clinical logs
Reference links and supporting material
Clinical trial notes dataset covering 200 patients in Phase 1 exercise-mimetic drug trials.
Challenge setup
Evaluates TypeScript Mastra agent extraction and predictive accuracy on metabolic trial clinical logs.
Challenge input
TypeScript string containing clinical progress notes
Mastra AI
Mandatory framework for agent orchestration in Node/TS.
GPT-5 Pro
High-capacity reasoning engine for clinical log parsing.
Evaluated output
JSON object with extracted numerical metrics and predictions
- Check if extracted numbers match expected parameters
- Mean absolute error on fat mass change extraction • target: 0.05 • range: 0-1
- Benchmark: ClinExtraction-Bench
- Mae Fat Loss target: 0.05
- 1 public reference case
- JavaScript execution harness
- javascript 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
- GPT-5 Pro · Required
- Mastra AI · Optional
- GPT-5 · Optional
- Mastra AI · Optional
Evaluation contract
- metric_extraction_exactness · Weight 1
- mae_fat_loss · Weight 1
Metrics
- mae_fat_loss · Target 0.05
Benchmarks
- ClinExtraction-Bench
- biotech
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: TypeScript string containing clinical progress notes
Output: JSON object with extracted numerical metrics and predictions
Execution harness: JavaScript
Evaluation tools
- Mastra AI · TypeScript Agent Framework
- GPT-5 Pro · LLM Inference Engine
Recipe freeze marker
No recipe freeze time is recorded.