Build a Construction Market Surge Predictor with Mastra AI
Predicting material procurement bottlenecks during Qatar's 6.7% construction surge requires proactive supply chain analytics. Build a workflow agent using Mastra AI to analyze raw material demand, track cement and rebar pricing, and trigger early bulk ordering.
What you are building
Deploy Mastra AI TypeScript workflows to model Qatar construction growth metrics and forecast raw material shortages.
How work is evaluated
Evaluates material demand surge forecasting accuracy and threshold alert triggers.
Datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
action_trigger_check
Ensure bulk order trigger activates above growth threshold
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
forecast_accuracy
Accuracy of forecasted material tonnage • target: 0.94 • range: 0.85-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Learning goals
Build Mastra AI multi-step workflows processing macro construction investments
Predict material demand spikes (steel, concrete, glass) based on active project starts
Automate purchase order recommendations when regional inventory falls below safety thresholds
Generate weekly procurement risk visual summaries for project directors
Resources
Qatar construction project starts, material import tariffs, and historical pricing logs for raw building supplies.
Challenge setup
Evaluates material demand surge forecasting accuracy and threshold alert triggers.
Challenge input
JSON project pipeline data
Mastra AI
TypeScript agent framework for workflow step management
Evaluated output
JSON demand forecast
- Ensure bulk order trigger activates above growth threshold
- Accuracy of forecasted material tonnage • target: 0.94 • range: 0.85-1
- Benchmark: SupplyChainForecastBench
- Forecast Accuracy target: 0.94
- 1 public reference case
- JavaScript execution harness
- javascript sandbox (unavailable on Versalist)
Shows the first task, up to three tools, and up to three evidence items.
View technical recipe
Configured tools
- Mastra AI · Required
- Adept · Optional
- Voiceflow · Optional
- Mastra AI · Required
Evaluation contract
- action_trigger_check · Weight 1
- forecast_accuracy · Weight 1
Metrics
- forecast_accuracy · Target 0.94
Benchmarks
- SupplyChainForecastBench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON project pipeline data
Output: JSON demand forecast
Execution harness: JavaScript
Evaluation tools
- Mastra AI · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.