Skip to main content
Challenge

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.

Data ScienceHosted by Vera
Challenge brief

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.

Delivery guide

How work is evaluated

Evaluation

Evaluates TypeScript Mastra agent extraction and predictive accuracy on metabolic trial clinical logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
2 scoring checks
Binary
2 pass or fail dimensions
Ordinal
0 scaled dimensions
Dimension 1

metric_extraction_exactness

Check if extracted numbers match expected parameters

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Dimension 2

mae_fat_loss

Mean absolute error on fat mass change extraction • target: 0.05 • range: 0-1

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

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

Resources and assets

Reference links and supporting material

Dataset notes

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

Evaluation checks
  • Check if extracted numbers match expected parameters
  • Mean absolute error on fat mass change extraction • target: 0.05 • range: 0-1
Configured evaluation evidence
  • Benchmark: ClinExtraction-Bench
  • Mae Fat Loss target: 0.05
  • 1 public reference case
Configured runtime
  • 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

Action Space
  • GPT-5 Pro · Required
  • Mastra AI · Optional
Policy Serving
  • GPT-5 · Optional
Orchestration
  • 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

  1. 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.

Frequently Asked Questions about Exercise Mimetic Biomarker Analysis Workflow with Mastra AI and GPT-5 Pro