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.
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.
Participation guide
Staging plans are synthetic simulations; strictly non-operational for actual physical hazardous material handling. Use mock external writes and human review.
How work is evaluated
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.
Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.
Challenge datasets
Public datasets, plus the private datasets you have access to.
How submissions are scored
These dimensions define what the evaluator checks and which criteria separate a passable run from a strong one.
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.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
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.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
Interactive 2D container yard grid visualizer flagging segregation breaches and proposing safe staging slots.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Staging plans are synthetic simulations; strictly non-operational for actual physical hazardous material handling.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
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.
Reference links and supporting material
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.
- 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.
- 2 public reference cases
- 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
- Pydantic AI · Optional
- 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.