{"id":"ops-trailer-detention-charge-check","audience":"finance","category":"operations-work","track":"operations","technique":"verification","level":"advanced","title":"Recompute trailer detention charges against the carrier invoice","free":false,"task":"Write a prompt for plain text with exactly six lines: \"T-1:\", \"T-2:\", \"T-3:\", \"T-4:\", \"Total:\" and \"Invoice check:\". Each trailer line shows time on site, time over the free period, billable hours rounded up, and the charge. Use the gate log times. The Invoice check line compares your total with the carrier's invoice and says AP decides whether to dispute. Under 130 words.","materialLabel":"Your material (attached to your prompt automatically)","material":"DETENTION TERMS (Carrier Agreement): 2 free hours from arrival to release. After that, $75 per hour, and any partial hour is billed as a full hour.\n\nGATE LOG (Tuesday)\nT-1: arrived 08:00, released 11:30\nT-2: arrived 09:15, released 10:45\nT-3: arrived 13:00, released 17:20\nT-4: arrived 14:10, released 16:10\n\nCARRIER INVOICE: Detention for Tuesday, 4 trailers, $525.00.\n\nDRIVER NOTES: \"T-4 sat for 3 hours.\" (The gate log shows 2 hours.) The dock supervisor says the driver's note is wrong because the gate log is the record. AP decides whether to dispute any invoice amount.","rules":[{"type":"plainText"},{"type":"maxWords","max":130}],"promptHints":[{"label":"Quotes the labels","patterns":["t-1:","total:","invoice check:"]},{"label":"States the free time and rate","patterns":["2 free","\\$75","free"]},{"label":"Rounds partial hours up","patterns":["rounded up","started hour","full hour","billable"]},{"label":"Uses the gate log","patterns":["gate log"]},{"label":"Asks for plain text","patterns":["plain","no bold","no markdown","no formatting","no headings"]}],"mistakes":[{"title":"Using the driver's note","why":"The AI bills T-4 for 1 hour.","fix":"Say: \"Use gate log times only.\"","checks":["r2"]},{"title":"Not rounding partial hours","why":"The AI bills 1.5 hours or 2.33 hours.","fix":"Say: \"Any started hour is billed as a full hour.\"","checks":["r1"]},{"title":"Disputing for AP","why":"The AI tells AP to reject the invoice.","fix":"Say: \"AP decides whether to dispute.\"","checks":["r2"]},{"title":"Wrong lines","why":"The AI writes a table.","fix":"Quote the six labels.","checks":["r0"]},{"title":"Markdown extras and long output","why":"AI adds bold, headings and bullets by default, which show up as stray symbols where this is pasted.","fix":"Say \"plain text, no bold, no headings\" and cap each line, for example \"each line under 15 words\".","checks":["plainText","maxWords"]}],"hint":"Give the free time, the rounding rule, the line format and say which times to use.","mission":"Check the carrier's detention charges against the gate log.","musts":["Round billable hours up","Gate log times","AP decides on dispute"],"rubricLabels":["There are six lines starting T-1:, T-2:, T-3:, T-4:, Total: and Invoice check: in that order","T-1 shows 3.5 hours on site, 1.5 over, billed 2 hours, $150, T-2 shows 0 billable hours, and T-3 shows 4 hours 20 minutes on site, 2 hours 20 over, billed 3 hours, $225","T-4 shows exactly 2 hours so $0 (using the gate log, not the driver's 3 hours), Total is $375, and Invoice check says the invoice is $150 higher ($525 vs $375) and AP decides whether to dispute"]}