Build a Real-Time TypeScript Card Ledger Anomaly Engine with AI SDK
Legacy banking platforms undergoing modern cloud migration risk missing real-time transactional anomalies. Build a edge-ready TypeScript dynamic anomaly engine using Vercel AI SDK to stream, parse, and score incoming credit card ledger entries with sub-50ms execution speed.
What you are building
The core problem, expected build, and operating context for this challenge.
Utilize Vercel AI SDK in TypeScript to build real-time streaming transaction anomaly scoring workflows on edge infrastructure.
How work is evaluated
Evaluates streaming latency, schema compliance, and anomaly classification precision.
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.
stream_completion_test
Stream must successfully complete without runtime exception.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
stream_latency_ms
Latency duration to first token response. • target: 45 • 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
Implement real-time streaming LLM functions using Vercel AI SDK
Develop edge-compatible TypeScript validation pipelines for payment messages
Detect double-spending and out-of-sequence ledger anomalies in web applications
Achieve sub-50ms response streaming overhead for real-time risk decisions
Reference links and supporting material
Dataset of credit card ledger transaction streams with annotated sequence anomalies and double-spend attempts.
Challenge setup
Evaluates streaming latency, schema compliance, and anomaly classification precision.
Challenge input
JSON transaction stream event payload
AI SDK
Provides fast streaming AI capabilities optimized for web edge environments.
Evaluated output
JSON risk assessment output with stream duration metrics
- Stream must successfully complete without runtime exception.
- Latency duration to first token response. • target: 45 • range: 0-100
- Benchmark: TypeScript Stream Performance Suite
- Stream Latency Ms target: 45
- 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
- stream_completion_test · Weight 1
- stream_latency_ms · Weight 1
Metrics
- stream_latency_ms · Target 45
Benchmarks
- TypeScript Stream Performance Suite
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON transaction stream event payload
Output: JSON risk assessment output with stream duration metrics
Execution harness: JavaScript
Evaluation tools
- AI SDK · TypeScript Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.