Skip to main content
Loading navigation

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

What you are building

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

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

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

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

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

  • 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

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

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

Shows the first task, up to three tools, and up to three evidence 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