Skip to main content
Challenge

Build a Cold-Chain Pharma Handover Compliance and Dispute Dossier Compiler

Inspect overland reefer telemetry between Malaysia and Singapore for temperature non-compliance. Compile verifiable OpenAttestation proof packs and generate carrier dispute notifications.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Inspect overland reefer telemetry between Malaysia and Singapore for temperature non-compliance. Compile verifiable OpenAttestation proof packs and generate carrier dispute notifications.

Pharmaceutical distribution quality auditor

Parse IoT datalogger dumps from incoming reefer pharmaceutical shipments at Woodlands Checkpoint.

Correlate recorded temperatures against defined Good Distribution Practice (GDP) tolerances.

Execute OpenAttestation wrapDocuments to create a cryptographic proof bundle of the raw telemetry.

Generate a structured carrier non-conformance notice itemizing temperature spikes and custody handoffs.

Audit interface featuring GDP tolerance band visualizations, excursion duration counters, and OpenAttestation document signing triggers.

Synthesize simulated pharmaceutical reefer log files alongside OpenAttestation 2.0 schemas from source 2. Starter examples below are synthetic. They are not downloaded records.

OpenAttestation Uses OpenAttestation wrapDocuments and signDocument utilities to notarize cold-chain audit evidence.

mastra-ai, @govtechsg/open-attestation, typescript. Mastra AI coordinates multi-step validation agents handling sensor processing, crypto attestation, and dispute drafting. Hosted reasoning model capable of analyzing GDP compliance rules and writing precise formal dispute notices.

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.

Parses ISO 8601 timestamps and Celsius temperature telemetry records.

Flags MKT (Mean Kinetic Temperature) threshold violations above permissible pharma levels.

Computes Merkle root and target hash adhering to OpenAttestation 2.0 schema rules.

Synthesizes structured dispute dossiers with explicit timestamp references.

```json [ { "input": { "shipment_id": "PH-BIO-2025-081", "temperature_band": "2-8C", "telemetry": [ { "ts": "2025-06-01T04:00:00Z", "celsius": 4.1 }, { "ts": "2025-06-01T05:00:00Z", "celsius": 11.4 }, { "ts": "2025-06-01T06:30:00Z", "celsius": 9.8 } ], "carrier_id": "CARRIER-TRANS-9" }, "expected_output": { "compliance_violation": true, "max_spike_celsius": 11.4, "excursion_minutes": 150, "oa_merkle_generated": true, "action": "DISPUTE_NOTICE_ISSUED" } }, { "input": { "shipment_id": "PH-BIO-2025-082", "temperature_band": "2-8C", "telemetry": [ { "ts": "2025-06-01T04:00:00Z", "celsius": 3.8 }, { "ts": "2025-06-01T05:00:00Z", "celsius": 4.2 } ], "carrier_id": "CARRIER-TRANS-9" }, "expected_output": { "compliance_violation": false, "max_spike_celsius": 4.2, "excursion_minutes": 0, "oa_merkle_generated": false, "action": "RELEASE_SHIPMENT" } } ] ```

Simulates cold-chain quality quarantine orders; does not trigger physical destruction of medical assets. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Simulates cold-chain quality quarantine orders; does not trigger physical destruction of medical assets. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Parses ISO 8601 timestamps and Celsius temperature telemetry records. Flags MKT (Mean Kinetic Temperature) threshold violations above permissible pharma levels. Computes Merkle root and target hash adhering to OpenAttestation 2.0 schema rules. Synthesizes structured dispute dossiers with explicit timestamp references.

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 IoT datalogger dumps from incoming reefer pharmaceutical shipments at Woodlands Checkpoint. Correlate recorded temperatures against defined Good Distribution Practice (GDP) tolerances. Execute OpenAttestation wrapDocuments to create a cryptographic proof bundle of the raw telemetry. Generate a structured carrier non-conformance notice itemizing temperature spikes and custody handoffs.

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

Parses ISO 8601 timestamps and Celsius temperature telemetry records. Flags MKT (Mean Kinetic Temperature) threshold violations above permissible pharma levels. Computes Merkle root and target hash adhering to OpenAttestation 2.0 schema rules. Synthesizes structured dispute dossiers with explicit timestamp references.

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

Audit interface featuring GDP tolerance band visualizations, excursion duration counters, and OpenAttestation document signing triggers.

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

Simulates cold-chain quality quarantine orders; does not trigger physical destruction of medical assets.

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 IoT datalogger dumps from incoming reefer pharmaceutical shipments at Woodlands Checkpoint.

  • Correlate recorded temperatures against defined Good Distribution Practice (GDP) tolerances.

  • Execute OpenAttestation wrapDocuments to create a cryptographic proof bundle of the raw telemetry.

  • Generate a structured carrier non-conformance notice itemizing temperature spikes and custody handoffs.

Resources and assets

Reference links and supporting material

Dataset notes

Synthesize simulated pharmaceutical reefer log files alongside OpenAttestation 2.0 schemas from source 2. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Mastra AI

TypeScript agent framework.

Evaluated output

No output checks are configured.

Evaluation checks
  • Parse IoT datalogger dumps from incoming reefer pharmaceutical shipments at Woodlands Checkpoint. Correlate...
  • Parses ISO 8601 timestamps and Celsius temperature telemetry records. Flags MKT (Mean Kinetic Temperature)...
  • Audit interface featuring GDP tolerance band visualizations, excursion duration counters, and OpenAttestati...
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
  • Mastra AI · Optional
Orchestration
  • Mastra 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 Cold-Chain Pharma Handover Compliance and Dispute Dossier Compiler