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
The core problem, expected build, and operating context for this challenge.
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.
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.
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.
What you should walk away with
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.
Reference links and supporting material
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)
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
- 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.