Skip to main content
Challenge

Build a Rural Cooperative Inventory Pooling and Allocation Engine

Consolidate perishable agricultural inventory across smallholder farm cooperatives into unified Beckn catalog offerings. Allocate incoming bulk commercial purchase orders proportionally based on certified regional warehouse stocks.

Workflow AutomationHosted by Vera
Challenge brief

What you are building

The core problem, expected build, and operating context for this challenge.

Consolidate perishable agricultural inventory across smallholder farm cooperatives into unified Beckn catalog offerings. Allocate incoming bulk commercial purchase orders proportionally based on certified regional warehouse stocks.

Agricultural cooperative logistics manager

Ingest decentralized stock manifests from regional cooperative nodes into a normalized inventory pool.

Publish pooled inventory availability using Beckn protocol discovery catalog item structures.

Parse incoming bulk order quotes and calculate fair allocation shares across contributing farm warehouses.

Generate split fulfillment work orders and simulated Beckn on_select responses for dispatch review.

Cooperative operations screen showing participating warehouse quotas, pooled inventory levels, and order splits.

Construct synthetic cooperative warehouse stock listings and mock Beckn order JSON packets locally. Starter examples below are synthetic. They are not downloaded records.

Beckn protocol specifications Adopts Beckn protocol discovery, ordering, and fulfillment catalog structures for multi-provider inventory pooling.

langgraph, pydantic, pytest. LangGraph orchestrates the cyclic state transitions between inventory aggregation, stock allocation, and dispatch validation. Local or hosted LLM with multi-step reasoning capabilities to resolve complex allocation edge cases.

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.

Aggregates multi-warehouse inventory without double-counting available stock.

Splits incoming bulk orders proportionally across contributing warehouses with positive capacity.

Rejects or truncates orders that exceed cumulative pooled availability.

```json [ { "input": { "order_request": { "item_id": "wheat_sharbati", "requested_quantity_kg": 500, "delivery_pincode": "462001" }, "participating_coops": [ { "coop_id": "coop_a", "available_kg": 300, "distance_km": 12 }, { "coop_id": "coop_b", "available_kg": 300, "distance_km": 25 } ] }, "expected_output": { "allocation_status": "FULFILLED", "allocated_total_kg": 500, "fulfillment_splits": [ { "coop_id": "coop_a", "allocated_kg": 250 }, { "coop_id": "coop_b", "allocated_kg": 250 } ], "unallocated_kg": 0 } }, { "input": { "order_request": { "item_id": "pulses_chana", "requested_quantity_kg": 1000, "delivery_pincode": "452001" }, "participating_coops": [ { "coop_id": "coop_c", "available_kg": 200, "distance_km": 10 }, { "coop_id": "coop_d", "available_kg": 300, "distance_km": 18 } ] }, "expected_output": { "allocation_status": "PARTIAL_SHORTAGE", "allocated_total_kg": 500, "fulfillment_splits": [ { "coop_id": "coop_c", "allocated_kg": 200 }, { "coop_id": "coop_d", "allocated_kg": 300 } ], "unallocated_kg": 500 } } ] ```

Inventory pooling and allocation calculations are simulated; no actual commercial contracts or physical logistics are committed. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Inventory pooling and allocation calculations are simulated; no actual commercial contracts or physical logistics are committed. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Aggregates multi-warehouse inventory without double-counting available stock. Splits incoming bulk orders proportionally across contributing warehouses with positive capacity. Rejects or truncates orders that exceed cumulative pooled availability.

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 decentralized stock manifests from regional cooperative nodes into a normalized inventory pool. Publish pooled inventory availability using Beckn protocol discovery catalog item structures. Parse incoming bulk order quotes and calculate fair allocation shares across contributing farm warehouses. Generate split fulfillment work orders and simulated Beckn on_select responses for dispatch review.

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

Aggregates multi-warehouse inventory without double-counting available stock. Splits incoming bulk orders proportionally across contributing warehouses with positive capacity. Rejects or truncates orders that exceed cumulative pooled availability.

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

Cooperative operations screen showing participating warehouse quotas, pooled inventory levels, and order splits.

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

Inventory pooling and allocation calculations are simulated; no actual commercial contracts or physical logistics are committed.

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 decentralized stock manifests from regional cooperative nodes into a normalized inventory pool.

  • Publish pooled inventory availability using Beckn protocol discovery catalog item structures.

  • Parse incoming bulk order quotes and calculate fair allocation shares across contributing farm warehouses.

  • Generate split fulfillment work orders and simulated Beckn on_select responses for dispatch review.

Resources and assets

Reference links and supporting material

Dataset notes

Construct synthetic cooperative warehouse stock listings and mock Beckn order JSON packets locally. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

LangGraph

Runtime for stateful agent workflows.

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest decentralized stock manifests from regional cooperative nodes into a normalized inventory pool. Publ...
  • Aggregates multi-warehouse inventory without double-counting available stock. Splits incoming bulk orders p...
  • Cooperative operations screen showing participating warehouse quotas, pooled inventory levels, and order sp...
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
  • LangGraph · Optional
Orchestration
  • LangGraph · 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 Rural Cooperative Inventory Pooling and Allocation Engine