Skip to main content
Challenge

Build a Phytosanitary and Wood Packaging Evidence Synthesizer

Evaluate wood packaging and phytosanitary inspection holds at Singapore checkpoint terminals. Assemble verifiable TradeTrust wrapped evidence packages and draft urgent consignee fumigation notices.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Evaluate wood packaging and phytosanitary inspection holds at Singapore checkpoint terminals. Assemble verifiable TradeTrust wrapped evidence packages and draft urgent consignee fumigation notices.

Cross-Border Logistics Exception Manager

Parse customs inspection discrepancy logs and wood packaging fumigation flags from terminal gate exception timestamps.

Correlate phytosanitary incident logs with bill of lading consignee records and regional agricultural import limits.

Wrap incident photos and inspection receipts into a verifiable OpenAttestation document envelope.

Draft clear plain-language consignee exception notices with estimated fumigation delay and actionable next steps.

An incident triage queue displaying affected container IDs, attached inspection reports, cryptographic wrapping controls, and notice dispatch drafts.

Use open-attestation npm schema libraries with JSON data. Note: The provided examples are simplified synthetic app records, not complete official schema files. Starter examples below are synthetic. They are not downloaded records.

OpenAttestation Use OpenAttestation wrapDocuments and validateSchema routines to generate verifiable evidence batches for phytosanitary holds.

langgraph, @govtechsg/open-attestation, pydantic. LangGraph manages stateful branch execution between document wrapping, schema validation, and consignee communication drafting. Hosted reasoning model capable of generating structured notifications and JSON state updates.

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.

Wraps phytosanitary exception incident data into a valid OpenAttestation v2 schema payload.

Computes verifiable targetHash and merkleRoot over attached inspection survey files.

Drafts consignee notices detailing exact hold reasons and estimated fumigation delay hours.

Requires explicit officer review before final customer communication dispatch.

```json [ { "input": { "exception_id": "EX-2025-881", "container_number": "TGHU4819201", "bill_of_lading": "BL-SG-MY-9901", "consignee_email": "ops@sgimporter.com", "checkpoint": "Tuas Checkpoint", "incident_type": "phytosanitary_hold", "inspection_summary": "Untreated wood pallets detected; ISPM 15 stamp missing", "estimated_delay_hours": 48 }, "expected_output": { "status": "ready_for_notice_dispatch", "oa_wrapped": true, "merkle_root": "0x4f128bcde9017234567890abcdef1234567890abcdef1234567890abcdef1234", "notice_draft": { "recipient": "ops@sgimporter.com", "subject": "Shipment Exception Notice: Container TGHU4819201 Phytosanitary Hold", "delay_estimate": "48 hours", "summary": "Your shipment was subject to mandatory phytosanitary inspection at Tuas Checkpoint due to missing ISPM 15 stamps. Fumigation required." } } }, { "input": { "exception_id": "EX-2025-882", "container_number": "WHLU3301928", "bill_of_lading": "BL-SG-ID-4412", "consignee_email": "claims@batamtransit.com", "checkpoint": "Jurong Island Terminal", "incident_type": "pest_detection", "inspection_summary": "Live agricultural pests identified in dunnage material", "estimated_delay_hours": 72 }, "expected_output": { "status": "ready_for_notice_dispatch", "oa_wrapped": true, "merkle_root": "0x9a87bc1245def34567890abcdef1234567890abcdef1234567890abcdef1234", "notice_draft": { "recipient": "claims@batamtransit.com", "subject": "Urgent Shipment Exception: Container WHLU3301928 Pest Detection", "delay_estimate": "72 hours", "summary": "Live agricultural pests recorded in container dunnage at Jurong Island Terminal. Verified evidence dossier attached." } } } ] ```

Cryptographically wraps evidence and prepares customer drafts; does not transmit unverified claims or alter customs declarations. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Cryptographically wraps evidence and prepares customer drafts; does not transmit unverified claims or alter customs declarations. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Wraps phytosanitary exception incident data into a valid OpenAttestation v2 schema payload. Computes verifiable targetHash and merkleRoot over attached inspection survey files. Drafts consignee notices detailing exact hold reasons and estimated fumigation delay hours. Requires explicit officer review before final customer communication dispatch.

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

Parse customs inspection discrepancy logs and wood packaging fumigation flags from terminal gate exception timestamps. Correlate phytosanitary incident logs with bill of lading consignee records and regional agricultural import limits. Wrap incident photos and inspection receipts into a verifiable OpenAttestation document envelope. Draft clear plain-language consignee exception notices with estimated fumigation delay and actionable next steps.

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

Wraps phytosanitary exception incident data into a valid OpenAttestation v2 schema payload. Computes verifiable targetHash and merkleRoot over attached inspection survey files. Drafts consignee notices detailing exact hold reasons and estimated fumigation delay hours. Requires explicit officer review before final customer communication dispatch.

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

An incident triage queue displaying affected container IDs, attached inspection reports, cryptographic wrapping controls, and notice dispatch drafts.

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

Cryptographically wraps evidence and prepares customer drafts; does not transmit unverified claims or alter customs declarations.

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

  • Parse customs inspection discrepancy logs and wood packaging fumigation flags from terminal gate exception timestamps.

  • Correlate phytosanitary incident logs with bill of lading consignee records and regional agricultural import limits.

  • Wrap incident photos and inspection receipts into a verifiable OpenAttestation document envelope.

  • Draft clear plain-language consignee exception notices with estimated fumigation delay and actionable next steps.

Resources and assets

Reference links and supporting material

Dataset notes

Use open-attestation npm schema libraries with JSON data. Note: The provided examples are simplified synthetic app records, not complete official schema files. 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
  • Parse customs inspection discrepancy logs and wood packaging fumigation flags from terminal gate exception...
  • Wraps phytosanitary exception incident data into a valid OpenAttestation v2 schema payload. Computes verifi...
  • An incident triage queue displaying affected container IDs, attached inspection reports, cryptographic wrap...
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 Phytosanitary and Wood Packaging Evidence Synthesizer