Skip to main content
Challenge

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.

Workflow AutomationHosted by Vera
Challenge brief

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.

Rules

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.

Delivery guide

How work is evaluated

Evaluation

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.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Challenge datasets

Public datasets, plus the private datasets you have access to.

Evaluation rubric

How submissions are scored

These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

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.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 2

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.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 3

Review interface

Web dashboard showing agent compliance metrics, warning statuses, and calculated penalty deductions.

Score scale
012
Score 0

Missing or incorrect.

Score 1

Partly complete, with documented gaps.

Score 2

Complete, with reproducible evidence.

Dimension 4

Safe execution

Uses mock agent IDs; processes no real delivery data, live financial deductions, or personally identifiable information.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

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.

Resources and assets

Reference links and supporting material

Dataset notes

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.

Evaluation checks
  • 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.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 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

Action Space
  • Pydantic AI · Optional
Orchestration
  • 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.

Frequently Asked Questions about Build a Beckn Delivery SLA Monitoring and Penalty Engine