Determines on-time-performance status for a completed delivery and routes it to the correct scorecard action, excusing documented delays and flagging repeated consecutive misses. For freight teams reviewing completed deliveries against the contracted on-time window.
Parity returns a Otp status — one of: On time, Late, Excused delay.
| Output | Type | |
|---|---|---|
| Otp status | string | — one of: On time, Late, Excused delay |
| Delay hours | numeric | |
| Performance action | string | — one of: Document on time delivery update scorecard, Document late delivery update carrier scorecard, Escalate scorecard flag review three or more consecutive late deliveries, Document excused delay exclude from scorecard calculation |
| Scorecard flag triggered | string | — one of: True, False |
| Action required | string |
| Input | Type | |
|---|---|---|
| Shipment id | string · required | |
| Carrier id | string · required | |
| Delay hours | numeric · required | |
| On time window hours | numeric · required | |
| Delay reason code | string · required | |
| Consecutive late deliveries | numeric · required |
Compiled, deterministic, and auditable — the logic is confirmed once by a human, then runs byte-identically every time. No spreadsheets, no code.