Skip to main content
Challenge

Build a Port Congestion Demurrage and Detention Evidence Compiler

Process electronic container gate-in timestamps and terminal queue notifications to verify detention fee liabilities. Formulate structured demurrage dispute packages with tamper-proof delivery proof attestations.

Business OperationsHosted by Vera
Challenge brief

What you are building

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

Process electronic container gate-in timestamps and terminal queue notifications to verify detention fee liabilities. Formulate structured demurrage dispute packages with tamper-proof delivery proof attestations.

Import logistics operational manager

Ingest carrier demurrage invoices, free-time contractual terms, and terminal container movement logs.

Identify gate congestion events and terminal handling hold-ups outside the importer's direct control.

Recalculate billable detention days by subtracting documented port disruption intervals.

Assemble structured dispute dossiers with verifiable OpenAttestation proof-of-delivery attachments.

Dispute timeline viewer showing allowable free days, carrier asserted charges, adjusted billable hours, and evidence links.

Mock dataset of carrier detention invoices, terminal interchange receipts, and terminal congestion incident logs. Starter examples below are synthetic. They are not downloaded records.

TradeTrust Implements TradeTrust document verification UI principles and CLI document handling patterns for dispute evidence.

haystack, pydantic, open-attestation. Haystack provides document extraction and retrieval pipelines that cross-reference shipping clauses against operational terminal logs. API-based model capable of contractual clause extraction and drafting formal dispute justification letters.

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.

Accurately extracts contracted container free-time allowances from simulated ocean carrier bills.

Calculates net billable demurrage hours after deducting documented terminal system outages.

Formats disputable amounts into itemized cost schedules with attached cryptographic proofs.

Stores dispute drafts in an internal queue for operational sign-off without transmitting live carrier claims.

```json [ { "input": { "container_number": "MSKU7654321", "carrier_name": "Pacific Line", "free_time_days": 5, "discharged_at": "2025-01-01T08:00:00Z", "gated_out_at": "2025-01-09T18:00:00Z", "documented_terminal_closure_hours": 36, "daily_rate_usd": 120 }, "expected_output": { "gross_days_on_dock": 8.42, "adjusted_days_on_dock": 6.92, "billable_demurrage_days": 1.92, "carrier_invoiced_usd": 410.4, "adjusted_liability_usd": 230.4, "disputed_amount_usd": 180, "dispute_recommendation": "SUBMIT_PARTIAL_CONTESTATION" } }, { "input": { "container_number": "TGHU1234567", "carrier_name": "Ocean Carrier Co", "free_time_days": 7, "discharged_at": "2025-01-10T10:00:00Z", "gated_out_at": "2025-01-15T12:00:00Z", "documented_terminal_closure_hours": 0, "daily_rate_usd": 150 }, "expected_output": { "gross_days_on_dock": 5.08, "adjusted_days_on_dock": 5.08, "billable_demurrage_days": 0, "carrier_invoiced_usd": 0, "adjusted_liability_usd": 0, "disputed_amount_usd": 0, "dispute_recommendation": "NO_DISPUTE_CLEAR" } } ] ```

Generates internal claim prep dossiers only; no binding automated dispute submissions to ocean shipping carriers. Use mock external writes. Require human review before any real deployment.

Rules

Participation guide

Generates internal claim prep dossiers only; no binding automated dispute submissions to ocean shipping carriers. Use mock external writes and human review.

Delivery guide

How work is evaluated

Evaluation

Accurately extracts contracted container free-time allowances from simulated ocean carrier bills. Calculates net billable demurrage hours after deducting documented terminal system outages. Formats disputable amounts into itemized cost schedules with attached cryptographic proofs. Stores dispute drafts in an internal queue for operational sign-off without transmitting live carrier claims.

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 carrier demurrage invoices, free-time contractual terms, and terminal container movement logs. Identify gate congestion events and terminal handling hold-ups outside the importer's direct control. Recalculate billable detention days by subtracting documented port disruption intervals. Assemble structured dispute dossiers with verifiable OpenAttestation proof-of-delivery attachments.

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

Accurately extracts contracted container free-time allowances from simulated ocean carrier bills. Calculates net billable demurrage hours after deducting documented terminal system outages. Formats disputable amounts into itemized cost schedules with attached cryptographic proofs. Stores dispute drafts in an internal queue for operational sign-off without transmitting live carrier claims.

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

Dispute timeline viewer showing allowable free days, carrier asserted charges, adjusted billable hours, and evidence links.

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

Generates internal claim prep dossiers only; no binding automated dispute submissions to ocean shipping carriers.

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 carrier demurrage invoices, free-time contractual terms, and terminal container movement logs.

  • Identify gate congestion events and terminal handling hold-ups outside the importer's direct control.

  • Recalculate billable detention days by subtracting documented port disruption intervals.

  • Assemble structured dispute dossiers with verifiable OpenAttestation proof-of-delivery attachments.

Resources and assets

Reference links and supporting material

Dataset notes

Mock dataset of carrier detention invoices, terminal interchange receipts, and terminal congestion incident logs. Supplied starter examples are synthetic, not source extracts.

Challenge setup

Configuration summary for this challenge.

Challenge input

Input details are not configured.

Haystack

Framework

Evaluated output

No output checks are configured.

Evaluation checks
  • Ingest carrier demurrage invoices, free-time contractual terms, and terminal container movement logs. Ident...
  • Accurately extracts contracted container free-time allowances from simulated ocean carrier bills. Calculate...
  • Dispute timeline viewer showing allowable free days, carrier asserted charges, adjusted billable hours, and...
Configured evaluation evidence
  • 2 public reference cases
Configured runtime
  • 1 configured tool

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
  • Haystack · 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 Congestion Demurrage and Detention Evidence Compiler