Pydantic AI Quick-Commerce Food Delivery Logistics Routing Engine
Multi-category quick commerce platforms extending into hot food delivery require split-second order grouping and kitchen prep SLA management. Build a type-safe routing agent using Pydantic AI to minimize order assembly delays.
What you are building
The core problem, expected build, and operating context for this challenge.
Construct a type-safe delivery assignment engine using Pydantic AI models.
How work is evaluated
Evaluates order batching efficiency and rider route assignments.
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.
batching_success
Verifies valid order batching.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
delivery_sla_compliance
SLA achievement score • 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 Pydantic AI agents with strict response models for rider batching
Optimize multi-stop delivery routes under hot food delivery constraints
Validate driver capacity and thermal insulation specs programmatically
Reference links and supporting material
Quick commerce order queues with kitchen preparation and rider location telemetry.
Challenge setup
Evaluates order batching efficiency and rider route assignments.
Challenge input
JSON food order queue
Pydantic AI
Mandatory framework requirement
Evaluated output
JSON rider dispatch plan
- Verifies valid order batching.
- SLA achievement score • target: 0.95 • range: 0-1
- Benchmark: Food-Logistics-Bench
- Delivery Sla Compliance target: 0.95
- 1 public reference case
- Python execution harness
- Python 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
- Pydantic AI · Required
- Voiceflow · Optional
- Distyl · Optional
- Pydantic AI · Required
Evaluation contract
- batching_success · Weight 1
- delivery_sla_compliance · Weight 1
Metrics
- delivery_sla_compliance · Target 0.95
Benchmarks
- Food-Logistics-Bench
- general
Reference cases
- 1 public reference case
Workflow tasks
- Task 1
Input: JSON food order queue
Output: JSON rider dispatch plan
Execution harness: Python
Evaluation tools
- Pydantic AI · Agent Framework
Recipe freeze marker
No recipe freeze time is recorded.