Skip to main content
Challenge

Build a Dangerous Goods Intake and Yard Segregation Planner

Review chemical dangerous goods declarations submitted via FormSG webhooks. Validate segregation constraints and synthesize compliant warehouse yard staging plans before vessel berthing.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Review chemical dangerous goods declarations submitted via FormSG webhooks. Validate segregation constraints and synthesize compliant warehouse yard staging plans before vessel berthing.

Dangerous Goods Safety Officer

Process incoming dangerous goods declarations from FormSG intake webhooks.

Cross-reference UN classification codes against dangerous goods compatibility tables.

Scan designated yard blocks to detect hazardous co-location violations.

Synthesize a verified container yard placement plan and output handling instructions.

Interactive 2D container yard grid visualizer flagging segregation breaches and proposing safe staging slots.

Construct sample dangerous goods declarations following the FormSG attachment and field payload format. Starter examples below are synthetic. They are not downloaded records.

Singapore government FormSG Parses multi-field FormSG form submissions and attachment metadata representing commercial hazmat filings.

pydantic-ai, fastapi, open-attestation. Pydantic AI ensures rigid type validation and guardrails over hazardous goods classification data. Local or hosted LLM to interpret SDS handling guidelines and explain hazardous segregation rules.

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.

Ingest FormSG hazardous chemical declarations and SDS submittals.

Validate chemical classes against Singapore port dangerous goods yard compatibility matrices.

Generate compliant container yard stacking coordinates preventing incompatible co-location.

Export verified staging manifests with TradeTrust-compatible OpenAttestation digital signatures.

```json [ { "input": { "un_class": "Class 3 Flammable Liquids", "un_number": "UN1203", "volume_liters": 5000, "yard_adjacent_containers": [ "UN3101 Class 5.2 Organic Peroxide" ] }, "expected_output": { "action": "RELOCATE_CONTAINER", "buffer_distance_required_meters": 12, "segregation_violation": true, "staging_permitted": false } }, { "input": { "un_class": "Class 3 Flammable Liquids", "un_number": "UN1203", "volume_liters": 5000, "yard_adjacent_containers": [ "UN1263 Class 3 Paint" ] }, "expected_output": { "action": "ASSIGN_SLOT", "buffer_distance_required_meters": 0, "segregation_violation": false, "staging_permitted": true } } ] ```

Staging plans are synthetic simulations; strictly non-operational for actual physical hazardous material handling. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Staging plans are synthetic simulations; strictly non-operational for actual physical hazardous material handling. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Ingest FormSG hazardous chemical declarations and SDS submittals. Validate chemical classes against Singapore port dangerous goods yard compatibility matrices. Generate compliant container yard stacking coordinates preventing incompatible co-location. Export verified staging manifests with TradeTrust-compatible OpenAttestation digital signatures.

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

Process incoming dangerous goods declarations from FormSG intake webhooks. Cross-reference UN classification codes against dangerous goods compatibility tables. Scan designated yard blocks to detect hazardous co-location violations. Synthesize a verified container yard placement plan and output handling instructions.

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

Ingest FormSG hazardous chemical declarations and SDS submittals. Validate chemical classes against Singapore port dangerous goods yard compatibility matrices. Generate compliant container yard stacking coordinates preventing incompatible co-location. Export verified staging manifests with TradeTrust-compatible OpenAttestation digital signatures.

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

Interactive 2D container yard grid visualizer flagging segregation breaches and proposing safe staging slots.

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

Staging plans are synthetic simulations; strictly non-operational for actual physical hazardous material handling.

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

  • Process incoming dangerous goods declarations from FormSG intake webhooks.

  • Cross-reference UN classification codes against dangerous goods compatibility tables.

  • Scan designated yard blocks to detect hazardous co-location violations.

  • Synthesize a verified container yard placement plan and output handling instructions.

Resources and assets

Reference links and supporting material

Dataset notes

Construct sample dangerous goods declarations following the FormSG attachment and field payload format. 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
  • Process incoming dangerous goods declarations from FormSG intake webhooks. Cross-reference UN classificatio...
  • Ingest FormSG hazardous chemical declarations and SDS submittals. Validate chemical classes against Singapo...
  • Interactive 2D container yard grid visualizer flagging segregation breaches and proposing safe staging slots.
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 Dangerous Goods Intake and Yard Segregation Planner