ALS Biomarker Progression Predictor with Vercel AI SDK
NIH discoveries show that novel blood-based biomarkers (such as neurofilament light chain, NfL) can predict when Amyotrophic Lateral Sclerosis (ALS) symptoms will emerge prior to clinical manifestation. In this challenge, developers will construct a web-based clinical dashboard backend using the Vercel AI SDK (TypeScript). The system will process patient serum biomarker concentration trajectories, call forecasting functions, and stream real-time onset predictions to clinical trial coordinators.
What you are building
The core problem, expected build, and operating context for this challenge.
Build a real-time streaming ALS biomarker progression predictor using the Vercel AI SDK and TypeScript.
How work is evaluated
Evaluates accuracy of estimated time-to-symptom-onset based on longitudinal biomarker inputs.
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.
positive_onset_estimate
Predicted months must be a valid positive numeric value
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
onset_mae_months
Mean Absolute Error in predicted symptom onset months • target: 1.5 • range: 0-12
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Implement streaming AI endpoints using Vercel AI SDK (`ai` library) in TypeScript
Structure tool execution for calculating longitudinal biomarker trajectory slopes
Integrate clinical predictive schemas with Zod validation in TypeScript
Stream real-time disease onset probability estimates to web clients
Reference links and supporting material
Synthetic plasma biomarker longitudinal readings (NfL, pNfH) paired with clinically verified symptom onset timestamps.
Challenge setup
Evaluates accuracy of estimated time-to-symptom-onset based on longitudinal biomarker inputs.
Challenge input
JSON containing patient_id, nfl_readings_pg_ml (list of objects with month and value)
AI SDK
Mandatory Vercel AI SDK
Evaluated output
JSON containing predicted_months_to_onset (number) and trajectory_slope (number)
- Predicted months must be a valid positive numeric value
- Mean Absolute Error in predicted symptom onset months • target: 1.5 • range: 0-12
- Benchmark: ALS-Progression-Bench
- Onset Mae Months target: 1.5
- 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
- Vercel AI SDK · Required
- Merge · Optional
- Gemini 2.5 Flash · Optional
- Vercel AI SDK · Required
Evaluation contract
- positive_onset_estimate · Weight 1
- onset_mae_months · Weight 1
Metrics
- onset_mae_months · Target 1.5
Benchmarks
- ALS-Progression-Bench
- biotech
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing patient_id, nfl_readings_pg_ml (list of objects with month and value)
Output: JSON containing predicted_months_to_onset (number) and trajectory_slope (number)
Execution harness: JavaScript
Evaluation tools
- AI SDK · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.