Build a FormSG Chemical Compatibility and OpenAttestation Staging Receipt Issuer
Process chemical cargo declarations submitted via FormSG against Singapore dangerous goods segregation rules. Issue OpenAttestation verified warehouse yard staging receipts indicating designated isolation bays and safe storage compliance.
What you are building
The core problem, expected build, and operating context for this challenge.
Process chemical cargo declarations submitted via FormSG against Singapore dangerous goods segregation rules. Issue OpenAttestation verified warehouse yard staging receipts indicating designated isolation bays and safe storage compliance.
Warehouse hazardous materials compliance officer
Receive hazardous chemical cargo declarations and UN classification details via FormSG webhook payloads.
Evaluate cargo compatibility against rigorous dangerous goods segregation matrices using structural reasoning tools.
Allocate specific warehouse quarantine or staging bays based on identified safety buffer requirements.
Generate and cryptographically issue an OpenAttestation wrapped staging receipt for compliant chemical storage.
Warehouse bay allocation grid with OpenAttestation receipt generation panel, highlighting chemical compatibility warnings.
Mock FormSG webhook payloads with chemical properties; standard IMO dangerous goods segregation tables. Starter examples below are synthetic. They are not downloaded records.
Singapore government FormSG Utilizes FormSG webhook payloads to ingest structured chemical storage requests for downstream staging verification.
pydantic-ai, fastapi, open-attestation. Pydantic AI enables type-safe tool calling to validate hazardous goods matrix rules and construct verifiable OpenAttestation schema payloads. Reasoning model capable of strict schema adherence to evaluate dangerous goods matrices.
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.
Validates chemical classes and flashpoint requirements from FormSG inputs.
Correctly denies storage for incompatible chemical classes.
Produces a valid OpenAttestation schema JSON staging receipt upon successful bay allocation.
```json [ { "input": { "intake_submission_id": "DG-882", "un_number": "UN1203", "hazard_class": "3", "adjacent_assigned_class": "5.1" }, "expected_output": { "segregation_check": "INCOMPATIBLE_HAZARD", "violation_reason": "Class 3 Flammable Liquid cannot be stored adjacent to Class 5.1 Oxidizing Substances", "attestation_issued": false, "record_type": "Simplified synthetic app record" } }, { "input": { "intake_submission_id": "DG-883", "un_number": "UN1993", "hazard_class": "3", "adjacent_assigned_class": "3" }, "expected_output": { "segregation_check": "COMPATIBLE", "violation_reason": null, "attestation_issued": true, "record_type": "Simplified synthetic app record" } } ] ```
Produces simulated receipts and staging plans; requires human oversight and does not automate physical facility interlocks. Use mock external writes. Require human review before any real deployment.
Participation guide
Produces simulated receipts and staging plans; requires human oversight and does not automate physical facility interlocks. Use mock external writes and human review.
How work is evaluated
Validates chemical classes and flashpoint requirements from FormSG inputs. Correctly denies storage for incompatible chemical classes. Produces a valid OpenAttestation schema JSON staging receipt upon successful bay allocation.
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
Receive hazardous chemical cargo declarations and UN classification details via FormSG webhook payloads. Evaluate cargo compatibility against rigorous dangerous goods segregation matrices using structural reasoning tools. Allocate specific warehouse quarantine or staging bays based on identified safety buffer requirements. Generate and cryptographically issue an OpenAttestation wrapped staging receipt for compliant chemical storage.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Validates chemical classes and flashpoint requirements from FormSG inputs. Correctly denies storage for incompatible chemical classes. Produces a valid OpenAttestation schema JSON staging receipt upon successful bay allocation.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
Warehouse bay allocation grid with OpenAttestation receipt generation panel, highlighting chemical compatibility warnings.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Produces simulated receipts and staging plans; requires human oversight and does not automate physical facility interlocks.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Receive hazardous chemical cargo declarations and UN classification details via FormSG webhook payloads.
Evaluate cargo compatibility against rigorous dangerous goods segregation matrices using structural reasoning tools.
Allocate specific warehouse quarantine or staging bays based on identified safety buffer requirements.
Generate and cryptographically issue an OpenAttestation wrapped staging receipt for compliant chemical storage.
Reference links and supporting material
Mock FormSG webhook payloads with chemical properties; standard IMO dangerous goods segregation tables. 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.
- Receive hazardous chemical cargo declarations and UN classification details via FormSG webhook payloads. Ev...
- Validates chemical classes and flashpoint requirements from FormSG inputs. Correctly denies storage for inc...
- Warehouse bay allocation grid with OpenAttestation receipt generation panel, highlighting chemical compatib...
- 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.