Skip to main content
Challenge

Build an Offline-First Multilingual Stock Catalog Sync for Rural Retailers

Cache local merchant inventory changes during network outages and synchronize catalog diffs when connectivity resumes. Translate informal item names into standardized vernacular product cards for decentralized marketplaces.

Workflow AutomationHosted by Vera
Challenge brief

What you are building

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

Cache local merchant inventory changes during network outages and synchronize catalog diffs when connectivity resumes. Translate informal item names into standardized vernacular product cards for decentralized marketplaces.

Rural retail operations coordinator

Store locally captured product adjustments in an offline SQLite store using normalized Beckn item schemas.

Detect network availability and queue outgoing catalog changes with optimistic conflict resolution.

Translate vernacular product names and unit descriptions using ISO-639 language-tagged translation fixtures.

Assemble synchronization manifests and alert merchants to conflicting quantity updates for manual sign-off.

Progressive Web App with offline local storage indicators, pending sync badges, and conflict review panels.

Generate local SQLite mock inventory records and synthetic multilingual text pairs covering Hindi, Tamil, and English. Starter examples below are synthetic. They are not downloaded records.

Bhashini documentation Adopts Bhashini ISO-639 language code standards and translation pipeline concepts for vernacular catalog representations.

ollama, sqlite3, pydantic. Enables completely local, offline execution of small models for on-device product attribute extraction. Quantized 7B parameter open-weights model running locally via Ollama without cloud internet dependencies.

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.

Persists inventory updates locally when simulated connectivity is toggled off.

Formats synced catalog diffs using standard Beckn context and catalog item structures.

Flags dual-write stock quantity conflicts without automatically overwriting remote entries.

```json [ { "input": { "device_id": "POS-DEV-01", "offline_mutation": { "item_id": "PROD-882", "vernacular_name": "चावल बासमती", "language_code": "hi", "quantity_change": -10, "timestamp": "2023-10-24T10:15:00Z" }, "server_stock": 50 }, "expected_output": { "sync_status": "ready_to_commit", "standard_title": "Basmati Rice", "new_stock_level": 40, "conflict_detected": false } }, { "input": { "device_id": "POS-DEV-01", "offline_mutation": { "item_id": "PROD-882", "vernacular_name": "चावल बासमती", "language_code": "hi", "quantity_change": -60, "timestamp": "2023-10-24T10:30:00Z" }, "server_stock": 50 }, "expected_output": { "sync_status": "conflict_held", "standard_title": "Basmati Rice", "new_stock_level": 50, "conflict_detected": true } } ] ```

Maintains an offline sandboxed ledger without accessing sensitive identity stores or live external inventory mainframes. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Maintains an offline sandboxed ledger without accessing sensitive identity stores or live external inventory mainframes. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Persists inventory updates locally when simulated connectivity is toggled off. Formats synced catalog diffs using standard Beckn context and catalog item structures. Flags dual-write stock quantity conflicts without automatically overwriting remote entries.

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

Store locally captured product adjustments in an offline SQLite store using normalized Beckn item schemas. Detect network availability and queue outgoing catalog changes with optimistic conflict resolution. Translate vernacular product names and unit descriptions using ISO-639 language-tagged translation fixtures. Assemble synchronization manifests and alert merchants to conflicting quantity updates for manual sign-off.

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

Persists inventory updates locally when simulated connectivity is toggled off. Formats synced catalog diffs using standard Beckn context and catalog item structures. Flags dual-write stock quantity conflicts without automatically overwriting remote entries.

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

Progressive Web App with offline local storage indicators, pending sync badges, and conflict review panels.

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

Maintains an offline sandboxed ledger without accessing sensitive identity stores or live external inventory mainframes.

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

  • Store locally captured product adjustments in an offline SQLite store using normalized Beckn item schemas.

  • Detect network availability and queue outgoing catalog changes with optimistic conflict resolution.

  • Translate vernacular product names and unit descriptions using ISO-639 language-tagged translation fixtures.

  • Assemble synchronization manifests and alert merchants to conflicting quantity updates for manual sign-off.

Resources and assets

Reference links and supporting material

Dataset notes

Generate local SQLite mock inventory records and synthetic multilingual text pairs covering Hindi, Tamil, and English. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Ollama

Local LLM runtime for offline inference.

Evaluated output

No output checks are configured.

Evaluation checks
  • Store locally captured product adjustments in an offline SQLite store using normalized Beckn item schemas....
  • Persists inventory updates locally when simulated connectivity is toggled off. Formats synced catalog diffs...
  • Progressive Web App with offline local storage indicators, pending sync badges, and conflict review panels.
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 1 configured tool

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

Policy Serving
  • Ollama · 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 an Offline-First Multilingual Stock Catalog Sync for Rural Retailers