Skip to main content
Challenge

Build a Port Heavy Vehicle Staging and Parking Allocator

Monitor Singapore public heavy vehicle park availability to plan pre-gate container truck staging. Allocate buffer parking slots to prevent congestion on port arterial corridors.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Monitor Singapore public heavy vehicle park availability to plan pre-gate container truck staging. Allocate buffer parking slots to prevent congestion on port arterial corridors.

Logistics Yard Master

Retrieve real-time heavy vehicle parking lot availability from data.gov.sg.

Compare incoming hauler arrival forecasts against port gate booking windows.

Determine optimal staging wait periods to prevent terminal gateway queuing.

Allocate nearby parking slots and dispatch staging notifications to haulers.

Real-time staging map showing heavy vehicle park lot availability and scheduled hauler staging assignments.

Query heavy vehicle parking availability endpoints via data.gov.sg or local JSON sandbox fixtures. Starter examples below are synthetic. They are not downloaded records.

Singapore open data API Consumes Singapore data.gov.sg public heavy vehicle parking collection and dataset APIs.

mastra-ai, pydantic, httpx. Mastra AI orchestrates live telemetry streams, resource allocation tools, and dispatch state machines effectively. Lightweight model for generating concise driver dispatch instructions in English and Mandarin.

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.

Ingest live heavy vehicle park occupancy rates from public data APIs.

Correlate prime mover arrival times with assigned container terminal gate appointments.

Allocate staging rest-stop slots in port-adjacent logistics parks to prevent highway shoulder queuing.

Issue automated routing updates to truck drivers via dispatch telemetry feeds.

```json [ { "input": { "driver_eta": "15:00", "gate_booking_slot": "16:30", "park_capacities": [ { "available_lots": 8, "park_id": "HVP-JURONG-EAST" }, { "available_lots": 0, "park_id": "HVP-TUAS-AVE-1" } ], "truck_id": "SGX-5510-K" }, "expected_output": { "assigned_staging_park": "HVP-JURONG-EAST", "buffer_duration_minutes": 60, "recommendation": "STAGE_AT_BUFFER_LOT", "status": "ALLOCATED" } }, { "input": { "driver_eta": "15:45", "gate_booking_slot": "16:00", "park_capacities": [ { "available_lots": 5, "park_id": "HVP-TUAS-AVE-1" } ], "truck_id": "SGX-5511-L" }, "expected_output": { "assigned_staging_park": null, "buffer_duration_minutes": 0, "recommendation": "PROCEED_DIRECT_TO_TERMINAL", "status": "DIRECT_GATE_IN" } } ] ```

Provides dispatch guidance only; drivers follow actual physical signage and municipal road rules. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Provides dispatch guidance only; drivers follow actual physical signage and municipal road rules. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Ingest live heavy vehicle park occupancy rates from public data APIs. Correlate prime mover arrival times with assigned container terminal gate appointments. Allocate staging rest-stop slots in port-adjacent logistics parks to prevent highway shoulder queuing. Issue automated routing updates to truck drivers via dispatch telemetry feeds.

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

Retrieve real-time heavy vehicle parking lot availability from data.gov.sg. Compare incoming hauler arrival forecasts against port gate booking windows. Determine optimal staging wait periods to prevent terminal gateway queuing. Allocate nearby parking slots and dispatch staging notifications to haulers.

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

Ingest live heavy vehicle park occupancy rates from public data APIs. Correlate prime mover arrival times with assigned container terminal gate appointments. Allocate staging rest-stop slots in port-adjacent logistics parks to prevent highway shoulder queuing. Issue automated routing updates to truck drivers via dispatch telemetry feeds.

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

Real-time staging map showing heavy vehicle park lot availability and scheduled hauler staging assignments.

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

Provides dispatch guidance only; drivers follow actual physical signage and municipal road rules.

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

  • Retrieve real-time heavy vehicle parking lot availability from data.gov.sg.

  • Compare incoming hauler arrival forecasts against port gate booking windows.

  • Determine optimal staging wait periods to prevent terminal gateway queuing.

  • Allocate nearby parking slots and dispatch staging notifications to haulers.

Resources and assets

Reference links and supporting material

Dataset notes

Query heavy vehicle parking availability endpoints via data.gov.sg or local JSON sandbox fixtures. 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
  • Retrieve real-time heavy vehicle parking lot availability from data.gov.sg. Compare incoming hauler arrival...
  • Ingest live heavy vehicle park occupancy rates from public data APIs. Correlate prime mover arrival times w...
  • Real-time staging map showing heavy vehicle park lot availability and scheduled hauler staging assignments.
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 Port Heavy Vehicle Staging and Parking Allocator