Build a MAS CPI Inflation Indexing and Fraud Anomaly Engine using Vercel AI SDK
Macroeconomic price fluctuations affect automated algorithmic loan underwriting parameters. Construct a Vercel AI SDK pipeline that integrates live MAS CPI data into credit risk evaluation models to maintain calibrated default predictions during inflation spikes.
What you are building
Develop a streaming TypeScript application using Vercel AI SDK to calibrate loan risk metrics against live MAS inflation indices.
How work is evaluated
Evaluates loan default calibration accuracy when subjected to sudden CPI inflation shocks.
Datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
Inflation Stress Threshold Test
DSR > 50% under inflation adjustment must trigger REJECTED decision.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Risk Calibration Precision
Accuracy of adjusted default probabilities. • target: 0.94 • range: 0.88-1
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
Learning goals
Integrate live Monetary Authority of Singapore (MAS) CPI API feeds into Vercel AI SDK tools.
Dynamically adjust consumer disposable income estimates based on core vs headline inflation.
Detect borrowers exhibiting inflation-induced debt stress before defaults occur.
Stream calibrated loan underwriting decisions to front-end interfaces.
Resources
Synthetic Singapore retail borrower dataset paired with MAS monthly CPI series.
Challenge setup
Evaluates loan default calibration accuracy when subjected to sudden CPI inflation shocks.
Challenge input
JSON containing gross_monthly_income, existing_debt_commitments, mas_cpi_core_yoy_pct
AI SDK
Provides typed tool execution for external statistical API integration.
Evaluated output
JSON with adjusted_dsr_pct, underwriting_decision ('APPROVED', 'REJECTED'), risk_tier
- DSR > 50% under inflation adjustment must trigger REJECTED decision.
- Accuracy of adjusted default probabilities. • target: 0.94 • range: 0.88-1
- Benchmark: MacroCreditBench
- Risk Calibration Precision 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
- Vercel AI SDK · Required
- Vercel AI SDK · Required
Evaluation contract
- Inflation Stress Threshold Test · Weight 1
- Risk Calibration Precision · Weight 1
Metrics
- Risk Calibration Precision · Target 0.94
Benchmarks
- MacroCreditBench
- security
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON containing gross_monthly_income, existing_debt_commitments, mas_cpi_core_yoy_pct
Output: JSON with adjusted_dsr_pct, underwriting_decision ('APPROVED', 'REJECTED'), risk_tier
Execution harness: JavaScript
Evaluation tools
- AI SDK · Streaming & Tool Engine
Recipe freeze marker
No recipe freeze time is recorded.