Build a Cross-Border Temperature Excursion Evidence and Cargo Notice Hub
Parse cold-chain IoT temperature records during overland transit between Malaysia and Singapore. Bundle temperature breaches into verifiable TradeTrust packages and generate consignee spoilage risk notifications.
What you are building
The core problem, expected build, and operating context for this challenge.
Parse cold-chain IoT temperature records during overland transit between Malaysia and Singapore. Bundle temperature breaches into verifiable TradeTrust packages and generate consignee spoilage risk notifications.
Perishable Cargo Quality Inspector
Ingest IoT temperature data streams and checkpoint timestamp logs for reefer transport trucks.
Identify sustained temperature excursion events exceeding product perishability thresholds.
Wrap raw sensor records and breach telemetry into an OpenAttestation verifiable certificate.
Synthesize an urgent consignee cargo status bulletin detailing spoilage risks and quarantine instructions.
A cold-chain monitor displaying transit temperature curves, breach interval highlights, OpenAttestation document hashes, and client notice previews.
Use mock IoT sensor logs alongside official @govtechsg/open-attestation schemas for certificate packaging. Starter examples below are synthetic. They are not downloaded records.
OpenAttestation Employ OpenAttestation wrapping and signature verification methods to authenticate cold-chain excursion logs.
mastra-ai, @govtechsg/open-attestation, typescript. Mastra AI manages end-to-end data transformation workflows and schema validations with typed agent state. Hosted reasoning model capable of synthesizing technical quarantine briefs.
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.
Flags cumulative temperature excursions over 4°C exceeding 30 continuous minutes.
Generates OpenAttestation v2 wrapped document containing uncorrupted raw telemetry hashes.
Drafts quarantine advisories for high-risk perishable cargo items.
Requires supervisor review before marking cargo as cleared or quarantined.
```json [ { "input": { "trip_id": "TRIP-KL-SG-091", "cargo_type": "fresh_vaccines", "temp_threshold_max": 8, "recorded_peak_temp": 14.2, "excursion_duration_min": 55, "checkpoint_arrival": "Woodlands Checkpoint" }, "expected_output": { "quarantine_recommended": true, "breach_severity": "critical", "oa_merkle_root": "0x12ab89cd45ef670123456789abcdef0123456789abcdef0123456789abcdef01", "notice_headline": "Critical Cold-Chain Breach: Mandatory Quarantine at Woodlands Checkpoint", "actionable_steps": [ "Do not break container pallet seals", "Transfer cargo to port-adjacent cold store at -20C", "Initiate manufacturer quality testing" ] } }, { "input": { "trip_id": "TRIP-KL-SG-092", "cargo_type": "citrus_fruits", "temp_threshold_max": 10, "recorded_peak_temp": 9.2, "excursion_duration_min": 10, "checkpoint_arrival": "Tuas Checkpoint" }, "expected_output": { "quarantine_recommended": false, "breach_severity": "none", "oa_merkle_root": "0x56ef0123456789abcdef0123456789abcdef0123456789abcdef0123456789ab", "notice_headline": "Cold-Chain Integrity Verified: Normal Ingestion Permitted", "actionable_steps": [ "Proceed with regular warehouse intake", "Archive telemetry certificate in TradeTrust repository" ] } } ] ```
Generates verifiable incident records; does not condemn or dispose of physical pharmaceutical or food cargo. Use mock external writes. Require human review before any real deployment.
Participation guide
Generates verifiable incident records; does not condemn or dispose of physical pharmaceutical or food cargo. Use mock external writes and human review.
How work is evaluated
Flags cumulative temperature excursions over 4°C exceeding 30 continuous minutes. Generates OpenAttestation v2 wrapped document containing uncorrupted raw telemetry hashes. Drafts quarantine advisories for high-risk perishable cargo items. Requires supervisor review before marking cargo as cleared or quarantined.
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
Ingest IoT temperature data streams and checkpoint timestamp logs for reefer transport trucks. Identify sustained temperature excursion events exceeding product perishability thresholds. Wrap raw sensor records and breach telemetry into an OpenAttestation verifiable certificate. Synthesize an urgent consignee cargo status bulletin detailing spoilage risks and quarantine instructions.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Correctness and evidence
Flags cumulative temperature excursions over 4°C exceeding 30 continuous minutes. Generates OpenAttestation v2 wrapped document containing uncorrupted raw telemetry hashes. Drafts quarantine advisories for high-risk perishable cargo items. Requires supervisor review before marking cargo as cleared or quarantined.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Review interface
A cold-chain monitor displaying transit temperature curves, breach interval highlights, OpenAttestation document hashes, and client notice previews.
Missing or incorrect.
Partly complete, with documented gaps.
Complete, with reproducible evidence.
Safe execution
Generates verifiable incident records; does not condemn or dispose of physical pharmaceutical or food cargo.
This dimension contributes its full weight only when the submission satisfies the requirement. Partial credit is not awarded.
What you should walk away with
Ingest IoT temperature data streams and checkpoint timestamp logs for reefer transport trucks.
Identify sustained temperature excursion events exceeding product perishability thresholds.
Wrap raw sensor records and breach telemetry into an OpenAttestation verifiable certificate.
Synthesize an urgent consignee cargo status bulletin detailing spoilage risks and quarantine instructions.
Reference links and supporting material
Use mock IoT sensor logs alongside official @govtechsg/open-attestation schemas for certificate packaging. 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.
- Ingest IoT temperature data streams and checkpoint timestamp logs for reefer transport trucks. Identify sus...
- Flags cumulative temperature excursions over 4°C exceeding 30 continuous minutes. Generates OpenAttestation...
- A cold-chain monitor displaying transit temperature curves, breach interval highlights, OpenAttestation doc...
- 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
- Mastra AI · Optional
- 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.