Build an AI SDK Open Network Food Delivery Dispute Settlement Agent
Food delivery systems operating on open networks encounter order mismatch and delivery delay disputes. Build an automated dispute resolution agent using Vercel AI SDK that evaluates order telemetry and applies automated refund rules with 95% settlement accuracy.
What you are building
The core problem, expected build, and operating context for this challenge.
Develop an AI SDK dispute resolution agent in TypeScript that audits order delivery logs and computes fair refund settlements.
How work is evaluated
Evaluates dispute resolution recommendation precision and refund score accuracy.
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.
refund_validity_check
Confirms dispute resolution approval flag
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
settlement_accuracy
Accuracy of refund calculation and fault attribution • target: 0.95 • range: 0-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
Build TypeScript dispute settlement workflows using Vercel AI SDK
Parse order tracking time-stamps and restaurant prep logs
Compute refund percentages based on ONDC SLA violation guidelines
Generate automated customer response messages and payout triggers
Reference links and supporting material
Synthetic food delivery tracking logs and customer complaint transcripts.
Challenge setup
Evaluates dispute resolution recommendation precision and refund score accuracy.
Challenge input
JSON order complaint object with timestamps
AI SDK
TypeScript structured object generation framework
Evaluated output
JSON settlement object with refund_percent and liable_party
- Confirms dispute resolution approval flag
- Accuracy of refund calculation and fault attribution • target: 0.95 • range: 0-1
- Benchmark: E-Commerce Dispute Settlement Benchmark
- Settlement Accuracy target: 0.95
- 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
- Coval · Optional
- Ellipsis · Optional
- Vercel AI SDK · Required
Evaluation contract
- refund_validity_check · Weight 1
- settlement_accuracy · Weight 1
Metrics
- settlement_accuracy · Target 0.95
Benchmarks
- E-Commerce Dispute Settlement Benchmark
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON order complaint object with timestamps
Output: JSON settlement object with refund_percent and liable_party
Execution harness: JavaScript
Evaluation tools
- AI SDK · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.