Build a Supply-Price Momentum Agent
In this challenge, you will architect a sophisticated real estate intelligence system using Mastra AI (TypeScript) to orchestrate data ingestion and automated machine learning workflows. You will focus on identifying 'divergent' housing markets where building permit growth (Census BPS) is failing to keep pace with home price appreciation (FHFA HPI). To optimize the forecasting component, you will integrate TPOT (Tree-based Pipeline Optimization Tool) via a Python bridge or microservice to automatically discover the best regression models for housing supply trends. The core of the challenge involves building a Mastra AI workflow that processes multi-geographic datasets, calculates momentum indicators, and utilizes an automated ML pipeline to predict future supply bottlenecks. You will define custom tools for the Mastra agent to query Census and FHFA APIs, then synthesize these signals into a 'Market Divergence Score' used by institutional investors to assess local market risk.
What you are building
The core problem, expected build, and operating context for this challenge.
In this challenge, you will architect a sophisticated real estate intelligence system using Mastra AI (TypeScript) to orchestrate data ingestion and automated machine learning workflows. You will focus on identifying 'divergent' housing markets where building permit growth (Census BPS) is failing to keep pace with home price appreciation (FHFA HPI). To optimize the forecasting component, you will integrate TPOT (Tree-based Pipeline Optimization Tool) via a Python bridge or microservice to automatically discover the best regression models for housing supply trends. The core of the challenge involves building a Mastra AI workflow that processes multi-geographic datasets, calculates momentum indicators, and utilizes an automated ML pipeline to predict future supply bottlenecks. You will define custom tools for the Mastra agent to query Census and FHFA APIs, then synthesize these signals into a 'Market Divergence Score' used by institutional investors to assess local market risk.
Shared data for this challenge
Review public datasets and any private uploads tied to your build.
How submissions are scored
These dimensions define what the evaluator checks, how much each dimension matters, and which criteria separate a passable run from a strong one.
Mastra Workflow Integrity
Ensures the Mastra workflow executes all steps from ingestion to divergence reporting without failure.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Forecast Accuracy (MAPE)
Mean Absolute Percentage Error of the TPOT-optimized permit forecast. • target: 15 • range: 0-100
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Master the Mastra AI Workflow API to sequence complex data transformation and model inference tasks
Implement TPOT (Tree-based Pipeline Optimization Tool) to automate feature engineering and model selection for supply forecasting
Design geospatial joins using GeoPandas or similar libraries to align Census BPS place-level data with FHFA CBSA-level indices
Build a TypeScript Agent in Mastra that implements custom 'tools' for real-time housing data retrieval
Orchestrate a cross-language pipeline where Mastra AI triggers Python-based ML optimization via a secure RPC or REST interface
Optimize data ingestion pipelines for large-scale Census Building Permits Survey monthly and year-to-date files
Evaluate model performance using Mean Absolute Percentage Error (MAPE) against historical housing cycles
[ok] Wrote CHALLENGE.md
[ok] Wrote .versalist.json
[ok] Wrote eval/examples.json
Requires VERSALIST_API_KEY. Works with any MCP-aware editor.
DocsAI Research & Mentorship
Participation status
You haven't started this challenge yet
Operating window
Key dates and the organization behind this challenge.
Find another challenge
Jump to a random challenge when you want a fresh benchmark or a different problem space.