Build a Beckn Delivery SLA Monitoring and Penalty Engine
Evaluate Beckn final-mile fulfillment payloads to calculate delivery agent compliance against network service level agreements. Generate structured penalty deductions and compliance dossiers for delayed callbacks or damaged parcels within decentralized open networks.
What you are building
The core problem, expected build, and operating context for this challenge.
Evaluate Beckn final-mile fulfillment payloads to calculate delivery agent compliance against network service level agreements. Generate structured penalty deductions and compliance dossiers for delayed callbacks or damaged parcels within decentralized open networks.
Fulfillment network operations manager
Ingest Beckn final-mile delivery fulfillment success metrics and delayed callback logs.
Calculate on-time delivery rates and payload integrity scores for mock independent agents.
Compute variable penalty deductions based on delivery failures and SLA non-compliance.
Synthesize a structured agent performance dossier for decentralized registry updates.
Web dashboard showing agent compliance metrics, warning statuses, and calculated penalty deductions.
Generate simplified synthetic payload records containing mock agent delivery metrics and simulated Beckn final-mile callback logs. Starter examples below are synthetic. They are not downloaded records.
Beckn protocol specifications Uses Beckn protocol specifications covering final-mile delivery and asynchronous callback performance.
pydantic-ai, fastapi, pandas. Pydantic AI strictly parses the fulfillment schema while pandas handles batch SLA penalty calculations across mock delivery metrics. Local or hosted LLM capable of evaluating edge case delivery exceptions against standard SLA policies.
Submit runnable source, pinned dependencies, setup commands, a working interface, example outputs, and a recorded end-to-end demo. Include tests and an action log.
Calculates SLA compliance rate correctly as (on_time_deliveries / deliveries_assigned) * 100.
Applies a base penalty deduction of 100 if compliance rate falls below 90 percent.
Adds an additional penalty of 25 for every damaged parcel reported in the payload.
```json [ { "input": { "agent_id": "AGENT-404", "deliveries_assigned": 50, "on_time_deliveries": 42, "damaged_parcels": 2 }, "expected_output": { "sla_compliance_rate": 84, "penalty_applied": true, "deduction_amount": 150, "status": "WARNING_ISSUED" } }, { "input": { "agent_id": "AGENT-505", "deliveries_assigned": 30, "on_time_deliveries": 30, "damaged_parcels": 0 }, "expected_output": { "sla_compliance_rate": 100, "penalty_applied": false, "deduction_amount": 0, "status": "COMPLIANT" } } ] ```
Uses mock agent IDs; processes no real delivery data, live financial deductions, or personally identifiable information. Use mock external writes. Require human review before any real deployment.
Participation guide
Uses mock agent IDs; processes no real delivery data, live financial deductions, or personally identifiable information. Use mock external writes and human review.
How work is evaluated
Calculates SLA compliance rate correctly as (on_time_deliveries / deliveries_assigned) * 100. Applies a base penalty deduction of 100 if compliance rate falls below 90 percent. Adds an additional penalty of 25 for every damaged parcel reported in the payload.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
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.
Complete workflow
Ingest Beckn final-mile delivery fulfillment success metrics and delayed callback logs. Calculate on-time delivery rates and payload integrity scores for mock independent agents. Compute variable penalty deductions based on delivery failures and SLA non-compliance. Synthesize a structured agent performance dossier for decentralized registry updates.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Calculates SLA compliance rate correctly as (on_time_deliveries / deliveries_assigned) * 100. Applies a base penalty deduction of 100 if compliance rate falls below 90 percent. Adds an additional penalty of 25 for every damaged parcel reported in the payload.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
Web dashboard showing agent compliance metrics, warning statuses, and calculated penalty deductions.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Uses mock agent IDs; processes no real delivery data, live financial deductions, or personally identifiable information.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Ingest Beckn final-mile delivery fulfillment success metrics and delayed callback logs.
Calculate on-time delivery rates and payload integrity scores for mock independent agents.
Compute variable penalty deductions based on delivery failures and SLA non-compliance.
Synthesize a structured agent performance dossier for decentralized registry updates.
Reference links and supporting material
Generate simplified synthetic payload records containing mock agent delivery metrics and simulated Beckn final-mile callback logs. Supplied starter examples are synthetic, not source extracts.
Challenge setup
Configuration summary for this challenge.
Challenge input
Input details are not configured.
Pydantic AI
Typed Python agent framework.
Evaluated output
No output checks are configured.
- Ingest Beckn final-mile delivery fulfillment success metrics and delayed callback logs. Calculate on-time d...
- Calculates SLA compliance rate correctly as (on_time_deliveries / deliveries_assigned) * 100. Applies a bas...
- Web dashboard showing agent compliance metrics, warning statuses, and calculated penalty deductions.
- 2 public reference cases
- 2 configured tools
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 · Optional
- Pydantic AI · Optional
Evaluation contract
- Complete workflow · Weight 40
- Correctness and evidence · Weight 30
- Review interface · Weight 20
- Safe execution · Weight 10
Reference cases
- 2 public reference cases
Workflow tasks
No workflow tasks are configured.
Recipe freeze marker
No recipe freeze time is recorded.