Skip to main content
Loading navigation

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.

Business OperationsHosted by Vera

What you are building

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.

Rules

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

Evaluation

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.

Submission format

Runnable source, pinned dependencies, setup commands, working interface, example outputs, recorded demo, tests, and action logs.

Datasets

Public datasets, plus the private datasets you have access to.

How submissions are scored

Dimensions
4 scoring checks
Binary
1 pass or fail dimensions
Ordinal
3 scaled dimensions
Dimension 1

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.

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

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.

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

Warehouse bay allocation grid with OpenAttestation receipt generation panel, highlighting chemical compatibility warnings.

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

Produces simulated receipts and staging plans; requires human oversight and does not automate physical facility interlocks.

Binary check

This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.

Learning goals

  • 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.

Resources

Dataset notes

Mock FormSG webhook payloads with chemical properties; standard IMO dangerous goods segregation tables. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Challenge input

Input details are not configured.

Pydantic AI

Typed Python agent framework.

Evaluated output

No output checks are configured.

Evaluation checks
  • 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...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 2 configured tools

Shows the first task, up to three tools, and up to three evidence 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 FormSG Chemical Compatibility and OpenAttestation Staging Receipt Issuer