Skip to main content
Challenge

Build a Cold-Chain IoT Telemetry and OpenAttestation Claim Packager

Orchestrate reefer container IoT telemetry logs against handover boundaries during port transfer using Mastra AI. Compile and output verifiable claim dossiers formatted in OpenAttestation cryptographic wrapping for cargo insurance adjusters.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Orchestrate reefer container IoT telemetry logs against handover boundaries during port transfer using Mastra AI. Compile and output verifiable claim dossiers formatted in OpenAttestation cryptographic wrapping for cargo insurance adjusters.

Maritime insurance claims officer

Ingest synthetic IoT temperature time-series logs and port gate interchange timestamps for refrigerated container handoffs.

Evaluate cumulative degree-minute excursions exceeding pharmaceutical or frozen food thresholds using a Mastra AI orchestrated workflow.

Calculate financial loss estimates based on cargo invoice line items, mapping physical container custody to specific transport legs.

Wrap the compiled evidence dossier into an OpenAttestation verifiable document using a cryptographic merkle root.

Command-line claim packager outputting verifiable OpenAttestation JSON dossiers and a summary report of custody breaches.

Synthetic CSV datasets of hourly reefer temperature readings, terminal handoff timestamps, and simplified cargo invoices. Note: Dataset and examples reflect simplified synthetic app records, not complete official schema files. Starter examples below are synthetic. They are not downloaded records.

OpenAttestation Uses OpenAttestation's wrapDocuments mechanism to produce cryptographically rooted claim dossiers with merkleRoot hashes.

mastra-ai, pydantic, fastapi. Mastra AI orchestrates multi-step claim workflow graphs with deterministic telemetry validation and automated document wrapping. Hosted reasoning model capable of analyzing tabular telemetry logs and structuring claim narratives.

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.

Detects sustained thermal excursions exceeding specified SLA margins over consecutive hourly readings.

Calculates total breach duration and assigns financial liability to the correct physical container custody leg.

Generates a valid OpenAttestation wrapped JSON dossier containing calculated damages, merkle root, and event logs.

```json [ { "input": { "consignment_id": "REEF-9920", "temperature_sla_max_c": -18, "declared_cargo_value_sgd": 150000, "telemetry_readings": [ { "timestamp": "2025-02-10T08:00:00Z", "temp_c": -19.2, "custody": "Vessel Discharge" }, { "timestamp": "2025-02-10T10:00:00Z", "temp_c": -14.1, "custody": "Tanjung Pagar Yard Staging" }, { "timestamp": "2025-02-10T12:00:00Z", "temp_c": -12.5, "custody": "Tanjung Pagar Yard Staging" }, { "timestamp": "2025-02-10T14:00:00Z", "temp_c": -18.5, "custody": "Warehouse Intake" } ] }, "expected_output": { "breach_detected": true, "total_breach_hours": 4, "max_recorded_temp_c": -12.5, "liable_custody_party": "Tanjung Pagar Yard Staging", "claim_eligibility": "ACTIONABLE", "recommended_reserve_sgd": 45000, "oa_bundle_ready": true } }, { "input": { "consignment_id": "REEF-9921", "temperature_sla_max_c": 4, "declared_cargo_value_sgd": 85000, "telemetry_readings": [ { "timestamp": "2025-02-11T01:00:00Z", "temp_c": 3.1, "custody": "Pasir Panjang Terminal" }, { "timestamp": "2025-02-11T02:00:00Z", "temp_c": 3.5, "custody": "Pasir Panjang Terminal" } ] }, "expected_output": { "breach_detected": false, "total_breach_hours": 0, "max_recorded_temp_c": 3.5, "liable_custody_party": "NONE", "claim_eligibility": "INELIGIBLE_NO_BREACH", "recommended_reserve_sgd": 0, "oa_bundle_ready": false } } ] ```

Calculates mock claims without transmitting binding settlement orders or contacting real underwriters. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Calculates mock claims without transmitting binding settlement orders or contacting real underwriters. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Detects sustained thermal excursions exceeding specified SLA margins over consecutive hourly readings. Calculates total breach duration and assigns financial liability to the correct physical container custody leg. Generates a valid OpenAttestation wrapped JSON dossier containing calculated damages, merkle root, and event logs.

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

Ingest synthetic IoT temperature time-series logs and port gate interchange timestamps for refrigerated container handoffs. Evaluate cumulative degree-minute excursions exceeding pharmaceutical or frozen food thresholds using a Mastra AI orchestrated workflow. Calculate financial loss estimates based on cargo invoice line items, mapping physical container custody to specific transport legs. Wrap the compiled evidence dossier into an OpenAttestation verifiable document using a cryptographic merkle root.

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

Detects sustained thermal excursions exceeding specified SLA margins over consecutive hourly readings. Calculates total breach duration and assigns financial liability to the correct physical container custody leg. Generates a valid OpenAttestation wrapped JSON dossier containing calculated damages, merkle root, and event logs.

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

Command-line claim packager outputting verifiable OpenAttestation JSON dossiers and a summary report of custody breaches.

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

Calculates mock claims without transmitting binding settlement orders or contacting real underwriters.

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

  • Ingest synthetic IoT temperature time-series logs and port gate interchange timestamps for refrigerated container handoffs.

  • Evaluate cumulative degree-minute excursions exceeding pharmaceutical or frozen food thresholds using a Mastra AI orchestrated workflow.

  • Calculate financial loss estimates based on cargo invoice line items, mapping physical container custody to specific transport legs.

  • Wrap the compiled evidence dossier into an OpenAttestation verifiable document using a cryptographic merkle root.

Resources and assets

Reference links and supporting material

Dataset notes

Synthetic CSV datasets of hourly reefer temperature readings, terminal handoff timestamps, and simplified cargo invoices. Note: Dataset and examples reflect simplified synthetic app records, not complete official schema files. 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
  • Ingest synthetic IoT temperature time-series logs and port gate interchange timestamps for refrigerated con...
  • Detects sustained thermal excursions exceeding specified SLA margins over consecutive hourly readings. Calc...
  • Command-line claim packager outputting verifiable OpenAttestation JSON dossiers and a summary report of cus...
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 IoT Telemetry and OpenAttestation Claim Packager